org.bukkit.material
Class RedstoneWire

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.RedstoneWire
All Implemented Interfaces:
Cloneable, Redstone

public class RedstoneWire
extends MaterialData
implements Redstone

Represents redstone wire


Constructor Summary
RedstoneWire()
           
RedstoneWire(int type)
           
RedstoneWire(int type, byte data)
           
RedstoneWire(Material type)
           
RedstoneWire(Material type, byte data)
           
 
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

RedstoneWire

public RedstoneWire()

RedstoneWire

public RedstoneWire(int type)

RedstoneWire

public RedstoneWire(Material type)

RedstoneWire

public RedstoneWire(int type,
                    byte data)

RedstoneWire

public RedstoneWire(Material type,
                    byte data)
Method Detail

isPowered

public boolean isPowered()
Gets the current state of this Material, indicating if it's powered or unpowered

Specified by:
isPowered in interface Redstone
Returns:
true if powered, otherwise false

toString

public String toString()
Overrides:
toString in class MaterialData

clone

public RedstoneWire clone()
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.