public class RedstoneWire extends MaterialData implements Redstone
构造器和说明 |
---|
RedstoneWire() |
RedstoneWire(int type)
已过时。
不安全的参数
|
RedstoneWire(int type,
byte data)
已过时。
不安全的参数
|
RedstoneWire(Material type) |
RedstoneWire(Material type,
byte data)
已过时。
不安全的参数
|
限定符和类型 | 方法和说明 |
---|---|
RedstoneWire |
clone() |
boolean |
isPowered()
这个物品有没有充能.
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public RedstoneWire()
@Deprecated public RedstoneWire(int type)
type
- the raw type idpublic RedstoneWire(Material type)
@Deprecated public RedstoneWire(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public RedstoneWire(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
在类中 MaterialData
public RedstoneWire clone()
clone
在类中 MaterialData