package ic2.api.energy.tile; import net.minecraftforge.common.util.ForgeDirection; public interface IHeatSource { /* * Return max heat transmission peer Tick (only theoretical bandwidth not available amount) */ int maxrequestHeatTick(ForgeDirection directionFrom); /* * @param requested amount of heat to transfer * * @return transmitted amount of heat * * example: You Request 100 units of heat but the Source have only 50 units left * * requestHeat(100) : return 50 : so 50 units of heat remove from HeatSource */ int requestHeat(ForgeDirection directionFrom, int requestheat); }