接口 MossyCarpet
此类包含 'north'、'east'、'south'、'west' 高度标志,
用于设置面的高度.
'bottom' 表示这是否是底部方块.
-
嵌套类概要
嵌套类 -
方法概要
从接口继承的方法 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
-
方法详细资料
-
isBottom
boolean isBottom()获取 'bottom' 属性的值.原文: Gets the value of the 'bottom' property.
- 返回:
- 'bottom' 的值
-
setBottom
void setBottom(boolean bottom) 设置 'bottom' 属性的值.原文: Sets the value of the 'bottom' property.
- 参数:
bottom- 新的 'bottom' 值
-
getHeight
获取指定面的高度.原文: Gets the height of the specified face.
- 参数:
face- 要检查的面- 返回:
- 面是否启用
-
setHeight
设置指定面的高度.原文: Set the height of the specified face.
- 参数:
face- 要设置的面height- 高度
-