接口 Hangable

所有超级接口:
BlockData, Cloneable
所有已知子接口:
Lantern, MangrovePropagule

public interface Hangable extends BlockData
'hanging' 表示灯笼是否悬挂在方块上. 原文:'hanging' denotes whether the lantern is hanging from a block.
  • 方法详细资料

    • 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