Deprecated API
Contents
-
ElementDescriptionDo not use, will be removed in a future release.
ApiLookupMap.LookupConstructor
should be used instead of lookup factory, to expose the identifier.ApiLookupMap.LookupConstructor
should be used instead as it also passes the identifier.This never did anything useful.Replaced withItemTags.AXES
.Replaced withConventionalItemTags.EMPTY_BUCKETS
.Replaced withItemTags.HOES
.Replaced withConventionalItemTags.LAVA_BUCKETS
.Replaced withConventionalItemTags.MILK_BUCKETS
.Replaced withItemTags.PICKAXES
.Replaced withItemTags.SHOVELS
.Replaced withItemTags.SWORDS
.Replaced withConventionalItemTags.WATER_BUCKETS
.
-
InterfaceDescriptionUse
AttackBlockCallback
instead and check for the block. This gives more control over the different cancellation outcomes.Please migrate to v1. Please useKeyBindingHelper
instead.replaced byClientConfigurationConnectionEvents.Complete
Replaced byColorProviderRegistry
Replaced byInvalidateRenderStateCallback
Please useBuiltinItemRendererRegistry.DynamicItemRenderer
instead.Please migrate to v2. Please useCommandRegistrationCallback
instead.Use the more generalServerLivingEntityEvents.ALLOW_DEATH
event instead and check forinstanceof ServerPlayerEntity
.0.3.0ApiLookupMap.LookupConstructor
should be used instead as it also passes the identifier.Please useFabricLootPoolBuilder
instead.useFabricLootTableBuilder
instead.UseFabricBlockView
instead.UseRenderDataBlockEntity
instead.
-
ClassDescriptionPlease migrate to v1. Please use
KeyBindingHelper.registerKeyBinding(KeyBinding)
instead.Replaced with transitive access wideners in Fabric Transitive Access Wideners (v1).Please useLootTableEvents
instead.Replaced by access wideners forModelPredicateProviderRegistry
registration methods in Fabric Transitive Access Wideners (v1).replace withEntityType.Builder
useinvalid reference
EntityType.Builder#createLiving(EntityType.EntityFactory, SpawnGroup, UnaryOperator)
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.Please useConventionalBiomeTags
Please useConventionalBlockTags
Please useConventionalEnchantmentTags
Please useConventionalEntityTypeTags
Please useConventionalFluidTags
Please useConventionalItemTags
Please useTagUtil
Use the constants inNbtElement
instead.
-
FieldDescriptionreplaced by
ClientConfigurationConnectionEvents.COMPLETE
Use the more generalServerLivingEntityEvents.ALLOW_DEATH
event instead and check forinstanceof ServerPlayerEntity
.Please useLootTableEvents.ALL_LOADED
instead.Please useLootTableEvents.MODIFY
instead.Please useLootTableEvents.REPLACE
instead.Replaced withItemTags.AXES
.Replaced withConventionalItemTags.EMPTY_BUCKETS
.Replaced withItemTags.HOES
.Replaced withConventionalItemTags.LAVA_BUCKETS
.Replaced withConventionalItemTags.MILK_BUCKETS
.Replaced withItemTags.PICKAXES
.Replaced withItemTags.SHOVELS
.Replaced withItemTags.SWORDS
.Replaced withConventionalItemTags.WATER_BUCKETS
.
-
MethodDescriptionPlease use
BuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)
instead.Please useBuiltinItemRendererRegistry.register(ItemConvertible, DynamicItemRenderer)
instead.UseWorldRenderContext.consumers()
directly.Please useFabricDataGenerator.createPack()
This is not to be used in events anymore.Do not use, will be removed in a future release.Always returnsfalse
, do not use. This is not to be used in events anymore, standard Java profilers will do fine.Please migrate toFabricRegistryBuilder.createDefaulted(RegistryKey, Identifier)
Please migrate toFabricRegistryBuilder.createSimple(RegistryKey)
ApiLookupMap.LookupConstructor
should be used instead of lookup factory, to expose the identifier.Please useFabricLootPoolBuilder.apply(LootFunction)
instead.Please useFabricLootPoolBuilder.apply(LootFunction)
instead.Please useFabricLootPoolBuilder.conditionally(LootCondition)
instead.Please useFabricLootPoolBuilder.conditionally(LootCondition)
instead.Please useFabricLootPoolBuilder.copyOf(LootPool)
instead.Please useFabricLootPoolBuilder.with(LootPoolEntry)
instead.Please useFabricLootPoolBuilder.with(LootPoolEntry)
instead.useFabricLootTableBuilder.apply(Collection)
instead.useFabricLootTableBuilder.apply(LootFunction)
instead.useFabricLootTableBuilder.copyOf(LootTable)
instead.useFabricLootTableBuilder.modifyPools(Consumer)
instead.useFabricLootTableBuilder.pool(LootPool)
instead.useFabricLootTableBuilder.pools(Collection)
instead.This never did anything useful.Add items to theminecraft:villager_picks_up
item tag instead.UseMaterialFinder.blendMode(BlendMode)
instead.UseMaterialFinder.blendMode(BlendMode)
instead.UseMaterialFinder.ambientOcclusion(TriState)
instead.UseMaterialFinder.disableColorIndex(boolean)
instead.UseMaterialFinder.disableDiffuse(boolean)
instead.UseMaterialFinder.emissive(boolean)
instead.UseMutableQuadView.fromVanilla(int[], int)
instead.UseMutableQuadView.uv(int, float, float)
instead.UseMutableQuadView.uv(int, Vector2f)
instead.UseMutableQuadView.spriteBake(Sprite, int)
instead.UseMutableQuadView.color(int, int)
instead.UseMutableQuadView.color(int, int, int, int)
instead.UseQuadEmitter.uvUnitSquare()
instead.UseMutableQuadView.copyFrom(QuadView)
instead. UnlikecopyFrom
, this method will not copy the material.UseQuadView.color(int)
instead.UseQuadView.u(int)
instead.UseQuadView.v(int)
instead.UseQuadView.toBakedQuad(Sprite)
instead.UseQuadView.toVanilla(int[], int)
instead.UseSpriteFinder.find(QuadView)
instead.UseMesh.outputTo(QuadEmitter)
instead.UseFabricBlockView.getBlockEntityRenderData(BlockPos)
instead.UseRenderDataBlockEntity.getRenderData()
instead.Please useResourceManagerHelper.registerBuiltinResourcePack(Identifier, ModContainer, ResourcePackActivationType)
instead, thesub path
should be removed in a future release in favor of the identifier path.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!