This page relates to Thermal Expansion, which has built-in support!

Compression Dynamo / Compression Fuel

Link to compression-dynamo--compression-fuel

The following script will add 1000 mB of Water as a Fuel that produces 1000 RF.

ZenScript
Copy
// <recipetype:thermal:compression_fuel>.addFuel(String name, IFluidStack ingredient, int energy);
<recipetype:thermal:compression_fuel>.addFuel("compression_test", <fluid:minecraft:water> *1000, 1000);

The following script will remove Tree Oil as a Fuel.

ZenScript
Copy
// <recipetype:thermal:compression_fuel>.removeFuel(IFluidStack outputFluid);
<recipetype:thermal:compression_fuel>.removeFuel(<fluid:thermal:tree_oil>);