org.bukkit.material
Interface Redstone

All Known Implementing Classes:
Button, Command, Lever, PistonBaseMaterial, PoweredRail, RedstoneTorch, RedstoneWire, TripwireHook

public interface Redstone

Indicated a Material that may carry or create a Redstone current


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

Method Detail

isPowered

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

Returns:
true if powered, otherwise false


Copyright © 2013. All Rights Reserved.