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