Files
EnderIO/common/cofh/api/tileentity/IRedstoneControl.java
T
2013-12-28 17:48:54 +08:00

28 lines
591 B
Java

package cofh.api.tileentity;
/**
* Implement this interface on Tile Entities which have redstone control functionality.
*
* @author King Lemming
*
*/
public interface IRedstoneControl {
public boolean getControlDisable();
public boolean getControlSetting();
public boolean setControlDisable(boolean disable);
public boolean setControlSetting(boolean state);
public boolean setRedstoneConfig(boolean disable, boolean state);
public boolean isPowered();
public void handlePowerUpdate(boolean powered);
public void handleConfigUpdate(boolean disable, boolean state);
}