public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable
| Constructor and Description |
|---|
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, hashCode, setData, toItemStack, toItemStackfinalize, getClass, notify, notifyAll, wait, wait, waitgetAttachedFacesetFacingDirectionpublic 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 © 2021. All rights reserved.