接口 TechnicalPiston
- 所有超级接口:
BlockData
,Cloneable
,Directional
- 所有已知子接口:
PistonHead
'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.Directional
getFaces, getFacing, setFacing
-
方法详细资料
-
getType
获取 'type' 属性的值.原文: Gets the value of the 'type' property.
- 返回:
- 属性 'type' 的值
-
setType
设置 'type' 属性的值.原文: Sets the value of the 'type' property.
- 参数:
type
- 新的 'type' 属性值
-