接口 MossyCarpet

所有超级接口:
BlockData, Cloneable

@Experimental public interface MossyCarpet extends BlockData
此类包含 'north'、'east'、'south'、'west' 高度标志, 用于设置面的高度. 'bottom' 表示这是否是底部方块.
  • 方法详细资料

    • isBottom

      boolean isBottom()
      获取 'bottom' 属性的值.

      原文: Gets the value of the 'bottom' property.

      返回:
      'bottom' 的值
    • setBottom

      void setBottom(boolean bottom)
      设置 'bottom' 属性的值.

      原文: Sets the value of the 'bottom' property.

      参数:
      bottom - 新的 'bottom' 值
    • getHeight

      获取指定面的高度.

      原文: Gets the height of the specified face.

      参数:
      face - 要检查的面
      返回:
      面是否启用
    • setHeight

      设置指定面的高度.

      原文: Set the height of the specified face.

      参数:
      face - 要设置的面
      height - 高度