public class RedstoneTorch extends Torch implements Redstone
构造器和说明 |
---|
RedstoneTorch() |
RedstoneTorch(int type)
已过时。
不安全的参数
|
RedstoneTorch(int type,
byte data)
已过时。
不安全的参数
|
RedstoneTorch(Material type) |
RedstoneTorch(Material type,
byte data)
已过时。
不安全的参数
|
限定符和类型 | 方法和说明 |
---|---|
RedstoneTorch |
clone() |
boolean |
isPowered()
获取这个红石火把是否充能.
|
java.lang.String |
toString() |
getAttachedFace, setFacingDirection
getFacing
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public 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()
原文:Gets the current state of this Material, indicating if it's powered or unpowered
public java.lang.String toString()
toString
在类中 SimpleAttachableMaterialData
public RedstoneTorch clone()