Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Redstone.java
1 package org.bukkit.material;
2 
3 /**
4  * Indicated a Material that may carry or create a Redstone current
5  */
6 public interface Redstone {
7 
8  /**
9  * Gets the current state of this Material, indicating if it's powered or
10  * unpowered
11  *
12  * @return true if powered, otherwise false
13  */
14  public boolean isPowered();
15 }