Class MegaModelTest.TestBlock.Entity

java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
net.neoforged.neoforge.oldtest.client.model.MegaModelTest.TestBlock.Entity
All Implemented Interfaces:
IAttachmentHolder, IBlockEntityExtension
Enclosing class:
MegaModelTest.TestBlock

public static class MegaModelTest.TestBlock.Entity extends BlockEntity
  • Field Details

    • y

      public int y
  • Constructor Details

  • Method Details

    • getModelData

      public ModelData getModelData()
      Description copied from interface: IBlockEntityExtension
      Allows you to return additional model data. This data can be used to provide additional functionality in your BakedModel You need to schedule a refresh of you model data via IBlockEntityExtension.requestModelDataUpdate() if the result of this function changes. Note that this method may be called on a chunk render thread instead of the main client thread
      Returns:
      Your model data