Class EnderChestBlockEntity

All Implemented Interfaces:
LidBlockEntity, IAttachmentHolder, IBlockEntityExtension

public class EnderChestBlockEntity extends BlockEntity implements LidBlockEntity
  • Field Details

  • Constructor Details

    • EnderChestBlockEntity

      public EnderChestBlockEntity(BlockPos pPos, BlockState pBlockState)
  • Method Details

    • lidAnimateTick

      public static void lidAnimateTick(Level pLevel, BlockPos pPos, BlockState pState, EnderChestBlockEntity pBlockEntity)
    • triggerEvent

      public boolean triggerEvent(int pId, int pType)
      Overrides:
      triggerEvent in class BlockEntity
    • startOpen

      public void startOpen(Player pPlayer)
    • stopOpen

      public void stopOpen(Player pPlayer)
    • stillValid

      public boolean stillValid(Player pPlayer)
    • recheckOpen

      public void recheckOpen()
    • getOpenNess

      public float getOpenNess(float pPartialTicks)
      Specified by:
      getOpenNess in interface LidBlockEntity