java.lang.Cloneable
, Redstone
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
|
java.lang.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 java.lang.String toString()
toString
in class MaterialData
public RedstoneWire clone()
clone
in class MaterialData
Copyright © 2018. All rights reserved.