Cloneable, Directional@Deprecated public class Chest extends DirectionalContainer
BlockData.| Constructor | Description | 
|---|---|
| Chest() | Deprecated. | 
| Chest(BlockFace direction) | Deprecated. Instantiate a chest facing in a particular direction. | 
| Chest(Material type) | Deprecated. | 
| Chest(Material type,
     byte data) | Deprecated.
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Chest | clone() | Deprecated. | 
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 © 2020. All rights reserved.