接口 Stairs
- 所有超级接口:
Bisected
,BlockData
,Cloneable
,Directional
,Waterlogged
'shape' 值代表阶梯方块的材质和碰撞箱的类型.
-
嵌套类概要
从接口继承的嵌套类/接口 org.bukkit.block.data.Bisected
Bisected.Half
-
方法概要
修饰符和类型方法说明getShape()
获取 'shape' 属性的值.void
setShape
(@NotNull Stairs.Shape shape) 设置 'shape' 属性的值.从接口继承的方法 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.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getShape
获取 'shape' 属性的值.原文: Gets the value of the 'shape' property.
- 返回:
- 属性 'shape' 的值
-
setShape
设置 'shape' 属性的值.原文: Sets the value of the 'shape' property.
- 参数:
shape
- 新的 'shape' 属性值
-