Package org.bukkit.material
Class RedstoneWire
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.RedstoneWire
-
public class RedstoneWire extends MaterialData implements Redstone
Represents redstone wire
-
-
Constructor Summary
Constructors Constructor Description RedstoneWire()RedstoneWire(Material type)RedstoneWire(Material type, byte data)Deprecated.Magic value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RedstoneWireclone()booleanisPowered()Gets the current state of this Material, indicating if it's powered or unpoweredStringtoString()-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
RedstoneWire
public RedstoneWire()
-
RedstoneWire
public RedstoneWire(Material type)
-
RedstoneWire
@Deprecated public RedstoneWire(Material type, byte data)
Deprecated.Magic value- Parameters:
type- the typedata- the raw data value
-
-
Method Detail
-
isPowered
public boolean isPowered()
Gets the current state of this Material, indicating if it's powered or unpowered
-
toString
public String toString()
- Overrides:
toStringin classMaterialData
-
clone
public RedstoneWire clone()
- Overrides:
clonein classMaterialData
-
-