接口 Gate
- 所有超级接口:
BlockData
,Cloneable
,Directional
,Openable
,Powerable
'in_wall" 值表示栅栏门是否固定在墙上,
若为 true, 栅栏门的材质会被稍微降低一点以更好的融入周围 (墙, 比如圆石墙).
-
方法概要
从接口继承的方法 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
从接口继承的方法 org.bukkit.block.data.Powerable
isPowered, setPowered
-
方法详细资料
-
isInWall
boolean isInWall()获取 'in_wall' 属性的值.原文: Gets the value of the 'in_wall' property.
- 返回:
- 属性 'in_wall' 的值
-
setInWall
void setInWall(boolean inWall) 设置 'in_wall' 属性的值.原文: Sets the value of the 'in_wall' property.
- 参数:
inWall
- 新的 'in_wall' 属性值
-