RedstoneTorch MaterialData + Redstone interface
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
15
paper-api/src/main/java/org/bukkit/material/Redstone.java
Normal file
15
paper-api/src/main/java/org/bukkit/material/Redstone.java
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user