org.bukkit.material
Class Ladder

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.SimpleAttachableMaterialData
          extended by org.bukkit.material.Ladder
All Implemented Interfaces:
Cloneable, Attachable, Directional

public class Ladder
extends SimpleAttachableMaterialData

Represents Ladder data


Constructor Summary
Ladder()
           
Ladder(int type)
          Deprecated. Magic value
Ladder(int type, byte data)
          Deprecated. Magic value
Ladder(Material type)
           
Ladder(Material type, byte data)
          Deprecated. Magic value
 
Method Summary
 Ladder clone()
           
 BlockFace getAttachedFace()
          Gets the face that this block is attached on
 void setFacingDirection(BlockFace face)
          Sets the direction this ladder is facing
 
Methods inherited from class org.bukkit.material.SimpleAttachableMaterialData
getFacing, toString
 
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Ladder

public Ladder()

Ladder

@Deprecated
public Ladder(int type)
Deprecated. Magic value


Ladder

public Ladder(Material type)

Ladder

@Deprecated
public Ladder(int type,
                         byte data)
Deprecated. Magic value


Ladder

@Deprecated
public Ladder(Material type,
                         byte data)
Deprecated. Magic value

Method Detail

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.