-
Terminally Deprecated ElementsElementDescription
ApiLookupMap.LookupConstructorshould 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.ImplementFluidVariantAttributeHandler.isLighterThanAir(FluidVariant)instead. This function will be removed in a future iteration of the API.Use and implement the other more general overload. This one will be removed in a future iteration of the API.ImplementFluidVariantAttributeHandler.getName(net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant)instead. This function will be removed in a future iteration of the API.Use and implement the other more general overload. This one will be removed in a future iteration of the API.Superseded bySingleVariantStorage. Will be removed in a future iteration of the API.
-
Deprecated InterfacesInterfaceDescriptionPlease migrate to v1. Please use
KeyBindingHelperinstead.useExtraModelProvider, which supports loading of plainIdentifiersReplaced byColorProviderRegistryReplaced byInvalidateRenderStateCallbackThis module has been moved into fabric-rendering-v1. UseBlockEntityRendererRegistryinsteadnet.fabricmc.fabric.api.client.rendereregistry.v1.EntityModelLayerRegistry.TexturedModelDataProviderThis module has been moved into fabric-rendering-v1. UseEntityRendererRegistryinsteadThis module has been moved into fabric-rendering-v1. UseLivingEntityFeatureRendererRegistrationCallbackinsteadThis module has been moved into fabric-rendering-v1. UseLivingEntityFeatureRendererRegistrationCallback.RegistrationHelperinsteadPlease useBuiltinItemRendererRegistry.DynamicItemRendererinstead.UseScreenRegistry.Factoryinstead.UseScreenRegistryinstead.UseScreenHandlerRegistry.ExtendedClientHandlerFactoryinstead.UseScreenHandlerRegistryinstead.Please useItemTooltipCallback0.3.0Please migrate toS2CPlayChannelEventssince this was incorrectly named.Please migrate toC2SPlayChannelEventssince this was incorrectly named.ApiLookupMap.LookupConstructorshould 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).UseRegistry.LOOT_POOL_ENTRY_TYPEfrom vanilla instead.Please migrate toClientPlayNetworking.See the corresponding play packet handler inClientPlayNetworkingorServerPlayNetworkingPlease migrate toServerPlayNetworking.Replaced withExtendedScreenHandlerType.ExtendedFactory.Replaced by access widener forScreenHandlerType.Factoryin Fabric Transitive Access Wideners (v1).
-
Deprecated ClassesClassDescriptionPlease migrate to v1. Please use
KeyBindingHelper.registerKeyBinding(KeyBinding)instead.This module has been moved into fabric-rendering-v1. UseEntityModelLayerRegistryinstead.Replaced by access wideners forHandledScreens.register(ScreenHandlerType, HandledScreens.Provider)andHandledScreens.Providerin Fabric Transitive Access Wideners (v1).useFabricAdvancementProviderinstead.useFabricBlockLootTableProviderinstead.useFabricModelProviderinstead.useFabricRecipeProviderinstead.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 forModelPredicateProviderRegistryregistration methods in Fabric Transitive Access Wideners (v1).Please migrate to v1. Please useCommandRegistrationCallbackinstead.Replaced by- Creating simple screen handler types directly with
ScreenHandlerTypeusing an access widener in Fabric Transitive Access Wideners (v1) - Creating extended screen handler types with
ExtendedScreenHandlerType - Registering using
Registry.SCREEN_HANDLERdirectly
Please usePlayerLookupinstead.Superseded bySingleVariantStorage. Will be removed in a future iteration of the API. - Creating simple screen handler types directly with
-
Deprecated FieldsFieldDescriptionUse the
ClientSpriteRegistryCallback.event(Identifier)registration method. Since 1.14 started making use of multiple sprite atlases, it is unwise to register sprites to *all* of them.Please useClientTickEvents.END_CLIENT_TICK.Please migrate toC2SPlayChannelEvents.REGISTER.Please migrate toC2SPlayChannelEvents.UNREGISTER.Please migrate toS2CPlayChannelEvents.REGISTER.Please migrate toS2CPlayChannelEvents.UNREGISTER.Please useServerLifecycleEvents.SERVER_STARTEDPlease useServerLifecycleEvents.SERVER_STOPPINGPlease useServerTickEvents.END_SERVER_TICKReplaced withConventionalItemTags.EMPTY_BUCKETS.Replaced withConventionalItemTags.LAVA_BUCKETS.Replaced withConventionalItemTags.MILK_BUCKETS.Replaced withConventionalItemTags.WATER_BUCKETS.
-
Deprecated MethodsMethodDescriptionUse
ModelLoadingRegistry.registerModelProvider(ExtraModelProvider)instead, which supports loading of plainIdentifiersPlease useBuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)instead.Please useBuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)instead.UseWorldRenderContext.consumers()directly.Use theClientSpriteRegistryCallback.event(Identifier)registration method.ApiLookupMap.LookupConstructorshould 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.UseBlendModeversion instead.Use#fromVanilla(BakedQuad, RenderMaterial, Direction, int[], int)which has better encapsulation and removed outdated item flagPrefer using the more flexibleRenderContext.bakedModelConsumer().Please useResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType)instead, thesub pathshould be removed in a future release in favor of the identifier path.Replaced with creating anExtendedScreenHandlerTypemanually and registering it in the vanilla registry.Replaced by access widener forScreenHandlerType(ScreenHandlerType.Factory)in Fabric Transitive Access Wideners (v1).ImplementFluidVariantAttributeHandler.isLighterThanAir(FluidVariant)instead. This function will be removed in a future iteration of the API.Use and implement the other more general overload. This one will be removed in a future iteration of the API.ImplementFluidVariantAttributeHandler.getName(net.fabricmc.fabric.api.transfer.v1.fluid.FluidVariant)instead. This function will be removed in a future iteration of the API.Use and implement the other more general overload. This one will be removed in a future iteration of the API.Only use if you absolutely need it, there is almost always a better way.
-
Deprecated ConstructorsConstructorDescriptionYou should not be calling this constructor!You should not be calling this constructor!
ApiLookupMap.LookupConstructorshould be used instead of lookup factory, to expose the identifier.