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

Magma Crucible / Crucible

Link to magma-crucible--crucible

The following script will add a recipe that will output 250 mB of Lava by Melting a Diamond, consuming 500 RF.

ZenScript
Copy
// <recipetype:thermal:crucible>.addRecipe(String name, IFluidStack output, IIngredient ingredient, int energy);
<recipetype:thermal:crucible>.addRecipe("crucible_test", <fluid:minecraft:lava> *250, <item:minecraft:diamond>, 500);

The following script will remove all Crucible recipes that output Lava.

ZenScript
Copy
// <recipetype:thermal:crucible>.removeRecipe(IFluidStack output);
<recipetype:thermal:crucible>.removeRecipe(<fluid:minecraft:lava>);