|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bukkit.material.MaterialData org.bukkit.material.RedstoneWire
public class RedstoneWire
Represents redstone wire
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
RedstoneWire |
clone()
|
boolean |
isPowered()
Gets the current state of this Material, indicating if it's powered or unpowered |
String |
toString()
|
Methods inherited from class org.bukkit.material.MaterialData |
---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RedstoneWire()
@Deprecated public RedstoneWire(int type)
public RedstoneWire(Material type)
@Deprecated public RedstoneWire(int type, byte data)
@Deprecated public RedstoneWire(Material type, byte data)
Method Detail |
---|
public boolean isPowered()
isPowered
in interface Redstone
public String toString()
toString
in class MaterialData
public RedstoneWire clone()
clone
in class MaterialData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |