接口 Openable
'open' 表示此方块是否开着.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
isOpen
boolean isOpen()获取 'open' 属性值.原文: Gets the value of the 'open' property.
- 返回:
- 门是否开着
-
setOpen
void setOpen(boolean open) 设置 'open' 属性值.原文: Sets the value of the 'open' property.
- 参数:
open
- 门是否开着
-