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)
          Deprecated. Magic value
Chest(int type, byte data)
          Deprecated. Magic value
Chest(Material type)
           
Chest(Material type, byte data)
          Deprecated. Magic value
 
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

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


Chest

public Chest(Material type)

Chest

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


Chest

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

Method Detail

clone

public Chest clone()
Overrides:
clone in class DirectionalContainer


Copyright © 2013. All Rights Reserved.