mods.thermalexpansion.Refinery

Refinery.addRecipe(output, outputItem, input, energy);

ZenScript
Copy
import mods.thermalexpansion.Refinery;

// Adds a recipe that outputs 1mB of lava and a diamond (at a 100% chance) per 1mB of water
Refinery.addRecipe(<liquid:lava>, <minecraft:diamond>, <liquid:water>, 50);

// Adds a recipe that outputs 5mB of lava and a diamond (at a 1% chance) per 100mB of water
Refinery.addRecipe(<liquid:lava> * 5, <minecraft:diamond> % 1, <liquid:water> * 100, 50);

Adding a Potion Recipe

Link to adding-a-potion-recipe

Adds a recipe to be used with the Alchemical Retort Augmentation

Refinery.addRecipePotion(output, input, energy);

ZenScript
Copy
import mods.thermalexpansion.Refinery;

Refinery.addRecipePotion(<liquid:potion>.withTag({Potion: "minecraft:mundane"}) * 500, <liquid:potion>.withTag({Potion: "cofhcore:leaping4"}) * 100, 100);

Removing a Recipe

Link to removing-a-recipe

Refinery.removeRecipe(input);

ZenScript
Copy
import mods.thermalexpansion.Refinery;

Refinery.removeRecipe(<liquid:resin>);

Removing a Potion Recipe

Link to removing-a-potion-recipe

Refinery.removeRecipePotion(input);

ZenScript
Copy
import mods.thermalexpansion.Refinery;

Refinery.removeRecipePotion(<liquid:potion_lingering>.withTag({Potion: "cofhcore:healing3"}));