Interface Openable

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

public interface Openable extends BlockData
'open' denotes whether this door-like block is currently opened.
  • Method Details

    • isOpen

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

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