-
ElementDescriptionReplaced by
mineable
tags. See fabric-mining-level-api-v1 for further details.Use and implement the other more general overload. This one 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.
-
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.UseScreenHandlerRegistry.ExtendedClientHandlerFactory
instead.UseScreenHandlerRegistry
instead.Please useItemTooltipCallback
0.3.0Please migrate toS2CPlayChannelEvents
since this was incorrectly named.Please migrate toC2SPlayChannelEvents
since 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 inClientPlayNetworking
orServerPlayNetworking
Please migrate toServerPlayNetworking
.
-
ClassDescriptionPlease migrate to v1. Please use methods in
FabricBlockSettings
instead.Please migrate to v1. Please useFabricBlockSettings
insteadPlease migrate to v1. Please useFabricMaterialBuilder
instead.Please migrate to v1. Please useKeyBindingHelper.registerKeyBinding(KeyBinding)
instead.This module has been moved into fabric-rendering-v1. UseEntityModelLayerRegistry
instead.Use FabricEntityTypeBuilder methodsPlease useFabricDefaultAttributeRegistry
instead.Please migrate to v1. Please useFabricEntityTypeBuilder
instead.Please migrate to v1. Please useCommandRegistrationCallback
instead.Please usePlayerLookup
instead.Use dedicated classes, such asFabricToolTags
useTagFactory
instead.Use the movedFabricToolTags
class insteadSuperseded bySingleVariantStorage
. Will be removed in a future iteration of the API.
-
FieldDescriptionUse 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_STARTED
Please useServerLifecycleEvents.SERVER_STOPPING
Please useServerTickEvents.END_SERVER_TICK
-
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.Use theClientSpriteRegistryCallback.event(Identifier)
registration method.Replaced bymineable
tags. See fabric-mining-level-api-v1 for further details.SReplaced bymineable
tags. See fabric-mining-level-api-v1 for further details.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.Use#fromVanilla(BakedQuad, RenderMaterial, Direction, int[], int)
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.useTagFactory.BLOCK
useTagFactory.FLUID
useTagFactory.ITEM
UseDynamicAttributeTool.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.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.
-
ConstructorDescriptionYou should not be calling this constructor!You should not be calling this constructor!
mineable
tags. See fabric-mining-level-api-v1 for further details.S