Interface Lidded

All Known Subinterfaces:
Barrel, Chest, EnderChest, ShulkerBox

public interface Lidded
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    Sets the block's animated state to closed even if a player is currently viewing this block.
    void
    Sets the block's animated state to open and prevents it from being closed until close() is called.
  • Method Details Link icon

    • open Link icon

      void open()
      Sets the block's animated state to open and prevents it from being closed until close() is called.
    • close Link icon

      void close()
      Sets the block's animated state to closed even if a player is currently viewing this block.