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, toItemStack
public 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 MaterialData
public RedstoneWire clone()
clone
in class MaterialData
Copyright © 2019. All rights reserved.