Package org.bukkit.material
Class RedstoneWire
- java.lang.Object
-
- org.bukkit.material.MaterialData
-
- org.bukkit.material.RedstoneWire
-
@Deprecated public class RedstoneWire extends MaterialData implements Redstone
Deprecated.all usage of MaterialData is deprecated and subject to removal. UseBlockData.Represents redstone wire
-
-
Constructor Summary
Constructors Constructor Description RedstoneWire()Deprecated.RedstoneWire(Material type)Deprecated.RedstoneWire(Material type, byte data)Deprecated.Magic value
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RedstoneWireclone()Deprecated.booleanisPowered()Deprecated.Gets the current state of this Material, indicating if it's powered or unpoweredStringtoString()Deprecated.-
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
-
-
-
Constructor Detail
-
RedstoneWire
public RedstoneWire()
Deprecated.
-
RedstoneWire
public RedstoneWire(Material type)
Deprecated.
-
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()
Deprecated.Gets the current state of this Material, indicating if it's powered or unpowered
-
toString
public String toString()
Deprecated.- Overrides:
toStringin classMaterialData
-
clone
public RedstoneWire clone()
Deprecated.- Overrides:
clonein classMaterialData
-
-