接口 Hangable
- 所有已知子接口:
Lantern,MangrovePropagule
'hanging' 表示灯笼是否悬挂在方块上.
原文:'hanging' denotes whether the lantern is hanging from a block.
-
方法概要
从接口继承的方法 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
-
方法详细资料
-
isHanging
boolean isHanging()获取 'hanging' 属性的值. 原文:Gets the value of the 'hanging' property.- 返回:
- 'hanging' 属性的值 原文:the 'hanging' value
-
setHanging
void setHanging(boolean hanging) 设置 'hanging' 属性的值. 原文:Sets the value of the 'hanging' property.- 参数:
hanging- 新的 'hanging' 属性值 原文:the new 'hanging' value
-