public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable
Constructor and Description |
---|
SimpleAttachableMaterialData(int type)
Deprecated.
Magic value
|
SimpleAttachableMaterialData(int type,
BlockFace direction) |
SimpleAttachableMaterialData(int type,
byte data)
Deprecated.
Magic value
|
SimpleAttachableMaterialData(Material type) |
SimpleAttachableMaterialData(Material type,
BlockFace direction) |
SimpleAttachableMaterialData(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
SimpleAttachableMaterialData |
clone() |
BlockFace |
getFacing()
Gets the direction this block is facing
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
finalize, getClass, notify, notifyAll, wait, wait, wait
getAttachedFace
setFacingDirection
@Deprecated public SimpleAttachableMaterialData(int type)
public SimpleAttachableMaterialData(int type, BlockFace direction)
public SimpleAttachableMaterialData(Material type, BlockFace direction)
public SimpleAttachableMaterialData(Material type)
@Deprecated public SimpleAttachableMaterialData(int type, byte data)
@Deprecated public SimpleAttachableMaterialData(Material type, byte data)
public BlockFace getFacing()
Directional
getFacing
in interface Directional
public String toString()
toString
in class MaterialData
public SimpleAttachableMaterialData clone()
clone
in class MaterialData
Copyright © 2014. All rights reserved.