接口 Slab
- 所有超级接口:
BlockData
,Cloneable
,Waterlogged
'type' 值代表台阶 (/半砖) 的状态 - 上台阶, 下台阶, 或占据了整个方块的双层台阶.
-
嵌套类概要
-
方法概要
从接口继承的方法 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.Waterlogged
isWaterlogged, setWaterlogged
-
方法详细资料
-
getType
获取 'type' 属性的值.原文: Gets the value of the 'type' property.
- 返回:
- 属性 'type' 的值
-
setType
设置 'type' 属性的值.原文: Sets the value of the 'type' property.
- 参数:
type
- 新的 'type' 属性值
-