Package org.bukkit.material
Class Chest
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.DirectionalContainer
org.bukkit.material.Chest
- All Implemented Interfaces:
java.lang.Cloneable
,Directional
public class Chest extends DirectionalContainer
Represents a chest
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
Chest
public Chest() -
Chest
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- Parameters:
type
- the raw type id
-
Chest
-
Chest
@Deprecated public Chest(int type, byte data)Deprecated.Magic value- Parameters:
type
- the raw type iddata
- the raw data value
-
Chest
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
clone
- Overrides:
clone
in classDirectionalContainer
-