Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.material.Ladder Class Reference

Represents Ladder data. More...

+ Inheritance diagram for org.bukkit.material.Ladder:
+ Collaboration diagram for org.bukkit.material.Ladder:

Public Member Functions

 Ladder ()
 
 Ladder (final int type)
 
 Ladder (final Material type)
 
 Ladder (final int type, final byte data)
 
 Ladder (final Material type, final byte data)
 
BlockFace getAttachedFace ()
 Gets the face that this block is attached on.
 
void setFacingDirection (BlockFace face)
 Sets the direction this ladder is facing.
 
Ladder clone ()
 
- Public Member Functions inherited from org.bukkit.material.SimpleAttachableMaterialData
 SimpleAttachableMaterialData (int type)
 
 SimpleAttachableMaterialData (int type, BlockFace direction)
 
 SimpleAttachableMaterialData (Material type, BlockFace direction)
 
 SimpleAttachableMaterialData (Material type)
 
 SimpleAttachableMaterialData (int type, byte data)
 
 SimpleAttachableMaterialData (Material type, byte data)
 
BlockFace getFacing ()
 
String toString ()
 
SimpleAttachableMaterialData clone ()
 
- Public Member Functions inherited from org.bukkit.material.MaterialData
 MaterialData (final int type)
 
 MaterialData (final Material type)
 
 MaterialData (final int type, final byte data)
 
 MaterialData (final Material type, final byte data)
 
byte getData ()
 Gets the raw data in this material.
 
void setData (byte data)
 Sets the raw data of this material.
 
Material getItemType ()
 Gets the Material that this MaterialData represents.
 
int getItemTypeId ()
 Gets the Material Id that this MaterialData represents.
 
ItemStack toItemStack ()
 Creates a new ItemStack based on this MaterialData.
 
ItemStack toItemStack (int amount)
 Creates a new ItemStack based on this MaterialData.
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 
MaterialData clone ()
 
- Public Member Functions inherited from org.bukkit.material.Attachable
BlockFace getAttachedFace ()
 Gets the face that this block is attached on.
 
- Public Member Functions inherited from org.bukkit.material.Directional
void setFacingDirection (BlockFace face)
 Sets the direction that this block is facing in.
 
BlockFace getFacing ()
 Gets the direction this block is facing.
 

Detailed Description

Represents Ladder data.

Definition at line 9 of file Ladder.java.

Constructor & Destructor Documentation

org.bukkit.material.Ladder.Ladder ( )

Definition at line 10 of file Ladder.java.

References org.bukkit.Material.LADDER.

org.bukkit.material.Ladder.Ladder ( final int  type)

Definition at line 14 of file Ladder.java.

org.bukkit.material.Ladder.Ladder ( final Material  type)

Definition at line 18 of file Ladder.java.

org.bukkit.material.Ladder.Ladder ( final int  type,
final byte  data 
)

Definition at line 22 of file Ladder.java.

org.bukkit.material.Ladder.Ladder ( final Material  type,
final byte  data 
)

Definition at line 26 of file Ladder.java.

Member Function Documentation

Ladder org.bukkit.material.Ladder.clone ( )

Definition at line 84 of file Ladder.java.

References org.bukkit.material.Ladder.clone().

Referenced by org.bukkit.material.Ladder.clone().

BlockFace org.bukkit.material.Ladder.getAttachedFace ( )

Gets the face that this block is attached on.

Returns
BlockFace attached to

Definition at line 35 of file Ladder.java.

References org.bukkit.block.BlockFace.EAST, org.bukkit.material.MaterialData.getData(), org.bukkit.block.BlockFace.NORTH, org.bukkit.block.BlockFace.SOUTH, and org.bukkit.block.BlockFace.WEST.

void org.bukkit.material.Ladder.setFacingDirection ( BlockFace  face)

Sets the direction this ladder is facing.

Definition at line 58 of file Ladder.java.

References org.bukkit.material.MaterialData.setData().


The documentation for this class was generated from the following file: