Deprecated API
Contents
-
For RemovalElementDescriptionUse and implement the other more general overload. This one will be removed in a future iteration of the API.Superseded by
SingleVariantStorage. Will be removed in a future iteration of the API.
-
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.Please migrate to v1. Please use registry events instead.Please migrate to v1. Please use Please use registry events instead.Please migrate toClientPlayNetworking.See the corresponding play packet handler inClientPlayNetworkingorServerPlayNetworkingPlease migrate toServerPlayNetworking.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.
-
ClassesClassDescriptionExperimental feature, may be removed or changed without further notice. Because of the volatility of world generation in Minecraft 1.16, this API is marked experimental since it is likely to change in future Minecraft versions.Please migrate to v1. Please use methods in
FabricBlockSettingsinstead.Please migrate to v1. Please useFabricBlockSettingsinsteadPlease migrate to v1. Please useFabricMaterialBuilderinstead.Please migrate to v1. Please useKeyBindingHelper.registerKeyBinding(KeyBinding)instead.This module has been moved into fabric-rendering-v1. UseEntityModelLayerRegistryinstead.Experimental feature, may be removed or changed without further notice due to potential changes to Dimensions in subsequent versions.Use FabricEntityTypeBuilder methodsPlease useFabricDefaultAttributeRegistryinstead.Please migrate to v1. Please useFabricEntityTypeBuilderinstead.Please migrate to v1. Please useCommandRegistrationCallbackinstead.Please usePlayerLookupinstead.Use dedicated classes, such asFabricToolTagsuseTagFactoryinstead.Use the movedFabricToolTagsclass insteadExperimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Superseded bySingleVariantStorage. Will be removed in a future iteration of the API.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.
-
Enum Classes
-
Record ClassesRecord ClassDescriptionExperimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.
-
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_TICK
-
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.Please useFabricBlockSettings.luminance(int).Please useFabricBlockSettings.luminance(ToIntFunction).Please migrate toFabricBlockSettings.mapColor(MapColor)Please migrate toFabricBlockSettings.mapColor(DyeColor)net.fabricmc.fabric.api.object.builder.v1.entity.FabricEntityTypeBuilder.Living.trackable(int, int)This never did anything useful.UseBlendModeversion instead.Use#fromVanilla(BakedQuad, RenderMaterial, Direction, int[], int)which has better encapsulation and removed outdated item flagPlease useResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType)instead, thesub pathshould be removed in a future release in favor of the identifier path.useTagFactory.BLOCKuseTagFactory.FLUIDuseTagFactory.ITEMUseDynamicAttributeTool.getMiningLevel(Tag, BlockState, ItemStack, LivingEntity)to detect tag and block.UseDynamicAttributeTool.getMiningSpeedMultiplier(Tag, BlockState, ItemStack, LivingEntity)to detect tag and block.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.
-
ConstructorsConstructorDescriptionYou should not be calling this constructor!You should not be calling this constructor!