Class DelegatingChildDynamicItemAndBlockModel

All Implemented Interfaces:
net.minecraft.client.resources.model.BakedModel, net.minecraftforge.client.extensions.IForgeBakedModel

public abstract class DelegatingChildDynamicItemAndBlockModel extends DelegatingDynamicItemAndBlockModel
A dynamic model with a parent that can be used for items and blocks that delegates its blockstate.
  • Field Details

    • baseModel

      protected final net.minecraft.client.resources.model.BakedModel baseModel
  • Constructor Details

    • DelegatingChildDynamicItemAndBlockModel

      public DelegatingChildDynamicItemAndBlockModel(net.minecraft.client.resources.model.BakedModel baseModel)
    • DelegatingChildDynamicItemAndBlockModel

      public DelegatingChildDynamicItemAndBlockModel(net.minecraft.client.resources.model.BakedModel baseModel, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.core.Direction facing, net.minecraft.util.RandomSource rand, net.minecraftforge.client.model.data.ModelData modelData, net.minecraft.client.renderer.RenderType renderType)
    • DelegatingChildDynamicItemAndBlockModel

      public DelegatingChildDynamicItemAndBlockModel(net.minecraft.client.resources.model.BakedModel baseModel, net.minecraft.world.item.ItemStack itemStack, net.minecraft.world.level.Level world, net.minecraft.world.entity.LivingEntity entity)