java.lang.Cloneable, Redstonepublic class RedstoneWire extends MaterialData implements Redstone
| Constructor | Description |
|---|---|
RedstoneWire() |
|
RedstoneWire(int type) |
Deprecated.
Magic value
|
RedstoneWire(int type,
byte data) |
Deprecated.
Magic value
|
RedstoneWire(Material type) |
|
RedstoneWire(Material type,
byte data) |
Deprecated.
Magic value
|
| Modifier and Type | Method | Description |
|---|---|---|
RedstoneWire |
clone() |
|
boolean |
isPowered() |
Gets the current state of this Material, indicating if it's powered or
unpowered
|
java.lang.String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStackpublic 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()
public java.lang.String toString()
toString in class MaterialDatapublic RedstoneWire clone()
clone in class MaterialDataCopyright © 2018. All rights reserved.