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

Tinkers' Construct Molding Table

Link to tinkers-construct-molding-table

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

Rezept hinzufügen

Link to rezept-hinzufügen

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

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

<recipetype:tconstruct:molding_table>.addRecipe("molding_table_test", <item:minecraft:glass>, <item:minecraft:dirt>, false, <item:minecraft:stick>);

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

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

<recipetype:tconstruct:molding_table>.removeRecipe(<item:tconstruct:blank_red_sand_cast>);