接口 Piston
- 所有超级接口:
BlockData
,Cloneable
,Directional
'extended' 值表示当前活塞臂是否伸出.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
isExtended
boolean isExtended()获取 'extended' 属性的值.原文: Gets the value of the 'extended' property.
- 返回:
- 属性 'extended' 的值
-
setExtended
void setExtended(boolean extended) 设置 'extended' 属性的值.原文: Sets the value of the 'extended' property.
- 参数:
extended
- 新的 'extended' 属性值
-