From cef7822876cb1269aa65cc6fbc2c93f94d59d6d2 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Wed, 7 May 2025 21:54:07 +0100 Subject: [PATCH] workaround for #910 --- kubejs/server_scripts/tfc/recipes.dirt.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/kubejs/server_scripts/tfc/recipes.dirt.js b/kubejs/server_scripts/tfc/recipes.dirt.js index f8d57e721..042b1f9e7 100644 --- a/kubejs/server_scripts/tfc/recipes.dirt.js +++ b/kubejs/server_scripts/tfc/recipes.dirt.js @@ -131,4 +131,25 @@ function registerTFCDirtRecipes(event) { }) //#endregion + + // #region Wattle and daub + // TODO: Workaround for not being able to stain wattle and daub with normal dyes + // See https://github.com/TerraFirmaGreg-Team/Modpack-Modern/issues/910 + + event.shaped('tfc:wattle/unstained', [ + 'AB', + 'CC' + ], { + A: 'tfc:wattle', + B: 'tfc:daub', + C: '#forge:rods/wood' + }) + .id('tfg:shapeless/unstained_wattle') + + global.MINECRAFT_DYE_NAMES.forEach(color => { + event.shapeless(`tfc:wattle/${color}`, ['tfc:wattle/unstained', `#forge:dyes/${color}`]) + .id(`tfg:shapeless/wattle/${color}`) + }) + + // #endregion } \ No newline at end of file