Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Tinkers’ Construct, which has built-in support!

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().

Methods

Add Recipe

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.

script.zs
// <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>);

Remove Recipes

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.

script.zs
// <recipetype:tconstruct:molding_table>.removeRecipe(output as IItemStack)
<recipetype:tconstruct:molding_table>.removeRecipe(<item:tconstruct:blank_red_sand_cast>);