Package org.bukkit.material
Class RedstoneWire
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.RedstoneWire
- All Implemented Interfaces:
java.lang.Cloneable
,Redstone
public class RedstoneWire extends MaterialData implements Redstone
Represents redstone wire
-
Constructor Summary
Constructors Constructor Description RedstoneWire()
RedstoneWire(int type)
Deprecated.Magic valueRedstoneWire(int type, byte data)
Deprecated.Magic valueRedstoneWire(Material type)
RedstoneWire(Material type, byte data)
Deprecated.Magic value -
Method Summary
Modifier and Type Method Description RedstoneWire
clone()
boolean
isPowered()
Gets the current state of this Material, indicating if it's powered or unpoweredjava.lang.String
toString()
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
RedstoneWire
public RedstoneWire() -
RedstoneWire
@Deprecated public RedstoneWire(int type)Deprecated.Magic value- Parameters:
type
- the raw type id
-
RedstoneWire
-
RedstoneWire
@Deprecated public RedstoneWire(int type, byte data)Deprecated.Magic value- Parameters:
type
- the raw type iddata
- the raw data value
-
RedstoneWire
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
Method Details
-
isPowered
public boolean isPowered()Gets the current state of this Material, indicating if it's powered or unpowered -
toString
public java.lang.String toString()- Overrides:
toString
in classMaterialData
-
clone
- Overrides:
clone
in classMaterialData
-