16 lines
335 B
Java
16 lines
335 B
Java
package org.bukkit.material;
|
|
|
|
/**
|
|
* Indicated a Material that may carry or create a Redstone current
|
|
*/
|
|
public interface Redstone {
|
|
|
|
/**
|
|
* Gets the current state of this Material, indicating if it's powered or
|
|
* unpowered
|
|
*
|
|
* @return true if powered, otherwise false
|
|
*/
|
|
public boolean isPowered();
|
|
}
|