Cloneable
, Directional
Chest
, EnderChest
, FurnaceAndDispenser
BlockData
.@Deprecated public class DirectionalContainer extends MaterialData implements Directional
Constructor | Description |
---|---|
DirectionalContainer(Material type) |
Deprecated.
|
DirectionalContainer(Material type,
byte data) |
Deprecated.
Magic value
|
Modifier and Type | Method | Description |
---|---|---|
DirectionalContainer |
clone() |
Deprecated.
|
BlockFace |
getFacing() |
Deprecated.
Gets the direction this block is facing
|
void |
setFacingDirection(BlockFace face) |
Deprecated.
Sets the direction that this block is facing in
|
String |
toString() |
Deprecated.
|
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public DirectionalContainer(Material type)
@Deprecated public DirectionalContainer(Material type, byte data)
type
- the typedata
- the raw data valuepublic void setFacingDirection(BlockFace face)
Directional
setFacingDirection
in interface Directional
face
- The facing directionpublic BlockFace getFacing()
Directional
getFacing
in interface Directional
public String toString()
toString
in class MaterialData
public DirectionalContainer clone()
clone
in class MaterialData
Copyright © 2019. All rights reserved.