Package org.bukkit.block.data
Interface Openable
'open' denotes whether this door-like block is currently opened.
-
Method Summary
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
-
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
-