java.lang.Cloneable, DirectionalChest, EnderChest, FurnaceAndDispenserpublic class DirectionalContainer extends MaterialData implements Directional
| Constructor | Description | 
|---|---|
| DirectionalContainer(Material type) | |
| DirectionalContainer(Material type,
                    byte data) | Deprecated.
 Magic value | 
| Modifier and Type | Method | Description | 
|---|---|---|
| DirectionalContainer | clone() | |
| BlockFace | getFacing() | Gets the direction this block is facing | 
| void | setFacingDirection(BlockFace face) | Sets the direction that this block is facing in | 
| java.lang.String | toString() | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic DirectionalContainer(Material type)
@Deprecated public DirectionalContainer(Material type, byte data)
type - the typedata - the raw data valuepublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection in interface Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing in interface Directionalpublic java.lang.String toString()
toString in class MaterialDatapublic DirectionalContainer clone()
clone in class MaterialDataCopyright © 2018. All rights reserved.