接口 Tripwire
- 所有超级接口:
Attachable
,BlockData
,Cloneable
,MultipleFacing
,Powerable
'disarmed' 值表示该绊线被剪刀破坏, 所以不会在破坏时触发绊线钩.
-
方法概要
从接口继承的方法 org.bukkit.block.data.Attachable
isAttached, setAttached
从接口继承的方法 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.MultipleFacing
getAllowedFaces, getFaces, hasFace, setFace
从接口继承的方法 org.bukkit.block.data.Powerable
isPowered, setPowered
-
方法详细资料
-
isDisarmed
boolean isDisarmed()获取 'disarmed' 属性的值.原文: Gets the value of the 'disarmed' property.
- 返回:
- 属性 'disarmed' 的值
-
setDisarmed
void setDisarmed(boolean disarmed) 设置 'disarmed' 属性的值.原文: Sets the value of the 'disarmed' property.
- 参数:
disarmed
- 新的 'disarmed' 属性值
-