public class RedstoneWire extends MaterialData implements Redstone
| Constructor | Description |
|---|---|
RedstoneWire() |
|
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
|
String |
toString() |
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic RedstoneWire()
public RedstoneWire(Material type)
@Deprecated public RedstoneWire(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPowered()
public String toString()
toString in class MaterialDatapublic RedstoneWire clone()
clone in class MaterialDataCopyright © 2020. All rights reserved.