This page relates to Tinkers' Construct, which has built-in support!

Tinkers' Construct Molding Basin

Link to tinkers-construct-molding-basin

The Molding Basin is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe() and removeAll().

The following script adds a Molding Basin recipe that turns Dirt into a Diamond when it is Molded with Glass. The Glass is not consumed.

ZenScript
Copy
// <recipetype:tconstruct:molding_basin>.addRecipe(name as string, material as IIngredient, mold as IIngredient, moldConsumed as boolean, output as IItemStack)

<recipetype:tconstruct:molding_basin>.addRecipe("molding_basin_test", <item:minecraft:dirt>, <item:minecraft:glass>, false, <item:minecraft:diamond>);

The following script removes the Molding Basin recipe that turns Part Sand Casts (Gem Sand Cast, Pickaxe Head Sand Cast, etc) back into a Blank Sand Cast.

NOTE: This script is commented out as there are no default Tinkers recipes that are made in the Molding Basin to remove.

ZenScript
Copy
// <recipetype:tconstruct:molding_basin>.removeRecipe(output as IItemStack)

// <recipetype:tconstruct:molding_basin>.removeRecipe(<item:tconstruct:blank_sand_cast>);