接口 Door

所有超级接口:
Bisected, BlockData, Cloneable, Directional, Openable, Powerable

public interface Door extends Bisected, Directional, Openable, Powerable
'hinge' 数据值表示门的门轴依靠哪一边, 并且开关门时会旋转.
  • 方法详细资料

    • getHinge

      获取 'hinge' 数据值.

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

      返回:
      门轴依靠哪一侧
    • setHinge

      void setHinge(@NotNull @NotNull Door.Hinge hinge)
      设置 'hinge' 数据值.

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

      参数:
      hinge - 门轴依靠哪一侧