java.lang.Cloneable, Directionalpublic class Chest extends DirectionalContainer
| Constructor | Description | 
|---|---|
Chest() | 
|
Chest(int type) | 
 Deprecated.
 
Magic value 
 | 
Chest(int type,
     byte data) | 
 Deprecated.
 
Magic value 
 | 
Chest(BlockFace direction) | 
 Instantiate a chest facing in a particular direction. 
 | 
Chest(Material type) | 
|
Chest(Material type,
     byte data) | 
 Deprecated.
 
Magic value 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
Chest | 
clone() | 
getFacing, setFacingDirection, toStringequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Chest()
public Chest(BlockFace direction)
direction - the direction the chest's lit opens towards@Deprecated public Chest(int type)
type - the raw type idpublic Chest(Material type)
@Deprecated
public Chest(int type,
             byte data)
type - the raw type iddata - the raw data value@Deprecated public Chest(Material type, byte data)
type - the typedata - the raw data valuepublic Chest clone()
clone in class DirectionalContainerCopyright © 2018. All rights reserved.