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