Class Ladder

All Implemented Interfaces:
Cloneable, Attachable, Directional

@Deprecated(forRemoval=true, since="1.13") public class Ladder extends SimpleAttachableMaterialData
Deprecated, for removal: This API element is subject to removal in a future version.
all usage of MaterialData is deprecated and subject to removal. Use BlockData.
Represents Ladder data
  • Constructor Details

    • Ladder

      public Ladder()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Ladder

      public Ladder(Material type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • Ladder

      @Deprecated public Ladder(Material type, byte data)
      Deprecated.
      Magic value
      Parameters:
      type - the type
      data - the raw data value
  • Method Details

    • getAttachedFace

      public BlockFace getAttachedFace()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the face that this block is attached on
      Returns:
      BlockFace attached to
    • setFacingDirection

      public void setFacingDirection(BlockFace face)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the direction this ladder is facing
      Parameters:
      face - The facing direction
    • clone

      public Ladder clone()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      clone in class SimpleAttachableMaterialData