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