Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Thermal Expansion, which has built-in support!

Magmatic Dynamo / Magmatic Fuel

Methods

Add Fuel

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

script.zs
// <recipetype:thermal:magmatic_fuel>.addFuel(String name, IFluidStack ingredient, int energy);
<recipetype:thermal:magmatic_fuel>.addFuel("magmatic_test", <fluid:minecraft:water>, 1000);

Remove Fuel

The following script will remove Lava as a Fuel.

script.zs
// <recipetype:thermal:magmatic_fuel>.removeFuel(IFluidStack outputFluid);
<recipetype:thermal:magmatic_fuel>.removeFuel(<fluid:minecraft:lava>);