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)
          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

RedstoneWire

public RedstoneWire()

RedstoneWire

@Deprecated
public RedstoneWire(int type)
Deprecated. Magic value


RedstoneWire

public RedstoneWire(Material type)

RedstoneWire

@Deprecated
public RedstoneWire(int type,
                               byte data)
Deprecated. Magic value


RedstoneWire

@Deprecated
public RedstoneWire(Material type,
                               byte data)
Deprecated. Magic value

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 © 2014. All rights reserved.