Interface Openable

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
Barrel, Door, Gate, TrapDoor

public interface Openable extends BlockData
'open' denotes whether this block is currently opened.
  • Method Details Link icon

    • isOpen Link icon

      boolean isOpen()
      Gets the value of the 'open' property.
      Returns:
      the 'open' value
    • setOpen Link icon

      void setOpen(boolean open)
      Sets the value of the 'open' property.
      Parameters:
      open - the new 'open' value