From 50340ec0dfce9c8d4013942604ae4cde2326a18e Mon Sep 17 00:00:00 2001 From: Kayla <66163851+kaylatheegg@users.noreply.github.com> Date: Fri, 27 Jun 2025 22:37:27 +0100 Subject: [PATCH] Changes the greg wood plank and treated wood plank recipes to follow a more realistic processing chain (#1223) * adds MDF, reworks treated wood and normal wood plate crafting chains * removes treated wood plank from the minecraft:planks tag --- .../tfg/models/item/chipboard_composite.json | 6 +++ .../tfg/textures/item/chipboard_composite.png | Bin 0 -> 455 bytes kubejs/server_scripts/firmalife/recipes.js | 12 +++++ .../greate/recipes.recycling.js | 3 +- kubejs/server_scripts/gregtech/recipes.js | 11 ++-- .../gregtech/recipes.machines.js | 48 ++++++++++++++++++ .../gregtech/recipes.removes.js | 5 ++ kubejs/server_scripts/gregtech/tags.js | 1 + kubejs/startup_scripts/gtceu/items.js | 2 + 9 files changed, 79 insertions(+), 9 deletions(-) create mode 100644 kubejs/assets/tfg/models/item/chipboard_composite.json create mode 100644 kubejs/assets/tfg/textures/item/chipboard_composite.png diff --git a/kubejs/assets/tfg/models/item/chipboard_composite.json b/kubejs/assets/tfg/models/item/chipboard_composite.json new file mode 100644 index 000000000..8a8292284 --- /dev/null +++ b/kubejs/assets/tfg/models/item/chipboard_composite.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "tfg:item/chipboard_composite" + } +} diff --git a/kubejs/assets/tfg/textures/item/chipboard_composite.png b/kubejs/assets/tfg/textures/item/chipboard_composite.png new file mode 100644 index 0000000000000000000000000000000000000000..bd871b54c00f8fdfd4517bdf097cf00184c71b2a GIT binary patch literal 455 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7SkfJR9T^xl_H+M9WMyDr zU@Q)DcVfJGQm3AQfk7eJBgmJ5p-PQ`p`nF=;THn~L&FOOhEf9thF1v;3|2E37{m+a z>}?7I)2P2uOL>UKU67r&K8-Bz&)yBx?N|JqTUxK zF?I-di}jln-{re>=A(%87L6?xrT;88x-485D>-|+RmR@5-7@0E@f}XFhoeM}?Fv#* zKPz*V&uahLPrh!eF1p9v&O5Z1X}Z(Zn5O!4JI2E?rAI$9Jn&^;U|{fc^>bP0l+XkK DhqkY2 literal 0 HcmV?d00001 diff --git a/kubejs/server_scripts/firmalife/recipes.js b/kubejs/server_scripts/firmalife/recipes.js index 0b0f64368..f41be475b 100644 --- a/kubejs/server_scripts/firmalife/recipes.js +++ b/kubejs/server_scripts/firmalife/recipes.js @@ -495,4 +495,16 @@ const registerFirmaLifeRecipes = (event) => { .circuit(5) .EUt(GTValues.VA[GTValues.ULV]) .duration(200) + + event.recipes.firmalife.mixing_bowl() + .itemIngredients(['#tfg:wood_dusts', 'tfc:glue']) + .outputItem('tfg:chipboard_composite') + + event.recipes.firmalife.mixing_bowl() + .itemIngredients(['#tfg:wood_dusts', 'gtceu:sticky_resin']) + .outputItem('tfg:chipboard_composite') + + event.recipes.firmalife.mixing_bowl() + .itemIngredients(['#tfg:wood_dusts', '#forge:wax']) + .outputItem('tfg:chipboard_composite') } diff --git a/kubejs/server_scripts/greate/recipes.recycling.js b/kubejs/server_scripts/greate/recipes.recycling.js index 24dec28c5..1786379fd 100644 --- a/kubejs/server_scripts/greate/recipes.recycling.js +++ b/kubejs/server_scripts/greate/recipes.recycling.js @@ -105,8 +105,7 @@ function registerGreateRecyclingRecipes(event) { .itemOutputs( ChemicalHelper.get(TagPrefix.dustTiny, GTMaterials.Steel, 10), ChemicalHelper.get(TagPrefix.dust, GTMaterials.Stone, 2), - ChemicalHelper.get(TagPrefix.dust, GTMaterials.Diamond, 2), - ChemicalHelper.get(TagPrefix.dustSmall, GTMaterials.TreatedWood, 2)) + ChemicalHelper.get(TagPrefix.dust, GTMaterials.Diamond, 2)) .duration(GTMaterials.Stone.getMass() * 4) .category(GTRecipeCategories.MACERATOR_RECYCLING) .EUt(GTValues.VA[GTValues.ULV]) diff --git a/kubejs/server_scripts/gregtech/recipes.js b/kubejs/server_scripts/gregtech/recipes.js index 20c3be569..9110847b1 100644 --- a/kubejs/server_scripts/gregtech/recipes.js +++ b/kubejs/server_scripts/gregtech/recipes.js @@ -132,6 +132,10 @@ const registerGTCEURecipes = (event) => { .inputs('#minecraft:planks', TFC.fluidStackIngredient('#forge:creosote', 100)) .id('tfg:barrel/treated_wood_planks') + event.recipes.tfc.barrel_sealed(2000) + .outputItem('gtceu:treated_wood_dust') + .inputs('tfg:chipboard_composite', TFC.fluidStackIngredient('#forge:creosote', 50)) + .id('tfg:barrel/treated_chipboard_composite') //#endregion //#region Выход: Капля резины @@ -398,13 +402,6 @@ const registerGTCEURecipes = (event) => { .duration(700) .EUt(2720) - // Creosote-Treated Wood Planks -> Treated Wood Pulp - event.recipes.gtceu.macerator('tfg:gtceu/macerate_treated_wood_planks') - .itemInputs('gtceu:treated_wood_planks') - .itemOutputs('gtceu:treated_wood_dust') - .duration(120) - .EUt(4) - // Empty Wooden Form event.shaped('gtceu:empty_wooden_form', [ ' AA', diff --git a/kubejs/server_scripts/gregtech/recipes.machines.js b/kubejs/server_scripts/gregtech/recipes.machines.js index 6151b0756..657065eda 100644 --- a/kubejs/server_scripts/gregtech/recipes.machines.js +++ b/kubejs/server_scripts/gregtech/recipes.machines.js @@ -932,4 +932,52 @@ function registerGTCEuMachineRecipes(event) { .duration(400) .EUt(GTValues.VA[GTValues.ZPM]) .circuit(2) + + event.recipes.gtceu.mixer('gtceu:chipboard_composite_wax') + .itemInputs('2x #tfg:wood_dusts', + '1x #forge:wax') + .itemOutputs('2x tfg:chipboard_composite') + .duration(100) + .EUt(GTValues.VA[GTValues.LV]) + + event.recipes.gtceu.mixer('gtceu:chipboard_composite_resin') + .itemInputs('4x #tfg:wood_dusts', + '1x gtceu:sticky_resin') + .itemOutputs('4x tfg:chipboard_composite') + .duration(100) + .EUt(GTValues.VA[GTValues.LV]) + + event.recipes.gtceu.mixer('gtceu:chipboard_composite_glue') + .itemInputs('2x #tfg:wood_dusts', + '1x tfc:glue') + .itemOutputs('2x tfg:chipboard_composite') + .duration(100) + .EUt(GTValues.VA[GTValues.LV]) + + + event.recipes.gtceu.mixer('gtceu:chipboard_composite_fluid_glue') + .itemInputs('1x #tfg:wood_dusts') + .inputFluids(Fluid.of('gtceu:glue', 25)) + .itemOutputs('1x tfg:chipboard_composite') + .duration(10) + .EUt(GTValues.VA[GTValues.LV]) + + event.recipes.gtceu.chemical_bath('gtceu:treated_chipboard_composite') + .itemInputs('1x tfg:chipboard_composite') + .inputFluids(Fluid.of('gtceu:creosote', 50)) + .itemOutputs('gtceu:treated_wood_dust') + .duration(100) + .EUt(GTValues.VA[GTValues.ULV]) + + event.recipes.gtceu.compressor('gtceu:wood_mdf') + .itemInputs('1x tfg:chipboard_composite') + .itemOutputs('gtceu:wood_plate') + .duration(200) + .EUt(GTValues.VA[GTValues.ULV]) + + event.recipes.gtceu.compressor('gtceu:treated_wood_mdf') + .itemInputs('1x gtceu:treated_wood_dust') + .itemOutputs('gtceu:treated_wood_plate') + .duration(200) + .EUt(GTValues.VA[GTValues.ULV]) } \ No newline at end of file diff --git a/kubejs/server_scripts/gregtech/recipes.removes.js b/kubejs/server_scripts/gregtech/recipes.removes.js index df622627b..2b0f5f486 100644 --- a/kubejs/server_scripts/gregtech/recipes.removes.js +++ b/kubejs/server_scripts/gregtech/recipes.removes.js @@ -664,4 +664,9 @@ function removeGTCEURecipes(event) { // Remove vanilla Eye of Ender event.remove({ id: 'minecraft:ender_eye' }) + + // Remove old treated plank and wood plank recipe + + event.remove({ id: 'gtceu:compressor/compress_plate_dust_wood' }) + event.remove({ id: 'gtceu:compressor/compress_plate_dust_treated_wood'}) } diff --git a/kubejs/server_scripts/gregtech/tags.js b/kubejs/server_scripts/gregtech/tags.js index ffafd6a2c..74a0b48c2 100644 --- a/kubejs/server_scripts/gregtech/tags.js +++ b/kubejs/server_scripts/gregtech/tags.js @@ -53,6 +53,7 @@ const registerGTCEUItemTags = (event) => { //#endregion event.remove('minecraft:planks', 'gtceu:treated_wood_planks') + event.remove('minecraft:planks', 'gtceu:treated_wood_plate') event.add('tfg:sugars', 'minecraft:sugar') event.add('tfg:sugars', 'afc:birch_sugar') diff --git a/kubejs/startup_scripts/gtceu/items.js b/kubejs/startup_scripts/gtceu/items.js index 97fe73a29..e5f523f53 100644 --- a/kubejs/startup_scripts/gtceu/items.js +++ b/kubejs/startup_scripts/gtceu/items.js @@ -32,4 +32,6 @@ const registerGTCEuItems = (event) => { event.create('tfg:uhv_universal_circuit') .translationKey('item.uhv_universal_circuit') + event.create('tfg:chipboard_composite') + .translationKey('item.chipboard_composite') }