-
InterfaceDescription
-
ClassDescriptionFor removal in 1.17, superseded by
/execute in <dim> run tp <targets>
-
FieldDescription
-
MethodDescriptionuse
IForgeBlockState.isAir(IBlockReader, BlockPos)
until 1.17, at which point this method will be undreprecated. See https://github.com/MinecraftForge/MinecraftForge/issues/7409 for more detailsForge: useParticleManager.renderParticles(MatrixStack, IRenderTypeBuffer.Impl, LightTexture, ActiveRenderInfo, float, net.minecraft.client.renderer.culling.ClippingHelper)
with ClippingHelper as additional parameterCan be overridden but callIForgeEntity.getDimensionsForge(Pose)
instead.Can be overridden but callIForgeEntity.getEyeHeightForge(Pose, EntitySize)
instead.Forge: useLavaFluid.isFlammable(IWorldReader,BlockPos,Direction)
insteadForge useItemGroup.getBackgroundImage()
insteadForge: useItemGroup.setBackgroundImage(net.minecraft.util.ResourceLocation)
insteadForge: callForgeSpawnEggItem.fromEntityType(EntityType)
insteadUnused in 1.15, useModelBuilder.guiLight(GuiLight)
instead.net.minecraftforge.common.extensions.IForgeBlock.onPlantGrow(BlockState, IWorld, BlockPos, BlockPos) TODO: Remove in 1.17, in favor of state only version. This is a old hook from before block states were unlimited and people used TileEntities. If you still use the location information in your TileEntity please explain why and how you can't use BlockState only version here: https://github.com/MinecraftForge/MinecraftForge/issues/7409UseForgeHooks.isLivingOnLadderPos(BlockState, World, BlockPos, LivingEntity)
instead in 1.16.useDistExecutor.safeCallWhenOn(Dist, Supplier)
instead. This remains for advanced use cases.useDistExecutor.safeRunWhenOn(Dist, Supplier)
where possible. Advanced uses only.
ISelectiveResourceReloadListener
, which selectively allows individual resource types being reloaded should rather be used where possible.