-
Notifications
You must be signed in to change notification settings - Fork 868
Casting Recipe JSON
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.
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.
{
"type": "tconstruct:casting_basin",
"fluid": {
"name": "tconstruct:molten_cobalt",
"amount": 1296
},
"result": "tconstruct:cobalt_block",
"cooling_time": 225
}
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.
{
"type": "tconstruct:table_casting_material",
"cast": {
"item": "tconstruct:pickaxe_head_cast"
},
"fluid_amount": 288,
"result": "tconstruct:pickaxe_head"
}
type: Unknown at the time. Presumably "tconstruct:basin_composite" or "tconstruct:table_composite".
input: MaterialId. The material of the input tool part.
fluid: FluidIngredient. The fluid required to cast the item.
result: MaterialId. The material of the output tool part.
temperature: Integer. Used to calculate casting time based on part size.
{
"type": "tconstruct:table_composite",
"input": "tconstruct:bone",
"fluid": {
"name": "tconstruct:fruit_juice",
"amount": 65536
},
"result": "tconstruct:bone_hurting_material",
"temperature": 1666
}
type: Must be either "tconstruct:basin_filling" or "tconstruct:table_filling".
fluid_amount: Integer. The amount of fluid required. In millibuckets.
container: IFluidHandlerItem. The container to be filled.
{
"type": "tconstruct:table_filling",
"fluid_amount": 1000,
"container": "minecraft:bucket"
}