A machine that can cast items from liquids and molds.

ZenScript
Copy
import mods.foundry.Casting;
ZenScript
Copy
// Adds a recipe with input liquid, mold item, (optional) extra item (cannot be an oredict), (optional) time in ticks to cast the item, and an output item to the metal caster
Casting.addRecipe(IItemStack output, ILiquidStack input, IItemStack mold, @Optional IIngredient extra, @Optional int ticks, @Ootional boolean consumesMold);

// Removes a recipe with the given input liquid, mold, and optionally the extra item from the metal caster
Casting.removeRecipe(ILiquidStack input, IItemStack mold, @Optional IItemStack extra);

// Clears all recipes from the metal caster
Casting.clear();