Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.material.Chest Class Reference
Inheritance diagram for org.bukkit.material.Chest:
org.bukkit.material.DirectionalContainer org.bukkit.material.MaterialData org.bukkit.material.Directional

Public Member Functions

 Chest (BlockFace direction)
 
 Chest (final int type)
 
 Chest (final Material type)
 
 Chest (final int type, final byte data)
 
 Chest (final Material type, final byte data)
 
Chest clone ()
 
- Public Member Functions inherited from org.bukkit.material.DirectionalContainer
 DirectionalContainer (final int type)
 
 DirectionalContainer (final Material type)
 
 DirectionalContainer (final int type, final byte data)
 
 DirectionalContainer (final Material type, final byte data)
 
void setFacingDirection (BlockFace face)
 
BlockFace getFacing ()
 
String toString ()
 
DirectionalContainer 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 ()
 
void setData (byte data)
 
Material getItemType ()
 
int getItemTypeId ()
 
ItemStack toItemStack ()
 
ItemStack toItemStack (int amount)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 
MaterialData clone ()
 

Detailed Description

Represents a chest

Definition at line 9 of file material/Chest.java.

Constructor & Destructor Documentation

org.bukkit.material.Chest.Chest ( BlockFace  direction)

Instantiate a chest facing in a particular direction.

Parameters
directionthe direction the chest's lit opens towards

Definition at line 20 of file material/Chest.java.

References org.bukkit.material.DirectionalContainer.setFacingDirection().

20  {
21  this();
22  setFacingDirection(direction);
23  }
org.bukkit.material.Chest.Chest ( final int  type)
Deprecated:
Magic value

Definition at line 30 of file material/Chest.java.

30  {
31  super(type);
32  }
org.bukkit.material.Chest.Chest ( final int  type,
final byte  data 
)
Deprecated:
Magic value

Definition at line 43 of file material/Chest.java.

43  {
44  super(type, data);
45  }
org.bukkit.material.Chest.Chest ( final Material  type,
final byte  data 
)
Deprecated:
Magic value

Definition at line 52 of file material/Chest.java.

52  {
53  super(type, data);
54  }

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