blob: 425546ad235471b0c6d839dd83ee28f716e3e521 [file] [log] [blame] [raw]
package universalelectricity.implement;
/**
* OPTIONAL
* This interface should be applied onto all tile entities that needs to receive redstone power.
* Look at TileEntityBatteryBox for reference.
* @author Calclavia
*
*/
public interface IRedstoneReceptor
{
/**
* Called when the block is powered on by redstone
*/
public void onPowerOn();
/**
* Called when the block is powered off by redstone
*/
public void onPowerOff();
}