Combustion Engine
Link to combustion-engine
Requires BuildCraft Energy
Class path: mods.buildcraft.CombustionEngine
Use
Link to use
To use, import the class with import mods.buildcraft.CombustionEngine;
at the beginning of your script.
Adding a Clean Fuel
Link to adding-a-clean-fuel
CombustionEngine.addCleanFuel(liquid, powerPerTick, timePerBucket);
liquid
<ILiquidStack> The liquid to be used as fuelpowerPerTick
<double> Power output in MJ per ticktimePerBucket
<int> Amount of ticks that 1,000 mB (1 bucket) should run for
ZenScript Copyimport mods.buildcraft.CombustionEngine;
CombustionEngine.addCleanFuel(<liquid:iron>, 32.0, 1200);
Adding a Dirty Fuel
Link to adding-a-dirty-fuel
CombustionEngine.addDirtyFuel(lFuel, powerPerTick, timePerBucket, lResidue);
lFuel
<ILiquidStack> The liquid to be used as fuelpowerPerTick
<double> Power output in MJ per ticktimePerBucket
<int> Amount of ticks that 1,000 mB (1 bucket) should run forlResidue
<ILiquidStack> The residue fluid, per bucket of the original fuel
ZenScript Copyimport mods.buildcraft.CombustionEngine;
CombustionEngine.addDirtyFuel(<liquid:iron>, 32.0, 1200, <liquid:water>);