Porting Lib

Porting Lib

Mod

A collection of utilities for porting mods from Forge to Fabric.

Client and server CursedLibraryUtility

22.4k downloads
51 followers
Created2 years ago
Updated19 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
Filter channels...
  • fixed releases being published to the snapshot maven
  • made RegistryObject load value lazily instead of throwing when accessed early
  • fixed config syncing
  • added block, gui_utils, and level_events modules
  • added EntityEventFactory
  • added PieceBeardifierModifier
  • handle IEntityAdditionalSpawnData at the same time Forge does, fixes issues with packet ordering
  • updated ProjectileImpactEvent
  • partially implemented a creative tab API
  • added LivingEntityEvents.CHANGE_TARGET
  • fixed a crash viewing Porting Lib in Mod Menu
  • fixed behavior of LanguageManagerExtensions
  • improved compatibility of PlayerEvents.BREAK_SPEED
  • added EnumArgument
  • adding command: /porting_lib config

Switch to @ModifyVariable to produce better bytecode

  • @Inject + @WrapOperation worked but the output was pretty bad, this change does what it used to but in a cleaner way

Switch to @Share

Properly set the field

LivingChangeTargetEvent

actually use the render type hint

  • improve compatibility with other mods injecting into loot tables
  • Improve compatibility with other mods adding attributes to players
  • Implement ShieldBlockEvent
  • Deprecate all of StructureTemplateExtensions, add StructureTemplateUtils
  • Implement shield tool actions
  • Fix broken logic in DualSortedSetIterator
  • Add debug flag (-DportingLib.debug=true)
  • Deprecate LivingEntityEvents.TICK and LivingEntityEvents.ATTACK, replaced with LivingTickEvent and LivingAttackEvent
  • Fix EntityEvents.ENTERING_SECTION being fired every tick
  • Add LivingDamageEvent and LivingHurtEvent
  • Deprecate LivingDeathEvent and LivingEntityEvents.CHECK_SPAWN
  • Implement ITeleporter on vanilla's PortalForcer
  • Add AttackEntityEvent and NeighborNotifyEvent
  • Cleanup of code around CustomParticleIconModel, fix wrong source pos being set for sprint particles

External resources



Project members

alphamode

Owner

tropheusj

Member


Technical information

License
LGPL-2.1-only
Client side
required
Server side
required
Project ID