接口 PistonHead
- 所有超级接口:
BlockData
,Cloneable
,Directional
,TechnicalPiston
'short' 值表示该活塞臂是否由于正在回缩的原因比平时短.
-
嵌套类概要
从接口继承的嵌套类/接口 org.bukkit.block.data.type.TechnicalPiston
TechnicalPiston.Type
-
方法概要
从接口继承的方法 org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, 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.type.TechnicalPiston
getType, setType
-
方法详细资料
-
isShort
boolean isShort()获取 'short' 属性的值.原文: Gets the value of the 'short' property.
- 返回:
- 属性 'short' 的值
-
setShort
void setShort(boolean _short) 设置 'short' 属性的值.原文: Sets the value of the 'short' property.
- 参数:
_short
- 新的 'short' 属性值
-