java
Copy
import mods.ic2.Sawmill;
ZenScript
Copy
mods.ic2.Sawmill.addRecipe(IItemStack output, IIngredient input);

mods.ic2.Sawmill.addRecipe(<minecraft:diamond_block>, <minecraft:dirt> * 64);

To remove an already existing recipe, simply disable the corresponding recipe in config/ic2/ic2machineRecipes.json.