Cloneable, Attachable, DirectionalBlockData.@Deprecated public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable
| Constructor | Description |
|---|---|
SimpleAttachableMaterialData(Material type) |
Deprecated.
|
SimpleAttachableMaterialData(Material type,
byte data) |
Deprecated.
Magic value
|
SimpleAttachableMaterialData(Material type,
BlockFace direction) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
SimpleAttachableMaterialData |
clone() |
Deprecated.
|
BlockFace |
getFacing() |
Deprecated.
Gets the direction this block is facing
|
String |
toString() |
Deprecated.
|
getAttachedFacesetFacingDirectionequals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic SimpleAttachableMaterialData(Material type, BlockFace direction)
public SimpleAttachableMaterialData(Material type)
@Deprecated public SimpleAttachableMaterialData(Material type, byte data)
type - the typedata - the raw data valuepublic BlockFace getFacing()
DirectionalgetFacing in interface Directionalpublic String toString()
toString in class MaterialDatapublic SimpleAttachableMaterialData clone()
clone in class MaterialDataCopyright © 2019. All rights reserved.