-
ElementDescription
ApiLookupMap.LookupConstructor
should be used instead as it also passes the identifier.Replaced withConventionalItemTags.EMPTY_BUCKETS
.Replaced withConventionalItemTags.LAVA_BUCKETS
.Replaced withConventionalItemTags.MILK_BUCKETS
.Replaced withConventionalItemTags.WATER_BUCKETS
.Use and implement the overload without the transaction parameter.
-
InterfaceDescriptionPlease migrate to v1. Please use
KeyBindingHelper
instead.useExtraModelProvider
, which supports loading of plainIdentifier
sReplaced byColorProviderRegistry
Replaced byInvalidateRenderStateCallback
This module has been moved into fabric-rendering-v1. UseBlockEntityRendererRegistry
insteadnet.fabricmc.fabric.api.client.rendereregistry.v1.EntityModelLayerRegistry.TexturedModelDataProviderThis module has been moved into fabric-rendering-v1. UseEntityRendererRegistry
insteadThis module has been moved into fabric-rendering-v1. UseLivingEntityFeatureRendererRegistrationCallback
insteadThis module has been moved into fabric-rendering-v1. UseLivingEntityFeatureRendererRegistrationCallback.RegistrationHelper
insteadPlease useBuiltinItemRendererRegistry.DynamicItemRenderer
instead.UseScreenRegistry.Factory
instead.UseScreenRegistry
instead.Please migrate to v2. Please useCommandRegistrationCallback
instead.UseScreenHandlerRegistry.ExtendedClientHandlerFactory
instead.UseScreenHandlerRegistry
instead.Use the more generalServerLivingEntityEvents.ALLOW_DEATH
event instead and check forinstanceof ServerPlayerEntity
.Please useItemTooltipCallback
0.3.0Please migrate toS2CPlayChannelEvents
since this was incorrectly named.Please migrate toC2SPlayChannelEvents
since this was incorrectly named.ApiLookupMap.LookupConstructor
should be used instead as it also passes the identifier.Replaced withLootTableEvents
.Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).UseRegistries.LOOT_POOL_ENTRY_TYPE
from vanilla instead.Please migrate toClientPlayNetworking
.See the corresponding play packet handler inClientPlayNetworking
orServerPlayNetworking
Please migrate toServerPlayNetworking
.Replaced withExtendedScreenHandlerType.ExtendedFactory
.Replaced by access widener forinvalid @link
ScreenHandlerType.Factory
-
ClassDescriptionPlease migrate to v1. Please use
KeyBindingHelper.registerKeyBinding(KeyBinding)
instead.This module has been moved into fabric-rendering-v1. UseEntityModelLayerRegistry
instead.Replaced by access wideners forHandledScreens.register(ScreenHandlerType, HandledScreens.Provider)
andinvalid @link
HandledScreens.Provider
Replaced withFabricLootPoolBuilder
.Replaced withFabricLootTableBuilder
.UseLootGsons.getTableGsonBuilder()
from vanilla instead.Replaced by access widener forCriteria.register(Criterion)
in Fabric Transitive Access Wideners (v1).Replaced by access wideners forModelPredicateProviderRegistry
registration methods in Fabric Transitive Access Wideners (v1).Replaced by access widener forVillagerProfession(java.lang.String, java.util.function.Predicate<net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.poi.PointOfInterestType>>, java.util.function.Predicate<net.minecraft.registry.entry.RegistryEntry<net.minecraft.world.poi.PointOfInterestType>>, com.google.common.collect.ImmutableSet<net.minecraft.item.Item>, com.google.common.collect.ImmutableSet<net.minecraft.block.Block>, net.minecraft.sound.SoundEvent)
in Fabric Transitive Access Wideners (v1).Replaced by access wideners forVillagerType.create(java.lang.String)
andVillagerType.BIOME_TO_TYPE
in Fabric Transitive Access Wideners (v1).Please migrate to v2. Please useCommandRegistrationCallback
instead.Replaced by- Creating simple screen handler types directly with
ScreenHandlerType
using an access widener in Fabric Transitive Access Wideners (v1) - Creating extended screen handler types with
ExtendedScreenHandlerType
- Registering using
Registries.SCREEN_HANDLER
directly
Please usePlayerLookup
instead. - Creating simple screen handler types directly with
-
FieldDescriptionUse the more general
ServerLivingEntityEvents.ALLOW_DEATH
event instead and check forinstanceof ServerPlayerEntity
.Please useClientTickEvents.END_CLIENT_TICK
.Please migrate toC2SPlayChannelEvents.REGISTER
.Please migrate toC2SPlayChannelEvents.UNREGISTER
.Please migrate toS2CPlayChannelEvents.REGISTER
.Please migrate toS2CPlayChannelEvents.UNREGISTER
.Please useServerLifecycleEvents.SERVER_STARTED
Please useServerLifecycleEvents.SERVER_STOPPING
Please useServerTickEvents.END_SERVER_TICK
Replaced withConventionalItemTags.EMPTY_BUCKETS
.Replaced withConventionalItemTags.LAVA_BUCKETS
.Replaced withConventionalItemTags.MILK_BUCKETS
.Replaced withConventionalItemTags.WATER_BUCKETS
.
-
MethodDescriptionUse
ModelLoadingRegistry.registerModelProvider(ExtraModelProvider)
instead, which supports loading of plainIdentifier
sPlease useBuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)
instead.Please useBuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)
instead.UseWorldRenderContext.consumers()
directly.Please useFabricDataGenerator.createPack()
ApiLookupMap.LookupConstructor
should be used instead of lookup factory, to expose the identifier.Please useFabricBlockSettings.luminance(int)
.Please useFabricBlockSettings.luminance(ToIntFunction)
.Please migrate toFabricBlockSettings.mapColor(MapColor)
Please migrate toFabricBlockSettings.mapColor(DyeColor)
This never did anything useful.UseBlendMode
version instead.UseMutableQuadView.fromVanilla(BakedQuad, RenderMaterial, Direction)
which has better encapsulation and removed outdated item flagPlease useResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType)
instead, thesub path
should be removed in a future release in favor of the identifier path.Replaced with creating anExtendedScreenHandlerType
manually and registering it in the vanilla registry.Replaced by access widener forScreenHandlerType(ScreenHandlerType.Factory)
in Fabric Transitive Access Wideners (v1).Use and implement the overload without the transaction parameter.Only use if you absolutely need it, there is almost always a better way.
-
ConstructorDescriptionYou should not be calling this constructor!You should not be calling this constructor!
ApiLookupMap.LookupConstructor
should be used instead of lookup factory, to expose the identifier.