java.lang.Cloneable, Directionalpublic class Chest extends DirectionalContainer
| Constructor | Description | 
|---|---|
| Chest() | |
| 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, hashCode, setData, toItemStack, toItemStackpublic Chest()
public Chest(BlockFace direction)
direction - the direction the chest's lit opens towardspublic Chest(Material type)
@Deprecated public Chest(Material type, byte data)
type - the typedata - the raw data valuepublic Chest clone()
clone in class DirectionalContainerCopyright © 2018. All rights reserved.