Mekanism-tilera-Edition/common/cofh/api/tileentity/IEnergyInfo.java
2013-11-14 21:58:32 -05:00

21 lines
435 B
Java

package cofh.api.tileentity;
/**
* Implement this interface on Tile Entities which can report information about their energy usage.
*
* This is used for reporting purposes - Energy transactions should be handled through IEnergyHandler!
*
* @author King Lemming
*
*/
public interface IEnergyInfo {
public int getEnergyPerTick();
public int getMaxEnergyPerTick();
public int getEnergy();
public int getMaxEnergy();
}