From 0abf0c33578d7dacf0abac026051b25b7e734ea2 Mon Sep 17 00:00:00 2001 From: Spicy Noodles <93035068+SpicyNoodle5@users.noreply.github.com> Date: Fri, 21 Nov 2025 05:29:31 +0000 Subject: [PATCH] Add assembler and smelting recipes for firmalife ovens (#2220) * Add assembler and smelting recipes for firmalife ovens * Add oven heating recipes * Update ids and changelog --------- Signed-off-by: Redeix Co-authored-by: Redeix --- kubejs/server_scripts/firmalife/recipes.js | 17 +++++++++++++++++ kubejs/server_scripts/tfc/recipes.machines.js | 11 +++++++++++ kubejs/startup_scripts/tfc/constants.js | 11 +++++++++++ 3 files changed, 39 insertions(+) diff --git a/kubejs/server_scripts/firmalife/recipes.js b/kubejs/server_scripts/firmalife/recipes.js index bffd93485..de40b9c9a 100644 --- a/kubejs/server_scripts/firmalife/recipes.js +++ b/kubejs/server_scripts/firmalife/recipes.js @@ -1015,4 +1015,21 @@ const registerFirmaLifeRecipes = (event) => { }, "duration": 16000 }).id('tfg:barrel/shosha_wheel') + + // #region Oven heating recipes + + event.recipes.tfc.heating(`firmalife:oven_top`, 1399) + .resultItem(`firmalife:cured_oven_top`) + .id(`tfg:heating/oven_top`) + event.recipes.tfc.heating(`firmalife:oven_chimney`, 1399) + .resultItem(`firmalife:cured_oven_chimney`) + .id(`tfg:heating/oven_chimney`) + event.recipes.tfc.heating(`firmalife:oven_bottom`, 1399) + .resultItem(`firmalife:cured_oven_bottom`) + .id(`tfg:heating/oven_bottom`) + event.recipes.tfc.heating(`firmalife:oven_hopper`, 1399) + .resultItem(`firmalife:cured_oven_hopper`) + .id(`tfg:heating/oven_hopper`) + + // #endregion } diff --git a/kubejs/server_scripts/tfc/recipes.machines.js b/kubejs/server_scripts/tfc/recipes.machines.js index d2f419575..319bbe004 100644 --- a/kubejs/server_scripts/tfc/recipes.machines.js +++ b/kubejs/server_scripts/tfc/recipes.machines.js @@ -131,6 +131,17 @@ function registerTFCMachineRecipes(event) { .EUt(2) } + for (let i = 0; i < global.TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS.length; i++) { + let element = global.TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS[i]; + + event.recipes.gtceu.assembler(`tfg:tfc/${element.name}`) + .itemInputs(element.input) + .circuit(i) + .itemOutputs(element.output) + .duration(450) + .EUt(2) + } + event.recipes.gtceu.extruder('tfg:unfired_clay_brick') .itemInputs('minecraft:clay_ball') .notConsumable('gtceu:ingot_extruder_mold') diff --git a/kubejs/startup_scripts/tfc/constants.js b/kubejs/startup_scripts/tfc/constants.js index 5486c4949..76cd2e962 100644 --- a/kubejs/startup_scripts/tfc/constants.js +++ b/kubejs/startup_scripts/tfc/constants.js @@ -800,6 +800,11 @@ global.TFC_FURNACE_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([ { input: "tfc:ceramic/unfired_vessel", output: "tfc:ceramic/vessel", name: "vessel" }, { input: "tfc:ceramic/unfired_large_vessel", output: "tfc:ceramic/large_vessel", name: "large_vessel" }, { input: "tfcchannelcasting:unfired_channel", output: "tfcchannelcasting:channel", name: "channel" }, + { input: "tfcchannelcasting:unfired_mold_table", output: "tfcchannelcasting:mold_table", name: "mold_table" }, + { input: "firmalife:oven_top", output: "firmalife:cured_oven_top", name: "oven_top" }, + { input: "firmalife:oven_chimney", output: "firmalife:cured_oven_chimney", name: "oven_chimney" }, + { input: "firmalife:oven_bottom", output: "firmalife:cured_oven_bottom", name: "oven_bottom" }, + { input: "firmalife:oven_hopper", output: "firmalife:cured_oven_hopper", name: "oven_hopper" }, { input: "tfcchannelcasting:unfired_mold_table", output: "tfcchannelcasting:mold_table", name: "mold_table" } ]); @@ -830,6 +835,12 @@ global.TFC_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([ { input: "5x minecraft:clay_ball", output: "tfc:ceramic/unfired_large_vessel", name: "large_vessel" }, { input: "5x minecraft:clay_ball", output: "tfcchannelcasting:unfired_heart_mold", name: "heart_mold" }, { input: "5x minecraft:clay_ball", output: "10x rnr:unfired_roof_tile", name: "roof_tile" }, + { input: "5x minecraft:clay_ball", output: "firmalife:oven_top", name: "oven_top" }, + { input: "5x minecraft:clay_ball", output: "firmalife:oven_chimney", name: "oven_chimney" }, + { input: "5x minecraft:clay_ball", output: "firmalife:oven_bottom", name: "oven_bottom" }, +]); + +global.TFC_FIRE_CLAY_TO_UNFIRED_MOLD_RECIPE_COMPONENTS = /** @type {const} */ ([ { input: "5x tfc:fire_clay", output: "tfc:ceramic/unfired_fire_ingot_mold", name: "fire_ingot_mold" }, { input: "5x tfc:fire_clay", output: "tfc:ceramic/unfired_crucible", name: "crucible" }, { input: "5x tfc:fire_clay", output: "tfcchannelcasting:unfired_channel", name: "channel" },