Skip to content

Casting Recipe JSON

Princess edited this page Jan 25, 2021 · 16 revisions

Shared Keys

Item casting and material casting share these keys:
switch_slots: Boolean. Defaults to false. Set to true to force the recipe to put the recipe output into the cast slot.
cast: Ingredient. Optional. Item required to be in the cast slot for the recipe.
cast_consumed: Boolean. Defaults to false. Whether the recipe consumes the item in the cast slot.

Item Casting

Keys

type: Must be either "tconstruct:casting_basin" or "tconstruct:casting_table".
fluid: FluidIngredient. The fluid required to cast the item.
result: ItemOutput. Casting result.
cooling_time: Integer. Time to finish the recipe. In ticks.

Example

{
  "type": "tconstruct:casting_basin",
  "fluid": {
    "name": "tconstruct:molten_cobalt",
    "amount": 1296
  },
  "result": "tconstruct:cobalt_block",
  "cooling_time": 225
}

Material Casting

Keys

type: Must be either "tconstruct:basin_casting_material" or "tconstruct:table_casting_material".
fluid_amount: Integer. The amount of fluid required. In millibuckets.
result: IMaterialItem. Output part type.

Example

{
  "type": "tconstruct:table_casting_material",
  "cast": {
    "item": "tconstruct:pickaxe_head_cast"
  },
  "fluid_amount": 288,
  "result": "tconstruct:pickaxe_head"
}

Container Filling

Keys

Clone this wiki locally