Package org.bukkit.block.data.type
Interface Lectern
- All Superinterfaces:
BlockData
,Cloneable
,Directional
,Powerable
'has_book' is a quick flag to check whether this lectern has a book inside
it.
-
Method Summary
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
Methods inherited from interface org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
Methods inherited from interface org.bukkit.block.data.Powerable
isPowered, setPowered
-
Method Details
-
hasBook
boolean hasBook()Gets the value of the 'has_book' property.- Returns:
- the 'has_book' value
-