类 Ladder

所有已实现的接口:
Cloneable, Attachable, Directional

@Deprecated(since="1.14.1") public class Ladder extends SimpleAttachableMaterialData
已过时。
所有 MaterialData 的用法均已弃用且将被移除. 请使用 BlockData.
代表梯子数据。
  • 构造器详细资料

    • Ladder

      public Ladder()
      已过时。
    • Ladder

      public Ladder(Material type)
      已过时。
    • Ladder

      @Deprecated(since="1.6.2") public Ladder(Material type, byte data)
      已过时。
      魔法值
      参数:
      type - 物品类型
      data - 原始数据值
  • 方法详细资料

    • getAttachedFace

      public BlockFace getAttachedFace()
      已过时。
      获取此方块所附着的面。

      原文:Gets the face that this block is attached on

      返回:
      BlockFace attached to
    • setFacingDirection

      public void setFacingDirection(BlockFace face)
      已过时。
      设置此梯子面向的方向。

      原文:Sets the direction this ladder is facing

      参数:
      face - 朝向
    • clone

      public Ladder clone()
      已过时。
      覆盖:
      clone 在类中 SimpleAttachableMaterialData