Cloneable
, Directional
public 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, toString
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public 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 DirectionalContainer
Copyright © 2019. All rights reserved.