接口 Lectern
- 所有超级接口:
BlockData
,Cloneable
,Directional
,Powerable
'has_book' 可用于快速检测讲台内是否有书.
-
方法概要
从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
从接口继承的方法 org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
从接口继承的方法 org.bukkit.block.data.Powerable
isPowered, setPowered
-
方法详细资料
-
hasBook
boolean hasBook()获取 'has_book' 属性的值.原文:Gets the value of the 'has_book' property.
- 返回:
- 属性 'has_book' 的值
-