接口 Bamboo
'leaves' 值代表该竹子方块上叶子的大小.
-
嵌套类概要
-
方法概要
从接口继承的方法 org.bukkit.block.data.Ageable
getAge, getMaximumAge, setAge
从接口继承的方法 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.type.Sapling
getMaximumStage, getStage, setStage
-
方法详细资料
-
getLeaves
获取 'leaves' 属性的值.原文: Gets the value of the 'leaves' property.
- 返回:
- 属性 'leaves' 的值
-
setLeaves
设置 'leaves' 属性的值.原文: Sets the value of the 'leaves' property.
- 参数:
leaves
- 新的 'leaves' 属性值
-