This page covers the formats for casting items using the casting table or casting basin.

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.

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.