Deprecated API
Contents
-
ElementDescriptionUse
the RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUse extension methods inIGuiGraphicsExtension
insteadUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main bus
-
ClassDescriptionNeoForge: Use
AdvancementProvider
instead, provides ease of access for theExistingFileHelper
in the generatorForge: UseDatapackBuiltinEntriesProvider
insteadUse extension methods inIGuiGraphicsExtension
instead
-
Record ClassDescription
-
FieldDescriptionForge: Use
PresetEditorManager.get(ResourceKey)
instead.Forge: This map is patched out of vanilla code. Listen toBlockEvent.BlockToolModificationEvent
or overrideIBlockExtension.getToolModifiedState(BlockState, UseOnContext, net.neoforged.neoforge.common.ToolAction, boolean)
.Forge: UseRarity.getStyleModifier()
Avoid using this tag, especially on the client side, as optional tags, for now, do not exist after the registry rework.
-
MethodDescriptionForge: use overload with context.Register via
RegisterColorHandlersEvent.Block
Register viaRegisterColorHandlersEvent.Item
Neo: UseIAbstractWidgetExtension.onClick(double, double, int)
instead.Forge: Use gradient overload insteadRegister viaRegisterParticleProvidersEvent
Register viaRegisterParticleProvidersEvent
Register viaRegisterParticleProvidersEvent
Forge: useParticleEngine.render(PoseStack, MultiBufferSource.BufferSource, LightTexture, Camera, float, net.minecraft.client.renderer.culling.Frustum)
with Frustum as additional parameterSet your render type in your block model's JSON (eg."render_type": "cutout"
) or overrideIBakedModelExtension.getRenderTypes(BlockState, net.minecraft.util.RandomSource, net.neoforged.neoforge.client.model.data.ModelData)
Set your render type in your block model's JSON (eg."render_type": "cutout"
) or overrideIBakedModelExtension.getRenderTypes(BlockState, net.minecraft.util.RandomSource, net.neoforged.neoforge.client.model.data.ModelData)
Set your render type in your block model's JSON (eg."render_type": "cutout"
) or overrideIBakedModelExtension.getRenderTypes(BlockState, net.minecraft.util.RandomSource, net.neoforged.neoforge.client.model.data.ModelData)
Forge: Use item aware function belowForge: Use variant with RenderTypeGroupForge: For internal use only. Use the Register events when registering values.Forge: UseRegisterGameTestsEvent
to register game testsForge: UseRegisterGameTestsEvent
to register game testsForge: UseRegisterGameTestsEvent
to register game testsNeoForge: UseNeoForgeRegistries.ENTITY_DATA_SERIALIZERS
insteadForge: Userider sensitive version
Useinvalid @link
IEntityExtension#getStepHeight()
Use attribute modifiers for theNeoForgeMod#STEP_HEIGHT
attribute.UseIEntityExtension.getStepHeight()
to get the real step height value.Forge: use overload with context.Forge: useCreativeModeTab.builder()
Forge:invalid @link
Use damage source sensitive version
Forge: Useinvalid @linkplain
damage source sensitive version
Forge: UseBaseRailBlock.getRailDirection(BlockState, BlockGetter, BlockPos, net.minecraft.world.entity.vehicle.AbstractMinecart)
for enhanced ability If you do change this property be aware that other functions in this/subclasses may break as they can make assumptions about this propertyForge: get burn times by calling CommonHooks#getBurnTime(ItemStack)Forge: UseIBlockStateExtension.getLightEmission(BlockGetter, BlockPos)
insteadnet.minecraft.world.level.levelgen.synth.ImprovedNoise.noise(double, double, double, double, double) Forge: UseFlowingFluid.canConvertToSource(FluidState, Level, BlockPos)
instead.Forge: useLavaFluid.isFlammable(LevelReader,BlockPos,Direction)
insteadNeo: use the variant with a custom codec opsnet.minecraft.world.level.storage.loot.LootTable.getRandomItemsRaw(LootContext, Consumer<ItemStack>) Usethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main busUsethe RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main bus
-
ConstructorDescriptionForge: Use variant with RenderTypeGroupForge: Use the mod id variantForge: Use the mod id variantnet.minecraft.data.tags.CatVariantTagsProvider
(PackOutput, CompletableFuture<HolderLookup.Provider>) Forge: Use the mod id variantnet.minecraft.data.tags.DamageTypeTagsProvider(PackOutput, CompletableFuture<HolderLookup.Provider>) Forge: Use the mod id variantnet.minecraft.data.tags.EntityTypeTagsProvider(PackOutput, CompletableFuture<HolderLookup.Provider>) Forge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantnet.minecraft.data.tags.InstrumentTagsProvider(PackOutput, CompletableFuture<HolderLookup.Provider>) Forge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: Use the mod id variantForge: UseTagFile(List, boolean, List)
which has support for remove entries.Forge: UseDeferredSpawnEggItem
instead for suppliersFORGE: Use supplier version insteadNeo: use the constructorinvalid @link
with a default value and id setter
the RL-explicit variant
instead; mod ID inference will be removed in a later update, alongside the move of registration events to the NeoForge main bus