public class RedstoneWire extends MaterialData implements Redstone
Constructor and 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 and Description |
---|---|
RedstoneWire |
clone() |
boolean |
isPowered()
Gets the current state of this Material, indicating if it's powered or
unpowered
|
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()
public String toString()
toString
in class MaterialData
public RedstoneWire clone()
clone
in class MaterialData
Copyright © 2021. All rights reserved.