org.bukkit.material
Class Chest

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.DirectionalContainer
          extended by org.bukkit.material.Chest
All Implemented Interfaces:
Cloneable, Directional

public class Chest
extends DirectionalContainer

Represents a chest


Constructor Summary
Chest()
           
Chest(BlockFace direction)
          Instantiate a chest facing in a particular direction.
Chest(int type)
           
Chest(int type, byte data)
           
Chest(Material type)
           
Chest(Material type, byte data)
           
 
Method Summary
 Chest clone()
           
 
Methods inherited from class org.bukkit.material.DirectionalContainer
getFacing, setFacingDirection, 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

Chest

public Chest()

Chest

public Chest(BlockFace direction)
Instantiate a chest facing in a particular direction.

Parameters:
direction - the direction the chest's lit opens towards

Chest

public Chest(int type)

Chest

public Chest(Material type)

Chest

public Chest(int type,
             byte data)

Chest

public Chest(Material type,
             byte data)
Method Detail

clone

public Chest clone()
Overrides:
clone in class DirectionalContainer


Copyright © 2013. All Rights Reserved.