blob: 124916bed4b58eea63cf0ad408f22cf400011051 [file] [log] [blame] [raw]
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);
}