From e024e005bdc9e5f920c08cd5bd4b44e7d251817e Mon Sep 17 00:00:00 2001 From: Ian Laidlaw Date: Sun, 20 Jul 2025 06:55:41 -0400 Subject: [PATCH] Fixes bug where milling #tfg:hardwood would result in softwood pulp instead of the expected hardwood pulp. (#1391) * Fixes bug where milling #tfg:hardwood would result in softwood pulp instead of the expected hardwood pulp. Softwood pulp milling recipe still shows minecraft:logs as input but I'm not familiar enough with kubejs to know how to fix it. Logically this works though. * Fixes bug where milling #tfg:hardwood would result in softwood pulp instead of the expected hardwood pulp. Softwood pulp milling recipe still shows minecraft:logs as input but I'm not familiar enough with kubejs to know how to fix it. Logically this works though. * changed to removeMaceratorRecipe instead of event.remove() * Removed config file from pull request * Removed irrelevant changes * Update recipes.paper.js Signed-off-by: Pyritie --------- Signed-off-by: Pyritie Co-authored-by: Pyritie --- kubejs/server_scripts/tfg/recipes.paper.js | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/kubejs/server_scripts/tfg/recipes.paper.js b/kubejs/server_scripts/tfg/recipes.paper.js index 5f02457f8..d764c6332 100644 --- a/kubejs/server_scripts/tfg/recipes.paper.js +++ b/kubejs/server_scripts/tfg/recipes.paper.js @@ -46,8 +46,16 @@ function registerTFGPapermakingRecipes(event) { .duration(160) .EUt(7) - //Replace macerate logs into macerate softwood logs - event.replaceInput({ id: 'gtceu:macerator/macerate_logs' }, '#minecraft:logs', '#tfg:softwood') + removeMaceratorRecipe(event, 'macerate_logs') + + // Create macerator recipes for softwood + event.recipes.gtceu.macerator('macerate_softwood') + .itemInputs('#tfg:softwood') + .itemOutputs('6x gtceu:wood_dust') + .chancedOutput('gtceu:wood_dust', 8000, 680) + .duration(70) + .EUt(2) + //Create identical macerator recipe for hardwood event.recipes.gtceu.macerator('macerate_hardwood') .itemInputs('#tfg:hardwood') @@ -152,4 +160,4 @@ function registerTFGPapermakingRecipes(event) { .itemOutputs('minecraft:paper') .duration(40) .EUt(4) -} \ No newline at end of file +}