org.bukkit.material
Class RedstoneWire
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.RedstoneWire
- All Implemented Interfaces:
- Cloneable, Redstone
public class RedstoneWire
- extends MaterialData
- implements Redstone
Represents redstone wire
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)
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.