public abstract class SimpleAttachableMaterialData extends MaterialData implements Attachable
| コンストラクタと説明 |
|---|
SimpleAttachableMaterialData(int type)
非推奨です。
Magic value
|
SimpleAttachableMaterialData(int type,
BlockFace direction) |
SimpleAttachableMaterialData(int type,
byte data)
非推奨です。
Magic value
|
SimpleAttachableMaterialData(Material type) |
SimpleAttachableMaterialData(Material type,
BlockFace direction) |
SimpleAttachableMaterialData(Material type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
SimpleAttachableMaterialData |
clone() |
BlockFace |
getFacing()
Gets the direction this block is facing
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackgetAttachedFacesetFacingDirection@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 インタフェース内 Directionalpublic String toString()
toString クラス内 MaterialDatapublic SimpleAttachableMaterialData clone()
clone クラス内 MaterialDataCopyright © 2016. All rights reserved.