2013-09-28 03:54:01 +02:00
|
|
|
package ic2.api.recipe;
|
|
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
import net.minecraftforge.fluids.Fluid;
|
|
|
|
|
|
|
|
|
|
|
|
public interface ISemiFluidFuelManager extends ILiquidAcceptManager {
|
|
|
|
/**
|
|
|
|
* Add a new fluid to the semi fluid generator.
|
|
|
|
*
|
|
|
|
* @param fluidName the fluid to burn
|
|
|
|
* @param amount amount of fluid to consume per tick
|
|
|
|
* @param power amount of energy generated per tick
|
|
|
|
*/
|
|
|
|
void addFluid(String fluidName, int amount, double power);
|
|
|
|
|
|
|
|
BurnProperty getBurnProperty(Fluid fluid);
|
|
|
|
|
|
|
|
Map<String, BurnProperty> getBurnProperties();
|
|
|
|
|
|
|
|
|
|
|
|
public static class BurnProperty {
|
2014-02-14 23:55:34 +01:00
|
|
|
public BurnProperty(int amount1, double power1) {
|
|
|
|
this.amount = amount1;
|
|
|
|
this.power = power1;
|
2013-09-28 03:54:01 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public final int amount;
|
|
|
|
public final double power;
|
|
|
|
}
|
|
|
|
}
|