public class Chest extends DirectionalContainer
| Constructor and Description | 
|---|
| 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 | 
| Modifier and Type | Method and 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 © 2016. All rights reserved.