Molding Recipes
This page covers recipes for transforming the item in a casting basin or casting table by using another item on the table.
Molding recipes are run when a player holding an item interacts with a casting table or casting basin, which will attempt to transform the item in the table or basin as the second items is placed. In addition, if that recipe is unsuccessful, or the player’s hand is empty, a molding recipe with an empty mold will run upon attempting to pick up the item in the table, transforming it upon pickup.
Molding
Basic molding recipes are primarily used in the creation of sand casts, where placing a tool part or other item shapes a sand cast based on the shape of the held item. In addition, they are used to unify sand cast variants upon pickup.
Molding recipes have two variants: tconstruct:molding_table
is used when interacting with casting tables, and tconsturct:molding_basin
is used when interacting with casting basins. Both variants have the following format:
tconstruct:molding_table
ortconsturct:molding_basin
.
Either - Ingredient matching the item already in the table.
- Ingredient matching the item held by the player. If unset, this recipe instead runs on item pickup and ignores the held item.
- If true, the item held by the player is consumed when the recipe is performed. If false (default), the item is placed in the table.
material
in the table or basin. Ifpattern
is unset, this item will replacematerial
on pickup.
Item to replace
The recipe object.