From fc7b7372bffeb706adfb199b485828f81f6a37cb Mon Sep 17 00:00:00 2001 From: Johannes <31400167+Johannesbrod@users.noreply.github.com> Date: Thu, 2 Oct 2025 22:19:58 +0200 Subject: [PATCH] Bugfix/fix birch and maple sugar recipe conflict (#1944) * Removed crafting recipe for turning suryp into sugar directly * Added sealed barrel recipe for turning syrup into sugar * Removed added lines from lang file --- kubejs/server_scripts/afc/recipes.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/kubejs/server_scripts/afc/recipes.js b/kubejs/server_scripts/afc/recipes.js index 7562e7d8e..5ec40fb12 100644 --- a/kubejs/server_scripts/afc/recipes.js +++ b/kubejs/server_scripts/afc/recipes.js @@ -16,6 +16,11 @@ const registerAFCRecipes = (event) => { event.remove({ id: "afc:pot/rubber" }) event.remove({ id: "afc:tree_tapping/hevea_latex" }) event.remove({ id: "afc:tree_tapping/rubber_fig_latex" }) + event.remove({ id: "afc:crafting/1_birch_sugar"}) + event.remove({ id: "afc:crafting/1_maple_sugar"}) + event.remove({ id: "afc:crafting/0_birch_sugar_bucket"}) + event.remove({ id: "afc:crafting/0_maple_sugar_bucket"}) + // #endregion @@ -366,6 +371,20 @@ const registerAFCRecipes = (event) => { .duration(20*12) .EUt(GTValues.VHA[GTValues.ULV]) + + // Syrup into sugar + + event.recipes.tfc.barrel_sealed(24000) + .inputFluid(Fluid.of('afc:maple_syrup', 100)) + .outputItem('afc:maple_sugar') + .id('tfg:barrel/maple_syrup_to_sugar') + + event.recipes.tfc.barrel_sealed(24000) + .inputFluid(Fluid.of('afc:birch_syrup', 100)) + .outputItem('afc:birch_sugar') + .id('tfg:barrel/birch_syrup_to_sugar') + + // Stripped logs global.AFC_WOOD_TYPES.forEach(wood => {