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, createBlockState, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
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
-