generated from TropheusJ/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 34
1.20.1 to 1.20.4
AlphaMode edited this page Feb 27, 2024
·
6 revisions
-
ConditionalRecipe
andConditionalAdvancement
- Removed. Use standard alternatives with Fabric resource conditions.
-
ItemPredicateRegistry
- Removed.
ItemPredicate
has been changed to a record and codec'd.
- Removed.
-
CraftingHelper
- Removed. 1.20.4 NeoForge now only uses this class for serializing there ingredients. Which you can just use
Ingredient.CODEC
for since Fabric API modifies this already.
- Removed. 1.20.4 NeoForge now only uses this class for serializing there ingredients. Which you can just use
-
IEntityAdditionalSpawnData
- Using
IEntityAdditionalSpawnData
now requires you to overrideEntity#getAddEntityPacket
and return PortingLibEntity.getEntitySpawningPacket(this). This now matches the same style as neo/forge.
- Using
-
AbstractSelectionListAccessor#port_lib$getWidth()
->AbstractSelectionList#getRowWidth()
-
ExtendedButton
: removed. Use vanillaButton
, features have been implemented. -
ShapedRecipeUtil
: removed. Unnecessary, Porting Lib now always changes the max dimensions to MAX_VALUE. -
AdvancementCallback.EVENT
->AdvancementEvent.EARN
this event is now accurate to the NeoForge version.