mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
Move the directory structure around to a more conventional one and start out on the 1.7 update.
3797 errors. We have a long way to go.
This commit is contained in:
1 parent
3a0de87a09
commit
ab47724473
1245 files changed
+1764
-5953
No files matched your search
@@ -0,0 +1,43 @@
|
||||
package mekanism.common;
|
||||
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
|
||||
public interface IRedstoneControl
|
||||
{
|
||||
public static enum RedstoneControl
|
||||
{
|
||||
DISABLED("control.disabled"),
|
||||
HIGH("control.high"),
|
||||
LOW("control.low");
|
||||
|
||||
private String display;
|
||||
|
||||
public String getDisplay()
|
||||
{
|
||||
return MekanismUtils.localize(display);
|
||||
}
|
||||
|
||||
private RedstoneControl(String s)
|
||||
{
|
||||
display = s;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the RedstoneControl type from this block.
|
||||
* @return this block's RedstoneControl type
|
||||
*/
|
||||
public RedstoneControl getControlType();
|
||||
|
||||
/**
|
||||
* Sets this block's RedstoneControl type to a new value.
|
||||
* @param type - RedstoneControl type to set
|
||||
*/
|
||||
public void setControlType(RedstoneControl type);
|
||||
|
||||
/**
|
||||
* If the block is getting powered or not by redstone (indirectly).
|
||||
* @return if the block is getting powered indirectly
|
||||
*/
|
||||
public boolean isPowered();
|
||||
}
|
||||
Reference in new issue
Block a user