Package org.bukkit.material
Class Ladder
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SimpleAttachableMaterialData
org.bukkit.material.Ladder
- All Implemented Interfaces:
Cloneable
,Attachable
,Directional
@Deprecated public class Ladder extends SimpleAttachableMaterialData
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData
.Represents Ladder data
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Ladder
clone()
Deprecated.BlockFace
getAttachedFace()
Deprecated.Gets the face that this block is attached onvoid
setFacingDirection(BlockFace face)
Deprecated.Sets the direction this ladder is facingMethods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Method Details
-
getAttachedFace
Deprecated.Gets the face that this block is attached on- Returns:
- BlockFace attached to
-
setFacingDirection
Deprecated.Sets the direction this ladder is facing- Parameters:
face
- The facing direction
-
clone
Deprecated.- Overrides:
clone
in classSimpleAttachableMaterialData
-