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
public class Ladder
- extends SimpleAttachableMaterialData
Represents Ladder data
Ladder
public Ladder()
Ladder
public Ladder(int type)
Ladder
public Ladder(Material type)
Ladder
public Ladder(int type,
byte data)
Ladder
public Ladder(Material type,
byte data)
getAttachedFace
public BlockFace getAttachedFace()
- Gets the face that this block is attached on
- Returns:
- BlockFace attached to
setFacingDirection
public void setFacingDirection(BlockFace face)
- Sets the direction this ladder is facing
- Parameters:
face
- The facing direction
clone
public Ladder clone()
- Overrides:
clone
in class SimpleAttachableMaterialData
Copyright © 2013. All Rights Reserved.