This page covers formats for casting items using the casting table or casting basin in Tinkers’ Construct since 1.16.

Item Casting

Item casting recipes define casting a fluid into a casting table to produce a standard item. Item casting recipes have two variants, tconstruct:casting_table for casting tables, and tconstruct:casting_basin for casting basins. Both variants have the following format:

  • (Object): The recipe object.
    • type (Resource Location): Either tconstruct:casting_table or tconstruct:casting_basin.
    • group (String): Recipe group for the recipe book, currently unused.
    • cast (Item Ingredient): Item that must be in the table to cast this item. If unset, this part is casted by pouring fluid on an empty table.
    • cast_consumed (Boolean): If true, the cast item is consumed when casting this item. If false (default), the cast item is preserved.
    • fluid (Fluid Ingredient): Fluid consumed to perform this casting recipe.
    • cooling_time (Integer): Time in ticks (1/20 of a second) for this recipe to finish cooling.
    • result (Item Output): Result item for the recipe.
    • switch_slots (Boolean): If true, after casting the item will be placed in the input and the cast in the output; used notably for cast creation. Defaults to false.

Cast Duplication

Since 1.20.1

The cast duplication recipe consumes the fluid to create a copy of the cast item in the output (including NBT if present). It is notably used for duplicating smithing templates by pouring molten diamond on top. Cast duplication has two variants, tconstruct:basin_duplication for casting basins, and tconstruct:table_duplication for casting tables. Both variants have the following format:

  • (Object): The recipe object.
    • type (Resource Location): Either tconstruct:table_duplication or tconstruct:basin_duplication.
    • group (String): Recipe group for the recipe book, currently unused.
    • cast (Item Ingredient): Item that must be in the table to cast this item. Cannot be empty.
    • fluid (Fluid Ingredient): Fluid consumed to perform this casting recipe.
    • cooling_time (Integer): Time in ticks (1/20 of a second) for this recipe to finish cooling.

Part Casting

There are two types of part casting recipes. The standard part casting recipes define casting a fluid into a casting table to produce a tool part or material item, which is covered on Part Recipes. Composite part casting recipes define casting a fluid on a tool part to change the material of the tool part, which is also covered on Part Recipes. Both part casting and composite casting require associating a fluid with a material, which is defined on Material Recipes.

Potion Casting

Potion casting recipes define casting a potion on an item to produce a potion item. It notably is used to cast potions, splash potions, lingering potions, and tipped arrows. This recipe has two variants, tconstruct:casting_table_potion for casting tables, and tconstruct:casting_basin_potion for casting basins. Both variants have the following format:

  • (Object): The recipe object.
    • type (Resource Location): Either tconstruct:casting_table_potion or tconstruct:casting_basin_potion.
    • group (String): Recipe group for the recipe book, currently unused.
    • bottle (Item Ingredient): Item that must be in the table to cast this item.
    • fluid (Fluid Ingredient): Fluid consumed to perform this casting recipe. Typically should be a fluid ingredient matching the fluid tag forge:potion, though the size may vary.
    • cooling_time (Integer): Time in ticks (1/20 of a second) for this recipe to finish cooling.
    • result (Item ID): Result item for the recipe. Expected to be an item that supports potion NBT, such as a potion, splash potion, lingering potion, or tipped arrow.

Container Filling

The container filling recipe defines filling a Forge fluid container using a fluid. Its designed for container items with a fixed size, but also supports filling containers that support incremental amounts in fixed increments.

This recipe has two variants, tconstruct:table_filling for filling fluid containers in the casting table, and tconstruct:basin_filling for filling fluid containers in the casting basin.

The container filling recipe has the following format:

  • (Object): The recipe object.
    • type (Resource Location): Either tconstruct:table_filling or tconstruct:basin_filling.
    • group (String): Recipe group for the recipe book, currently unused.
    • fluid_amount (Integer): Amount of fluid to use to fill the container, should match the container size.
    • container (Item ID): Container item to fill.