public class RedstoneTorch extends Torch implements Redstone
| コンストラクタと説明 |
|---|
RedstoneTorch() |
RedstoneTorch(int type)
非推奨です。
Magic value
|
RedstoneTorch(int type,
byte data)
非推奨です。
Magic value
|
RedstoneTorch(Material type) |
RedstoneTorch(Material type,
byte data)
非推奨です。
Magic value
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
RedstoneTorch |
clone() |
boolean |
isPowered()
Gets the current state of this Material, indicating if it's powered or
unpowered
|
String |
toString() |
getAttachedFace, setFacingDirectiongetFacingequals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic RedstoneTorch()
@Deprecated public RedstoneTorch(int type)
type - the raw type idpublic RedstoneTorch(Material type)
@Deprecated public RedstoneTorch(int type, byte data)
type - the raw type iddata - the raw data value@Deprecated public RedstoneTorch(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPowered()
public String toString()
toString クラス内 SimpleAttachableMaterialDatapublic RedstoneTorch clone()
Copyright © 2016. All rights reserved.