From 36125f7d5d699885259ccd462b83fb89890bb133 Mon Sep 17 00:00:00 2001 From: OLOXpl <125832723+OLOXpl@users.noreply.github.com> Date: Sun, 1 Feb 2026 22:45:44 +0100 Subject: [PATCH] Dye mixing (#2938) * Update recipes.dyes.js added base 9 dye mixing as fluids + 2 custom ones as stated in the issue #2818 * Revert "Update recipes.dyes.js" This reverts commit b06ed24bf42fafc4233c6c6278fa5199e5542bfd. * Update recipes.dyes.js added base 9 dye mixing as fluids + 2 custom ones as stated in the issue #2818 attempt nr 2 * barrel recipe barrel recipes and fix due to my colour blindness (; --------- Signed-off-by: OLOXpl <125832723+OLOXpl@users.noreply.github.com> --- kubejs/server_scripts/tfc/recipes.dyes.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/kubejs/server_scripts/tfc/recipes.dyes.js b/kubejs/server_scripts/tfc/recipes.dyes.js index a0d9d435b..45c3e2030 100644 --- a/kubejs/server_scripts/tfc/recipes.dyes.js +++ b/kubejs/server_scripts/tfc/recipes.dyes.js @@ -168,7 +168,7 @@ function registerTFCDyeRecipes(event) { ], // input 2 [ - 'light_gray', 'gray', 'green', + 'white', 'gray', 'green', 'blue', 'green', 'red', 'pink', 'red', 'yellow', 'black', 'blue' @@ -188,6 +188,7 @@ function registerTFCDyeRecipes(event) { !Fluid.exists(`tfc:${dyeMixes[2][i]}_dye`) ) continue + // GT mixer recipe event.recipes.gtceu.mixer(`mixer_dye_${dyeMixes[2][i]}`) .inputFluids( Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 144), @@ -198,6 +199,18 @@ function registerTFCDyeRecipes(event) { ) .duration(20) .EUt(8) + + // TFC barrel recipes (2x because 2! = 2) + event.recipes.tfc.barrel_instant_fluid( + Fluid.of(`tfc:${dyeMixes[2][i]}_dye`, 2), + TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 1)), + TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[1][i]}_dye`, 1)), + ) + event.recipes.tfc.barrel_instant_fluid( + Fluid.of(`tfc:${dyeMixes[2][i]}_dye`, 2), + TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[1][i]}_dye`, 1)), + TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 1)), + ) } //#endregion