Files
Paper/paper-api/src/main/java/org/bukkit/material/Redstone.java
2011-01-15 20:30:27 +00:00

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();
}