public class DirectionalContainer extends MaterialData implements Directional
| コンストラクタと説明 |
|---|
DirectionalContainer(int type)
非推奨です。
Magic value
|
DirectionalContainer(int type,
byte data)
非推奨です。
Magic value
|
DirectionalContainer(Material type) |
DirectionalContainer(Material type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
DirectionalContainer |
clone() |
BlockFace |
getFacing()
Gets the direction this block is facing
|
void |
setFacingDirection(BlockFace face)
Sets the direction that this block is facing in
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack@Deprecated public DirectionalContainer(int type)
type - the raw type idpublic DirectionalContainer(Material type)
@Deprecated public DirectionalContainer(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public DirectionalContainer(Material type, byte data)
type - the typedata - the raw data valuepublic void setFacingDirection(BlockFace face)
DirectionalsetFacingDirection インタフェース内 Directionalface - The facing directionpublic BlockFace getFacing()
DirectionalgetFacing インタフェース内 Directionalpublic String toString()
toString クラス内 MaterialDatapublic DirectionalContainer clone()
clone クラス内 MaterialDataCopyright © 2016. All rights reserved.