RedstoneTorch MaterialData + Redstone interface

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-01-15 20:30:27 +00:00
parent da00145da7
commit 7314f0ade2
2 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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();
}