public class Command extends MaterialData implements Redstone
| コンストラクタと説明 |
|---|
Command() |
Command(int type)
非推奨です。
Magic value
|
Command(int type,
byte data)
非推奨です。
Magic value
|
Command(Material type) |
Command(Material type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Command |
clone() |
boolean |
isPowered()
Gets the current state of this Material, indicating if it's powered or
unpowered
|
void |
setPowered(boolean bool)
Sets the current state of this Material
|
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic Command()
@Deprecated public Command(int type)
type - the raw type idpublic Command(Material type)
@Deprecated public Command(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public Command(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPowered()
public void setPowered(boolean bool)
bool - whether or not the command block is poweredpublic String toString()
toString クラス内 MaterialDatapublic Command clone()
clone クラス内 MaterialDataCopyright © 2016. All rights reserved.