Class MegaModelTest.TestBlock.Entity

All Implemented Interfaces:
ICapabilityProvider, ICapabilityProviderImpl<BlockEntity>, ICapabilitySerializable<CompoundTag>, IForgeBlockEntity, INBTSerializable<CompoundTag>
Enclosing class:
MegaModelTest.TestBlock

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

    • y

      public int y
  • Constructor Details

  • Method Details

    • getModelData

      @NotNull public @NotNull ModelData getModelData()
      Description copied from interface: IForgeBlockEntity
      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 IForgeBlockEntity.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