From a7865a4630f9b0aef1799ff5a335063a45d334d9 Mon Sep 17 00:00:00 2001 From: domi-grb Date: Tue, 22 Aug 2023 16:04:13 +0200 Subject: [PATCH 1/7] ore processing --- kubejs/config/probejs.json | 20 +++++----- .../server_scripts/Ore Processing/Crushing.js | 38 +++++++++++++++++++ 2 files changed, 48 insertions(+), 10 deletions(-) create mode 100644 kubejs/server_scripts/Ore Processing/Crushing.js diff --git a/kubejs/config/probejs.json b/kubejs/config/probejs.json index 163dd661..20dacc31 100644 --- a/kubejs/config/probejs.json +++ b/kubejs/config/probejs.json @@ -1,11 +1,11 @@ -{ - "firstLoad": false, - "noAggressiveProbing": true, - "docsTimestamp": 1690007604193, - "allowRegistryObjectDumps": false, - "requireSingleAndPerm": true, - "enabled": true, - "disableRecipeJsonDump": false, - "dumpJSONIntermediates": false, - "version": 1 +{ + "firstLoad": false, + "noAggressiveProbing": true, + "docsTimestamp": 1690007604193, + "allowRegistryObjectDumps": false, + "requireSingleAndPerm": true, + "enabled": true, + "disableRecipeJsonDump": false, + "dumpJSONIntermediates": false, + "version": 1 } \ No newline at end of file diff --git a/kubejs/server_scripts/Ore Processing/Crushing.js b/kubejs/server_scripts/Ore Processing/Crushing.js new file mode 100644 index 00000000..1057e4c5 --- /dev/null +++ b/kubejs/server_scripts/Ore Processing/Crushing.js @@ -0,0 +1,38 @@ +ServerEvents.recipes(event => { + + // event.remove({ output: /gtceu:(.*)_crushed_ore/ }) + event.remove({output: /create:crushed_raw_(.*)/}) + + + + //First Step Crushing + + //Minecraft: + const material = ['gold', 'iron', 'copper'] + + //Greg: + const gregMaterial = ['aluminium'] + + //Minecraft + let i = 0; + for(i; i < material.length; i++){ + event.recipes.create.crushing(['gtceu:'+material[i]+'_crushed_ore',Item.of('gtceu:'+material[i]+'_crushed_ore').withChance(0.5), Item.of('gtceu:'+material[i]+'_crushed_ore').withChance(0.25)], 'minecraft:raw_'+material[i]) + event.recipes.create.milling(['gtceu:'+material[i]+'_crushed_ore', Item.of('gtceu:'+material[i]+'_crushed_ore').withChance(0.10)], 'minecraft:raw_'+material[i]) + } + + let j = 0 + + for(j; j < gregMaterial.length; j++){ + event.recipes.create.crushing(['gtceu:'+gregMaterial[j]+'_crushed_ore',Item.of('gtceu:'+gregMaterial[j]+'_crushed_ore').withChance(0.5), Item.of('gtceu:'+gregMaterial[j]+'_crushed_ore').withChance(0.25)], 'gtceu:raw_'+gregMaterial[j]) + event.recipes.create.milling(['gtceu:'+gregMaterial[j]+'_crushed_ore', Item.of('gtceu:'+gregMaterial[j]+'_crushed_ore').withChance(0.10)], 'gtceu:raw_'+gregMaterial[j]) + } + + + + + + + + + +}) \ No newline at end of file From a7a1bd4bc895e4cc323f41560c57b9d166c62441 Mon Sep 17 00:00:00 2001 From: domi-grb Date: Tue, 22 Aug 2023 16:08:11 +0200 Subject: [PATCH 2/7] ore processing --- kubejs/client_scripts/rei_hide.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kubejs/client_scripts/rei_hide.js b/kubejs/client_scripts/rei_hide.js index f51b36b5..716a425b 100644 --- a/kubejs/client_scripts/rei_hide.js +++ b/kubejs/client_scripts/rei_hide.js @@ -6,8 +6,10 @@ REIEvents.hide('item', event => { //Create - const sheet = ['create:iron_sheet','create:brass_sheet','create:copper_sheet','create:golden_sheet'] - sheet.forEach((element) => event.hide(element)); + + event.hide(/create:(.*)_sheet/) + event.hide(/create:crushed_raw_(.*)/) + //Wands event.hide('constructionwand:core_angel') From 02e68cc8c79a10103642943dfc9e3c41eeb06645 Mon Sep 17 00:00:00 2001 From: domi-grb Date: Tue, 22 Aug 2023 16:59:54 +0200 Subject: [PATCH 3/7] added all raw ores --- kubejs/server_scripts/Ore Processing/Crushing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubejs/server_scripts/Ore Processing/Crushing.js b/kubejs/server_scripts/Ore Processing/Crushing.js index 1057e4c5..6fa070bf 100644 --- a/kubejs/server_scripts/Ore Processing/Crushing.js +++ b/kubejs/server_scripts/Ore Processing/Crushing.js @@ -1,6 +1,6 @@ ServerEvents.recipes(event => { - // event.remove({ output: /gtceu:(.*)_crushed_ore/ }) + event.remove({ output: /gtceu:(.*)_crushed_ore/ }) event.remove({output: /create:crushed_raw_(.*)/}) @@ -11,7 +11,7 @@ ServerEvents.recipes(event => { const material = ['gold', 'iron', 'copper'] //Greg: - const gregMaterial = ['aluminium'] + const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] //Minecraft let i = 0; From e72e29d1386e6e16b4e7a79d093ee298b73b9907 Mon Sep 17 00:00:00 2001 From: domi-grb Date: Tue, 22 Aug 2023 18:51:28 +0200 Subject: [PATCH 4/7] extra outputs for crushing wheel --- .../server_scripts/Ore Processing/Crushing.js | 38 ------------------- .../Ore Processing/RawCrushing.js | 29 ++++++++++++++ 2 files changed, 29 insertions(+), 38 deletions(-) delete mode 100644 kubejs/server_scripts/Ore Processing/Crushing.js create mode 100644 kubejs/server_scripts/Ore Processing/RawCrushing.js diff --git a/kubejs/server_scripts/Ore Processing/Crushing.js b/kubejs/server_scripts/Ore Processing/Crushing.js deleted file mode 100644 index 6fa070bf..00000000 --- a/kubejs/server_scripts/Ore Processing/Crushing.js +++ /dev/null @@ -1,38 +0,0 @@ -ServerEvents.recipes(event => { - - event.remove({ output: /gtceu:(.*)_crushed_ore/ }) - event.remove({output: /create:crushed_raw_(.*)/}) - - - - //First Step Crushing - - //Minecraft: - const material = ['gold', 'iron', 'copper'] - - //Greg: - const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] - - //Minecraft - let i = 0; - for(i; i < material.length; i++){ - event.recipes.create.crushing(['gtceu:'+material[i]+'_crushed_ore',Item.of('gtceu:'+material[i]+'_crushed_ore').withChance(0.5), Item.of('gtceu:'+material[i]+'_crushed_ore').withChance(0.25)], 'minecraft:raw_'+material[i]) - event.recipes.create.milling(['gtceu:'+material[i]+'_crushed_ore', Item.of('gtceu:'+material[i]+'_crushed_ore').withChance(0.10)], 'minecraft:raw_'+material[i]) - } - - let j = 0 - - for(j; j < gregMaterial.length; j++){ - event.recipes.create.crushing(['gtceu:'+gregMaterial[j]+'_crushed_ore',Item.of('gtceu:'+gregMaterial[j]+'_crushed_ore').withChance(0.5), Item.of('gtceu:'+gregMaterial[j]+'_crushed_ore').withChance(0.25)], 'gtceu:raw_'+gregMaterial[j]) - event.recipes.create.milling(['gtceu:'+gregMaterial[j]+'_crushed_ore', Item.of('gtceu:'+gregMaterial[j]+'_crushed_ore').withChance(0.10)], 'gtceu:raw_'+gregMaterial[j]) - } - - - - - - - - - -}) \ No newline at end of file diff --git a/kubejs/server_scripts/Ore Processing/RawCrushing.js b/kubejs/server_scripts/Ore Processing/RawCrushing.js new file mode 100644 index 00000000..025022b0 --- /dev/null +++ b/kubejs/server_scripts/Ore Processing/RawCrushing.js @@ -0,0 +1,29 @@ +ServerEvents.recipes(event => { + + event.remove({output: /create:crushed_raw_(.*)/}) + + //Minecraft: + const vanillaMaterial = ['gold', 'iron', 'copper'] + + const vanExtraMaterial = [] + + //Greg: + const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] + + const extraMaterial = [] + + //Minecraft + let i = 0; + for(i; i < vanillamaterial.length; i++){ + event.recipes.create.crushing([`gtceu:${vanillaMaterial[i]}_crushed_ore`,Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${vanillaMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${vanExtraMaterial[j]}_crushed_ore`).withChance(0.2)], `minecraft:raw_${vanillaMaterial[i]}`) + event.recipes.create.milling([`gtceu:${vanillaMaterial[i]}_crushed_ore`, Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5)], `minecraft:raw_${vanillaMaterial[i]}`) + } + + let j = 0; + + for(j; j < gregMaterial.length; j++){ + event.recipes.create.crushing([`gtceu:${gregMaterial[j]}_crushed_ore`,Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gregMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${extraMaterial[j]}_crushed_ore`).withChance(0.2)], `gtceu:raw_${gregMaterial[j]}`) + event.recipes.create.milling([`gtceu:${gregMaterial[j]}_crushed_ore`, Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.10)], 'gtceu:raw_'+gregMaterial[j]) + } + +}) \ No newline at end of file From 2b2e937a3b55eb21889eb6af0d147d369b0422c9 Mon Sep 17 00:00:00 2001 From: domi-grb Date: Tue, 22 Aug 2023 19:30:57 +0200 Subject: [PATCH 5/7] extra outputs for crushing wheel --- kubejs/server_scripts/Ore Processing/RawCrushing.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kubejs/server_scripts/Ore Processing/RawCrushing.js b/kubejs/server_scripts/Ore Processing/RawCrushing.js index 025022b0..d2cb9a4b 100644 --- a/kubejs/server_scripts/Ore Processing/RawCrushing.js +++ b/kubejs/server_scripts/Ore Processing/RawCrushing.js @@ -5,24 +5,24 @@ ServerEvents.recipes(event => { //Minecraft: const vanillaMaterial = ['gold', 'iron', 'copper'] - const vanExtraMaterial = [] + const vanExtraMaterial = ['copper', 'nickel', 'cobalt'] //Greg: - const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] + const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','goethite','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] - const extraMaterial = [] + const extraMaterial = ['bauxite','emerald','cobalt_oxide','silver','lithium','molybdenum','rare_earth','cobalt','palladium','nickel','uraninite','lead','sulfur','uraninite','iron','sulfur','red_garnet','diatomite','magnetite','topaz','malachite','calcium','tin','tin','pyrite','iron','redstone','coal','sulfur','nickel','graphite','beryllium','sulfur','iron','aluminium','yellow_garnet','iron','grossular','sodalite','magnesium','iron','molybdenum','iron','sulfur','manganese','red_garnet','salt','chromium','rock_salt','saltpeter','aluminium','manganese','lazurite','manganese','red_garnet','yellow_garnet','antimony_trrioxide','antimony','blue_topaz','manganese','uraninite','iron','nickel','quartzite','nether_quartz','certus_quartz','carbon','pyrite','sulfur','aluminium','cinnabar','thorium','magnetite','redstone','tin','copper','copper','copper','copper'] //Minecraft let i = 0; - for(i; i < vanillamaterial.length; i++){ - event.recipes.create.crushing([`gtceu:${vanillaMaterial[i]}_crushed_ore`,Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${vanillaMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${vanExtraMaterial[j]}_crushed_ore`).withChance(0.2)], `minecraft:raw_${vanillaMaterial[i]}`) + for(i; i < vanillaMaterial.length; i++){ + event.recipes.create.crushing([`gtceu:${vanillaMaterial[i]}_crushed_ore`,Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${vanillaMaterial[i]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${vanExtraMaterial[i]}_dust`).withChance(0.2)], `minecraft:raw_${vanillaMaterial[i]}`) event.recipes.create.milling([`gtceu:${vanillaMaterial[i]}_crushed_ore`, Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5)], `minecraft:raw_${vanillaMaterial[i]}`) } let j = 0; for(j; j < gregMaterial.length; j++){ - event.recipes.create.crushing([`gtceu:${gregMaterial[j]}_crushed_ore`,Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gregMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${extraMaterial[j]}_crushed_ore`).withChance(0.2)], `gtceu:raw_${gregMaterial[j]}`) + event.recipes.create.crushing([`gtceu:${gregMaterial[j]}_crushed_ore`,Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gregMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${extraMaterial[j]}_dust`).withChance(0.2)], `gtceu:raw_${gregMaterial[j]}`) event.recipes.create.milling([`gtceu:${gregMaterial[j]}_crushed_ore`, Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.10)], 'gtceu:raw_'+gregMaterial[j]) } From 3f5c8c314b26fdce8d7469a4d32b078833e4215a Mon Sep 17 00:00:00 2001 From: domi-grb Date: Wed, 23 Aug 2023 09:40:53 +0200 Subject: [PATCH 6/7] added crushing wheel for gems --- kubejs/client_scripts/rei_hide.js | 8 - kubejs/config/server_scripts/AE2.js | 221 ----------- kubejs/config/server_scripts/Armor.js | 297 --------------- kubejs/config/server_scripts/Create.js | 15 - kubejs/config/server_scripts/Greg.js | 35 -- kubejs/config/server_scripts/IronChest.js | 46 --- .../JSONRecipes/AE2/cutting_16k_wafer.js | 171 --------- .../JSONRecipes/AE2/cutting_1k_wafer.js | 171 --------- .../JSONRecipes/AE2/cutting_256k_wafer.js | 171 --------- .../JSONRecipes/AE2/cutting_4k_wafer.js | 171 --------- .../JSONRecipes/AE2/cutting_64k_wafer.js | 171 --------- .../Greg/Engraver/engraverNaquadah.js | 356 ----------------- .../Greg/Engraver/engraverNeutronium.js | 357 ------------------ .../Greg/Engraver/engraverPhosphorus.js | 286 -------------- .../Greg/Engraver/engraverSilicon.js | 218 ----------- .../server_scripts/JSONRecipes/Greg/bender.js | 63 ---- .../SequencedAssembly/AE2sequence.js | 55 --- .../server_scripts/SequencedAssembly/HV.js | 1 - .../SequencedAssembly/IntermediateItems.js | 50 --- .../server_scripts/SequencedAssembly/LV.js | 165 -------- .../server_scripts/SequencedAssembly/MV.js | 165 -------- kubejs/config/server_scripts/Tags.js | 6 - kubejs/config/server_scripts/Vanilla.js | 99 ----- .../Ore Processing/RawCrushing.js | 23 +- 24 files changed, 20 insertions(+), 3301 deletions(-) delete mode 100644 kubejs/config/server_scripts/AE2.js delete mode 100644 kubejs/config/server_scripts/Armor.js delete mode 100644 kubejs/config/server_scripts/Create.js delete mode 100644 kubejs/config/server_scripts/Greg.js delete mode 100644 kubejs/config/server_scripts/IronChest.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/AE2/cutting_16k_wafer.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/AE2/cutting_1k_wafer.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/AE2/cutting_256k_wafer.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/AE2/cutting_4k_wafer.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/AE2/cutting_64k_wafer.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNaquadah.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNeutronium.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverPhosphorus.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverSilicon.js delete mode 100644 kubejs/config/server_scripts/JSONRecipes/Greg/bender.js delete mode 100644 kubejs/config/server_scripts/SequencedAssembly/AE2sequence.js delete mode 100644 kubejs/config/server_scripts/SequencedAssembly/HV.js delete mode 100644 kubejs/config/server_scripts/SequencedAssembly/IntermediateItems.js delete mode 100644 kubejs/config/server_scripts/SequencedAssembly/LV.js delete mode 100644 kubejs/config/server_scripts/SequencedAssembly/MV.js delete mode 100644 kubejs/config/server_scripts/Tags.js delete mode 100644 kubejs/config/server_scripts/Vanilla.js diff --git a/kubejs/client_scripts/rei_hide.js b/kubejs/client_scripts/rei_hide.js index 716a425b..7a608387 100644 --- a/kubejs/client_scripts/rei_hide.js +++ b/kubejs/client_scripts/rei_hide.js @@ -1,16 +1,9 @@ REIEvents.hide('item', event => { - - - - - - //Create event.hide(/create:(.*)_sheet/) event.hide(/create:crushed_raw_(.*)/) - //Wands event.hide('constructionwand:core_angel') event.hide('constructionwand:core_destruction') @@ -23,5 +16,4 @@ REIEvents.hide('item', event => { const backpack = ['sophisticatedbackpacks:inception_upgrade','sophisticatedbackpacks:pump_upgrade', 'sophisticatedbackpacks:stack_upgrade_tier_3', 'sophisticatedbackpacks:stack_upgrade_tier_1', 'sophisticatedbackpacks:stack_upgrade_tier_4', 'sophisticatedbackpacks:stack_upgrade_tier_2','sophisticatedbackpacks:everlasting_upgrade', 'sophisticatedbackpacks:auto_blasting_upgrade', 'sophisticatedbackpacks:auto_smoking_upgrade', 'sophisticatedbackpacks:auto_smelting_upgrade', 'sophisticatedbackpacks:crafting_upgrade', 'sophisticatedbackpacks:smoking_upgrade', 'sophisticatedbackpacks:stonecutter_upgrade', 'sophisticatedbackpacks:tank_upgrade', 'sophisticatedbackpacks:battery_upgrade', 'sophisticatedbackpacks:advanced_pump_upgrade', 'sophisticatedbackpacks:xp_pump_upgrade', 'sophisticatedbackpacks:smelting_upgrade', 'sophisticatedbackpacks:blasting_upgrade'] backpack.forEach((element) => event.hide(element)); - }) \ No newline at end of file diff --git a/kubejs/config/server_scripts/AE2.js b/kubejs/config/server_scripts/AE2.js deleted file mode 100644 index f28b29cc..00000000 --- a/kubejs/config/server_scripts/AE2.js +++ /dev/null @@ -1,221 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - event.remove({ output: 'ae2:controller' }) - event.remove({ output: 'ae2:chest' }) - event.remove({ output: 'ae2:logic_processor' }) - event.remove({ output: 'ae2:calculation_processor' }) - event.remove({ output: 'ae2:engineering_processor' }) - event.remove({ output: 'ae2:blank_pattern' }) - event.remove({ output: /ae2:(.*)_(.*)k/ }) - - event.shaped( - Item.of('ae2:controller'), - [ - 'CCC', - 'ADA', - 'ABA' - ], - { - A:'ae2:fluix_block', - B:'ae2:chest', - C:'gtceu:polyvinyl_chloride_foil', - D:'#forge:circuits/hv' - } - ) - event.shaped( - Item.of('ae2:chest'), - [ - 'EDE', - 'AFA', - 'CBC' - ], - { - A:'ae2:fluix_covered_cable', - B:'ae2:terminal', - C:'gtceu:polyethylene_foil', - D:'#forge:circuits/mv', - E:'minecraft:glass', - F:'gtceu:hv_machine_casing' - } - ) - event.shaped( - Item.of('ae2:item_storage_cell_1k'), - [ - 'ABA', - 'BCB', - 'DDD' - ], - { - A:'ae2:quartz_glass', - B:'gtceu:rubber_plate', - C:'ae2:cell_component_1k', - D:'gtceu:wrought_iron_plate' - } - ) - - - event.shaped( - Item.of('ae2:item_storage_cell_4k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'ae2:quartz_glass', - B:'gtceu:polyethylene_plate', - C:'ae2:cell_component_4k', - D:'gtceu:steel_plate', - E:'#forge:circuits/lv' - } - ) - - - event.shaped( - Item.of('ae2:item_storage_cell_16k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'ae2:quartz_glass', - B:'gtceu:polyvinyl_chloride_plate', - C:'ae2:cell_component_16k', - D:'gtceu:vanadium_steel_plate', - E:'#forge:circuits/mv' - } - ) - - - event.shaped( - Item.of('ae2:item_storage_cell_64k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'ae2:quartz_glass', - B:'gtceu:polytetrafluoroethylene_plate', - C:'ae2:cell_component_64k', - D:'gtceu:stainless_steel_plate', - E:'#forge:circuits/hv' - } - ) - - event.shaped( - Item.of('ae2:item_storage_cell_256k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'ae2:quartz_glass', - B:'gtceu:polybenzimidazole_plate', - C:'ae2:cell_component_256k', - D:'gtceu:tungsten_steel_plate', - E:'#forge:circuits/ev' - } - ) - - event.shaped( - Item.of('ae2:blank_pattern'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'ae2:quartz_glass', - B:'gtceu:polyvinyl_chloride_foil', - C:'#forge:gems/certus_quartz', - D:'gtceu:stainless_steel_plate', - E:'#forge:circuits/hv' - } - ) - - event.shaped( - Item.of('ae2:fluid_storage_cell_1k'), - [ - 'ABA', - 'BCB', - 'DDD' - ], - { - A:'gtceu:annealed_copper_double_plate', - B:'gtceu:rubber_plate', - C:'ae2:cell_component_1k', - D:'gtceu:wrought_iron_plate' - } - ) - - - event.shaped( - Item.of('ae2:fluid_storage_cell_4k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'gtceu:annealed_copper_double_plate', - B:'gtceu:polyethylene_plate', - C:'ae2:cell_component_4k', - D:'gtceu:steel_plate', - E:'#forge:circuits/lv' - } - ) - - - event.shaped( - Item.of('ae2:fluid_storage_cell_16k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'gtceu:annealed_copper_double_plate', - B:'gtceu:polyvinyl_chloride_plate', - C:'ae2:cell_component_16k', - D:'gtceu:vanadium_steel_plate', - E:'#forge:circuits/mv' - } - ) - - - event.shaped( - Item.of('ae2:fluid_storage_cell_64k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'gtceu:annealed_copper_double_plate', - B:'gtceu:polytetrafluoroethylene_plate', - C:'ae2:cell_component_64k', - D:'gtceu:stainless_steel_plate', - E:'#forge:circuits/hv' - } - ) - - event.shaped( - Item.of('ae2:fluid_storage_cell_256k'), - [ - 'AEA', - 'BCB', - 'DDD' - ], - { - A:'gtceu:annealed_copper_double_plate', - B:'gtceu:polybenzimidazole_plate', - C:'ae2:cell_component_256k', - D:'gtceu:tungsten_steel_plate', - E:'#forge:circuits/ev' - } - ) -}) - diff --git a/kubejs/config/server_scripts/Armor.js b/kubejs/config/server_scripts/Armor.js deleted file mode 100644 index fb7cc9d7..00000000 --- a/kubejs/config/server_scripts/Armor.js +++ /dev/null @@ -1,297 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - //removal - event.remove({output: '#forge:armors'}) - - //leather - event.shaped( - Item.of('minecraft:leather_helmet', 1), - [ - 'AAA', - 'A A', - ' ' - ], - { - A: 'minecraft:leather' - } -) - event.shaped( - Item.of('minecraft:leather_chestplate', 1), - [ - 'A A', - 'AAA', - 'AAA' - ], - { - A: 'minecraft:leather' - } -) - event.shaped( - Item.of('minecraft:leather_leggings', 1), - [ - 'AAA', - 'A A', - 'A A' - ], - { - A: 'minecraft:leather' - } -) - event.shaped( - Item.of('minecraft:leather_boots', 1), - [ - 'A A', - 'A A', - ' ' - ], - { - A: 'minecraft:leather' - } -) - -//chainmail - -event.recipes.createMechanicalCrafting( - Item.of('minecraft:chainmail_helmet', 1), - [ - ' AAA ', - 'AB BA', - 'AB BA' - ], - { - A: 'gtceu:iron_ring', - B: 'minecraft:leather' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:chainmail_chestplate', 1), - [ - 'AA AA', - ' ABBA ', - ' AA ', - ' AA ' - ], - { - A: 'gtceu:iron_ring', - B: 'minecraft:leather' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:chainmail_leggings', 1), - [ - 'AAAA', - 'A A', - 'A A', - 'A A', - 'B B' - ], - { - A: 'gtceu:iron_ring', - B: 'minecraft:leather' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:chainmail_boots', 1), - [ - ' A A ', - ' A A ', - 'AB BA' - ], - { - A: 'gtceu:iron_ring', - B: 'minecraft:leather' - } -) - -//iron - -event.recipes.createMechanicalCrafting( - Item.of('minecraft:iron_helmet', 1), - [ - ' ABA ', - 'AC CA', - 'AC CA' - ], - { - A: 'gtceu:iron_plate', - B: 'gtceu:invar_plate', - C: 'gtceu:carbon_fiber_mesh' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:iron_chestplate', 1), - [ - 'CB BC', - 'CBCCBC', - ' ABBA ', - ' ABBA ', - ' ABBA ', - ], - { - A: 'gtceu:iron_plate', - B: 'gtceu:invar_plate', - C: 'gtceu:carbon_fiber_mesh' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:iron_leggings', 1), - [ - 'AAAA', - 'ACCA', - 'A A', - 'A A', - 'B B' - ], - { - A: 'gtceu:iron_plate', - B: 'gtceu:invar_plate', - C: 'gtceu:carbon_fiber_mesh' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:iron_boots', 1), - [ - ' A A ', - ' A A ', - ' A A ', - 'CB BC' - ], - { - A: 'gtceu:iron_plate', - B: 'gtceu:invar_plate', - C: 'gtceu:carbon_fiber_mesh' - } -) - -//diamond - - event.recipes.createMechanicalCrafting( - Item.of('minecraft:diamond_helmet', 1), - [ - 'AAAAAA', - 'ABBBBA', - 'AC CA', - 'AC CA' - ], - { - A: 'gtceu:diamond_plate', - B: 'gtceu:stainless_steel_plate', - C: 'gtceu:titanium_plate' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:diamond_chestplate', 1), - [ - 'CBB BBC', - 'CBCCCBC', - ' ABCBA ', - ' ABCBA ', - ' ABBBA ' - ], - { - A: 'gtceu:diamond_plate', - B: 'gtceu:stainless_steel_plate', - C: 'gtceu:titanium_plate' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:diamond_leggings', 1), - [ - 'AAAAAA', - 'ABCCBA', - 'AB BA', - 'AB BA', - 'AB BA' - ], - { - A: 'gtceu:diamond_plate', - B: 'gtceu:stainless_steel_plate', - C: 'gtceu:titanium_plate' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:diamond_boots', 1), - [ - ' AA AA ', - ' AA AA ', - ' AA AA ', - 'CBB BBC' - ], - { - A: 'gtceu:diamond_plate', - B: 'gtceu:stainless_steel_plate', - C: 'gtceu:titanium_plate' - } -) - -//netherite - - event.recipes.createMechanicalCrafting( - Item.of('minecraft:netherite_helmet', 1), - [ - 'AAAAAAA', - 'ABBBBBA', - 'ABCCCBA', - 'AB C BA', - 'AB BA' - ], - { - A: 'gtceu:tungsten_carbide_plate', - B: 'gtceu:tungsten_steel_plate', - C: 'kubejs:netherite_plate' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:netherite_chestplate', 1), - [ - 'ABBB BBBA', - 'ABBCCCBBA', - ' ABCBA ', - ' ABCBA ', - ' ABBBA ', - ' AAAAA ' - ], - { - A: 'gtceu:tungsten_carbide_plate', - B: 'gtceu:tungsten_steel_plate', - C: 'kubejs:netherite_plate' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:netherite_leggings', 1), - [ - 'AAAAAA', - 'ABBBBA', - 'ABCCBA', - 'AB BA', - 'AB BA', - 'AB BA', - 'AB BA' - ], - { - A: 'gtceu:tungsten_carbide_plate', - B: 'gtceu:tungsten_steel_plate', - C: 'kubejs:netherite_plate' - } -) - event.recipes.createMechanicalCrafting( - Item.of('minecraft:netherite_boots'), - [ - ' ABA ABA ', - ' ABA ABA ', - ' ABA ABA ', - ' ABA ABA ', - 'CAA AAC' - ], - { - A: 'gtceu:tungsten_carbide_plate', - B: 'gtceu:tungsten_steel_plate', - C: 'kubejs:netherite_plate' - } -) - - - -//modded recipes - -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/Create.js b/kubejs/config/server_scripts/Create.js deleted file mode 100644 index 83e7c850..00000000 --- a/kubejs/config/server_scripts/Create.js +++ /dev/null @@ -1,15 +0,0 @@ -ServerEvents.recipes(event => { - -event.recipes.createMixing('minecraft:netherite_ingot', [ - 'minecraft:netherite_scrap', - 'minecraft:netherite_scrap', - 'minecraft:netherite_scrap', - 'minecraft:netherite_scrap', - Fluid.of('gtceu:hssg', 576) -]).superheated() - -event.recipes.createMixing('minecraft:turtle_helmet', [ - 'kubejs:unf_turtle_helmet', - Fluid.of('create:potion', 576, {Bottle:'REGULAR', Potion:'minecraft:water_breathing'}) -]).heated() -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/Greg.js b/kubejs/config/server_scripts/Greg.js deleted file mode 100644 index 3d6c34fd..00000000 --- a/kubejs/config/server_scripts/Greg.js +++ /dev/null @@ -1,35 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - // #region removal - const tiers = ['lv', 'mv', /* 'hv', 'ev', 'iv', 'luv', 'zpm', 'uv' */]; - const components = ['emitter', 'sensor', 'electric_motor', 'electric_piston', 'robot_arm', 'conveyor_module', 'electric_pump', 'fluid_regulator']; - - tiers.forEach(tier => { - components.forEach(component => { - event.remove({output: `gtceu:${tier}_${component}`}); - }); - }); - //lv default circuits removal - event.remove({output: 'gtceu:basic_electronic_circuit'}) // recipes done - event.remove({output: 'gtceu:basic_integrated_circuit'}) // recipes done, missing textures - event.remove({output: 'gtceu:microchip_processor'}) //recipes done for MV tier, TODO EV needs implementation - //mv default circuits removal - event.remove({output: 'gtceu:good_electronic_circuit'}) // recipies done, missing textures - event.remove({output: 'gtceu:good_integrated_circuit'}) // reciepies done, missing textures - event.remove({output: 'gtceu:micro_processor'}) // reciepies done, TODO EV needs implementaion - - event.shaped( - Item.of('gtceu:wood_plate'), - [ - 'A', - 'A', - ], - { - A:'#minecraft:logs' - } - ) - - // #endregion - - -}); \ No newline at end of file diff --git a/kubejs/config/server_scripts/IronChest.js b/kubejs/config/server_scripts/IronChest.js deleted file mode 100644 index 954bf0a6..00000000 --- a/kubejs/config/server_scripts/IronChest.js +++ /dev/null @@ -1,46 +0,0 @@ -//priority: 0 - var screws = ['gtceu:copper_screw', 'gtceu:iron_screw', 'gtceu:gold_screw', 'gtceu:diamond_screw', 'gtceu:diamond_screw'] - var plates = ['gtceu:copper_double_plate', 'gtceu:iron_double_plate', 'gtceu:gold_double_plate', 'kubejs:double_diamond_plate', 'kubejs:double_obsidian_plate'] - var chests = ['minecraft:chest', 'ironchest:copper_chest', 'ironchest:iron_chest', 'ironchest:gold_chest', 'ironchest:diamond_chest', 'ironchest:obsidian_chest'] -ServerEvents.recipes(event => { - event.remove({ output: 'ironchest:crystal_chest' }) - event.remove({ output: 'ironchest:copper_chest' }) - event.remove({ output: 'ironchest:iron_chest' }) - event.remove({ output: 'ironchest:gold_chest' }) - event.remove({ output: 'ironchest:diamond_chest' }) - event.remove({ output: 'ironchest:obsidian_chest' }) - var i = 0; - while (i < chests.length - 1){ - console.info(i) - - event.shaped(Item.of(chests[i + 1]), - [ - 'ABA', - 'BCB', - 'DBE' - ], - { - A: Item.of(screws[i]), - B: Item.of(plates[i]), - C: Item.of(chests[i]), - D: '#forge:tools/screwdrivers', - E: '#forge:tools/hammers' - } - ) - i++ -} - event.shaped(Item.of('ironchest:crystal_chest'), - [ - 'ABA', - 'BCB', - 'DBE' - ], - { - A: 'gtceu:tempered_glass', - B: 'gtceu:glass_plate', - C: 'ironchest:diamond_chest', - D: '#forge:tools/screwdrivers', - E: '#forge:tools/saws' - } - ) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_16k_wafer.js b/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_16k_wafer.js deleted file mode 100644 index c3d4c167..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_16k_wafer.js +++ /dev/null @@ -1,171 +0,0 @@ -ServerEvents.recipes(event => { - -event.custom({ - "type": "gtceu:cutter", - "duration": 900, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:lubricant", - "amount": 250 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:16k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1350, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:distilled_water", - "amount": 750 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:16k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1800, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "minecraft:water", - "amount": 1000 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:16k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_1k_wafer.js b/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_1k_wafer.js deleted file mode 100644 index cc98b792..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_1k_wafer.js +++ /dev/null @@ -1,171 +0,0 @@ -ServerEvents.recipes(event => { - -event.custom({ - "type": "gtceu:cutter", - "duration": 900, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:lubricant", - "amount": 250 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:1k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1350, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:distilled_water", - "amount": 750 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:1k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1800, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "minecraft:water", - "amount": 1000 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:1k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_256k_wafer.js b/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_256k_wafer.js deleted file mode 100644 index 465a2a74..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_256k_wafer.js +++ /dev/null @@ -1,171 +0,0 @@ -ServerEvents.recipes(event => { - -event.custom({ - "type": "gtceu:cutter", - "duration": 900, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:lubricant", - "amount": 250 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:256k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:256k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1350, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:distilled_water", - "amount": 750 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:256k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:256k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1800, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "minecraft:water", - "amount": 1000 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:256k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:256k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_4k_wafer.js b/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_4k_wafer.js deleted file mode 100644 index b2fac8e3..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_4k_wafer.js +++ /dev/null @@ -1,171 +0,0 @@ -ServerEvents.recipes(event => { - -event.custom({ - "type": "gtceu:cutter", - "duration": 900, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:lubricant", - "amount": 250 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:4k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1350, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:distilled_water", - "amount": 750 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:4k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1800, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "minecraft:water", - "amount": 1000 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:4k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_64k_wafer.js b/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_64k_wafer.js deleted file mode 100644 index 0286aef3..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/AE2/cutting_64k_wafer.js +++ /dev/null @@ -1,171 +0,0 @@ -ServerEvents.recipes(event => { - -event.custom({ - "type": "gtceu:cutter", - "duration": 900, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:lubricant", - "amount": 250 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:64k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:64k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1350, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "gtceu:distilled_water", - "amount": 750 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:64k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:64k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -event.custom({ - "type": "gtceu:cutter", - "duration": 1800, - "inputs": { - "fluid": [ - { - "content": { - "fluid": "minecraft:water", - "amount": 1000 - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ], - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:64k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:64k_me_storage_base" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 30720, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNaquadah.js b/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNaquadah.js deleted file mode 100644 index 6d5ffad1..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNaquadah.js +++ /dev/null @@ -1,356 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 200, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:naquadah_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - } - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 8, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 1920, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 200, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:naquadah_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:2}" - }, - - }, - - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 8, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 1920, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 200, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:naquadah_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - {"content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:3}" - }, - - }, - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 8, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - }, - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - ], - }, - "tickInputs": { - "eu": [ - { - "content": 1920, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - ], - }, - }) - - - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 900, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:naquadah_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - {"content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:5}" - }, - - }, - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:256k_me_storage_wafer" - }, - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - ], - }, - "tickInputs": { - "eu": [ - { - "content": 1920, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - ], - }, - }), - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 500, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:naquadah_wafer" - }, - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - }, - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 4, - "ingredient": { - "item": "kubejs:64k_me_storage_wafer" - }, - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - ], - }, - "tickInputs": { - "eu": [ - { - "content": 1920, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNeutronium.js b/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNeutronium.js deleted file mode 100644 index 150127c7..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverNeutronium.js +++ /dev/null @@ -1,357 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 50, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "gtceu:neutronium_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - } - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 7680, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 50, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:neutronium_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:2}" - }, - - }, - - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 7680, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 50, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:neutronium_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - {"content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:3}" - }, - - }, - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 16, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 7680, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - }) - - - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 500, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:neutronium_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - {"content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:5}" - }, - - }, - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 2, - "ingredient": { - "item": "kubejs:256k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 7680, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - }), - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 200, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:neutronium_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - } - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 8, - "ingredient": { - "item": "kubejs:64k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 7680, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverPhosphorus.js b/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverPhosphorus.js deleted file mode 100644 index b29a106b..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverPhosphorus.js +++ /dev/null @@ -1,286 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 500, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:phosphorus_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - } - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 4, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 480, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 500, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:phosphorus_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:2}" - }, - - }, - - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 4, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 480, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 500, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:phosphorus_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - {"content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:3}" - }, - - }, - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 4, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 480, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 900, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:naquadah_wafer" - }, - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - }, - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 4, - "ingredient": { - "item": "kubejs:64k_me_storage_wafer" - }, - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - ], - }, - "tickInputs": { - "eu": [ - { - "content": 1920, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverSilicon.js b/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverSilicon.js deleted file mode 100644 index a98edebf..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/Greg/Engraver/engraverSilicon.js +++ /dev/null @@ -1,218 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 900, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:silicon_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - } - - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:1k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 120, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 900, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:silicon_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:2}" - }, - - }, - - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:4k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 120, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} - }) - event.custom({ - "type": "gtceu:laser_engraver", - "duration": 900, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "gtceu:silicon_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "tag": "forge:lenses/certus" - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - {"content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:3}" - }, - - }, - }, - ], - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:16k_me_storage_wafer" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 120, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - }) - - - - -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/JSONRecipes/Greg/bender.js b/kubejs/config/server_scripts/JSONRecipes/Greg/bender.js deleted file mode 100644 index 56f4f911..00000000 --- a/kubejs/config/server_scripts/JSONRecipes/Greg/bender.js +++ /dev/null @@ -1,63 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - event.custom({ - "type": "gtceu:bender", - "duration": 26, - "inputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 5, - 'ingredient': - {"item": "minecraft:scute"} - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - }, - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "type": "forge:nbt", - "item": "gtceu:programmed_circuit", - "count": 1, - "nbt": "{Configuration:1}" - } - }, - "chance": 0.0, - "tierChanceBoost": 0.0 - }, - ] - }, - "outputs": { - "item": [ - { - "content": { - "type": "gtceu:sized", - "fabric:type": "gtceu:sized", - "count": 1, - "ingredient": { - "item": "kubejs:unf_turtle_helmet" - } - }, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickInputs": { - "eu": [ - { - "content": 24, - "chance": 1.0, - "tierChanceBoost": 0.0 - } - ] - }, - "tickOutputs": {} -}) -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/SequencedAssembly/AE2sequence.js b/kubejs/config/server_scripts/SequencedAssembly/AE2sequence.js deleted file mode 100644 index 9006b08c..00000000 --- a/kubejs/config/server_scripts/SequencedAssembly/AE2sequence.js +++ /dev/null @@ -1,55 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - - let incStorageCell = 'kubejs:incomplete_storage_cell' - let incStorageComponent = 'kubejs:incomplete_storage_component' - - event.recipes.createSequencedAssembly([ - 'ae2:cell_component_1k', -], 'kubejs:1k_me_storage_base', [ - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'gtceu:red_alloy_double_wire']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'gtceu:red_alloy_double_wire']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, '#forge:gems/certus_quartz']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:logic_processor']) - ]).transitionalItem(incStorageComponent).loops(1) -event.recipes.createSequencedAssembly([ - 'ae2:cell_component_4k', -], 'kubejs:4k_me_storage_base', [ - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'gtceu:copper_double_wire']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:cell_component_1k']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:calculation_processor']) - ]).transitionalItem(incStorageComponent).loops(3) - -event.recipes.createSequencedAssembly([ - 'ae2:cell_component_16k', -], 'kubejs:16k_me_storage_base', [ - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'gtceu:silver_double_wire']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:cell_component_4k']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:calculation_processor']) - ]).transitionalItem(incStorageComponent).loops(3) - - event.recipes.createSequencedAssembly([ - 'ae2:cell_component_64k', -], 'kubejs:64k_me_storage_base', [ - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'gtceu:aluminium_quadruple_wire']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:cell_component_16k']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:calculation_processor']) - ]).transitionalItem(incStorageComponent).loops(3) - - event.recipes.createSequencedAssembly([ - 'ae2:cell_component_256k', -], 'kubejs:256k_me_storage_base', [ - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'gtceu:platinum_double_wire']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:cell_component_64k']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:calculation_processor']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:sky_dust']) - ]).transitionalItem(incStorageComponent).loops(3) - - event.recipes.createSequencedAssembly([ - 'ae2:logic_processor', -], '#forge:circuits/lv', [ - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:printed_logic_processor']), - event.recipes.createDeploying(incStorageComponent, [incStorageComponent, 'ae2:printed_silicon']) - ]).transitionalItem(incStorageComponent).loops(1) - -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/SequencedAssembly/HV.js b/kubejs/config/server_scripts/SequencedAssembly/HV.js deleted file mode 100644 index d8b1a2de..00000000 --- a/kubejs/config/server_scripts/SequencedAssembly/HV.js +++ /dev/null @@ -1 +0,0 @@ -// priority: 0 \ No newline at end of file diff --git a/kubejs/config/server_scripts/SequencedAssembly/IntermediateItems.js b/kubejs/config/server_scripts/SequencedAssembly/IntermediateItems.js deleted file mode 100644 index 3c4e1408..00000000 --- a/kubejs/config/server_scripts/SequencedAssembly/IntermediateItems.js +++ /dev/null @@ -1,50 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - let rawIntegratedCirc = 'kubejs:raw_integrated_circuit_board' - let rawPlasticCircBoard = 'kubejs:raw_plastic_circuit_board' - let rawPhenolicCircBoard = 'kubejs:raw_phenolic_circuit_board' - - event.recipes.createMixing([rawIntegratedCirc], - [ - 'gtceu:resin_printed_circuit_board', - 'gtceu:ilc_chip', - Fluid.of('gtceu:soldering_alloy', 72) - ]) - - event.recipes.createMixing([rawPlasticCircBoard], - [ - 'gtceu:plastic_printed_circuit_board', - 'gtceu:cpu_chip', - Fluid.of('gtceu:soldering_alloy', 72) - ]) - - event.recipes.createMixing([rawIntegratedCirc], - [ - 'gtceu:resin_printed_circuit_board', - 'gtceu:ilc_chip', - Fluid.of('gtceu:tin', 144) - ]) - - event.recipes.createMixing([rawPlasticCircBoard], - [ - 'gtceu:plastic_printed_circuit_board', - 'gtceu:cpu_chip', - Fluid.of('gtceu:tin', 144) - ]) - - event.recipes.createSequencedAssembly([ - rawPhenolicCircBoard -], 'gtceu:phenolic_printed_circuit_board', [ - event.recipes.createDeploying(rawPhenolicCircBoard, [rawPhenolicCircBoard, '#forge:circuits/lv']), - event.recipes.createFilling(rawPhenolicCircBoard, [rawPhenolicCircBoard, Fluid.of('gtceu:soldering_alloy', 36)]) - ]).transitionalItem(rawPhenolicCircBoard).loops(2) - - event.recipes.createSequencedAssembly([ - rawPhenolicCircBoard -], 'gtceu:phenolic_printed_circuit_board', [ - event.recipes.createDeploying(rawPhenolicCircBoard, [rawPhenolicCircBoard, '#forge:circuits/lv']), - event.recipes.createFilling(rawPhenolicCircBoard, [rawPhenolicCircBoard, Fluid.of('gtceu:tin', 72)]) - ]).transitionalItem(rawPhenolicCircBoard).loops(2) - - -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/SequencedAssembly/LV.js b/kubejs/config/server_scripts/SequencedAssembly/LV.js deleted file mode 100644 index ac25a857..00000000 --- a/kubejs/config/server_scripts/SequencedAssembly/LV.js +++ /dev/null @@ -1,165 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event=>{ - // #region variables - let incBasicElectronicCirc = 'kubejs:inc_basic_electronic_circuit' - let incBasicIntegrated = 'kubejs:inc_basic_integrated_circuit' - let incMicrochipProcessor = 'kubejs:inc_microchip_processor' - - let incLvMotor = 'kubejs:inc_lv_motor' - let incLvPiston = 'kubejs:inc_lv_piston' - let lncLvRobotArm = 'kubejs:inc_lv_robot_arm' - let incLvConveyor = 'kubejs:inc_lv_conveyor' - let incLvPump = 'kubejs:inc_lv_pump' - let invLvFluidRegulator = 'kubejs:inc_lv_fluid_regulator' - let invLvSensor = 'kubejs:inc_lv_sensor' - let incLvEmitter = 'kubejs:inc_lv_emitter' - let rawIntegratedCirc = 'kubejs:raw_integrated_circuit_board' - let rawPlasticCircBoard = 'kubejs:raw_plastic_circuit_board' - // #endregion - // #region circuits - event.recipes.createSequencedAssembly([ - '2x gtceu:basic_electronic_circuit', -], 'gtceu:resin_printed_circuit_board', [ - event.recipes.createDeploying(incBasicElectronicCirc, [incBasicElectronicCirc, 'gtceu:red_alloy_single_wire']), - event.recipes.createDeploying(incBasicElectronicCirc, [incBasicElectronicCirc, ['gtceu:resistor', 'gtceu:smd_resistor']]), - event.recipes.createDeploying(incBasicElectronicCirc, [incBasicElectronicCirc, ['gtceu:vacuum_tube', 'gtceu:nand_chip']]), - event.recipes.createFilling(incBasicElectronicCirc, [incBasicElectronicCirc, Fluid.of('gtceu:tin', 72)]) - ]).transitionalItem(incBasicElectronicCirc).loops(2) - - event.recipes.createSequencedAssembly([ - '2x gtceu:basic_electronic_circuit', -], 'gtceu:resin_printed_circuit_board', [ - event.recipes.createDeploying(incBasicElectronicCirc, [incBasicElectronicCirc, 'gtceu:red_alloy_single_wire']), - event.recipes.createDeploying(incBasicElectronicCirc, [incBasicElectronicCirc, ['gtceu:resistor', 'gtceu:smd_resistor']]), - event.recipes.createDeploying(incBasicElectronicCirc, [incBasicElectronicCirc, ['gtceu:vacuum_tube', 'gtceu:nand_chip']]), - event.recipes.createFilling(incBasicElectronicCirc, [incBasicElectronicCirc, Fluid.of('gtceu:soldering_alloy', 36)]) - ]).transitionalItem(incBasicElectronicCirc).loops(2) - - event.recipes.createSequencedAssembly([ - '2x gtceu:basic_integrated_circuit', -], rawIntegratedCirc, [ - event.recipes.createDeploying(incBasicIntegrated, [incBasicIntegrated, ['gtceu:resistor', 'gtceu:smd_resistor']]), - event.recipes.createDeploying(incBasicIntegrated, [incBasicIntegrated, ['gtceu:diode', 'gtceu:smd_diode']]), - event.recipes.createDeploying(incBasicIntegrated, [incBasicIntegrated, 'gtceu:copper_fine_wire']), - event.recipes.createDeploying(incBasicIntegrated, [incBasicIntegrated, 'gtceu:tin_bolt']), - ]).transitionalItem(Item.of(incBasicIntegrated)).loops(2) - - event.recipes.createSequencedAssembly([ - '3x gtceu:microchip_processor', -], rawPlasticCircBoard, [ - event.recipes.createDeploying(incMicrochipProcessor, [incMicrochipProcessor, ['gtceu:resistor', 'gtceu:smd_resistor']]), - event.recipes.createDeploying(incMicrochipProcessor, [incMicrochipProcessor, ['gtceu:capacitor', 'gtceu:smd_capacitor']]), - event.recipes.createDeploying(incMicrochipProcessor, [incMicrochipProcessor, ['gtceu:transistor', 'gtceu:smd_transistor']]), - event.recipes.createDeploying(incMicrochipProcessor, [incMicrochipProcessor, 'gtceu:copper_fine_wire']), - ]).transitionalItem(incMicrochipProcessor).loops(2) - - // #endregion - // #region components - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_electric_motor', -], ['gtceu:magnetic_iron_rod', 'gtceu:magnetic_steel_rod'], [ - event.recipes.createDeploying(incLvMotor, [incLvMotor, 'gtceu:copper_single_wire']), - event.recipes.createDeploying(incLvMotor, [incLvMotor, 'gtceu:copper_single_wire']), - event.recipes.createDeploying(incLvMotor, [incLvMotor, ['gtceu:iron_rod','gtceu:steel_rod']]), - event.recipes.createDeploying(incLvMotor, [incLvMotor, 'gtceu:tin_single_cable']), - ]).transitionalItem(incLvMotor).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_electric_piston', -], 'gtceu:lv_electric_motor', [ - event.recipes.createDeploying(incLvPiston, [incLvPiston, 'gtceu:tin_single_cable']), - event.recipes.createDeploying(incLvPiston, [incLvPiston, 'gtceu:steel_small_gear']), - event.recipes.createDeploying(incLvPiston, [incLvPiston, 'gtceu:steel_rod']), - event.recipes.createDeploying(incLvPiston, [incLvPiston, 'gtceu:steel_plate']) - ]).transitionalItem(incLvPiston).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_robot_arm', -], 'gtceu:lv_electric_piston', [ - event.recipes.createDeploying(lncLvRobotArm, [lncLvRobotArm, '#forge:circuits/lv']), - event.recipes.createDeploying(lncLvRobotArm, [lncLvRobotArm, 'gtceu:lv_electric_motor']), - event.recipes.createDeploying(lncLvRobotArm, [lncLvRobotArm, 'gtceu:tin_single_cable']), - event.recipes.createDeploying(lncLvRobotArm, [lncLvRobotArm, 'gtceu:steel_rod']) - ]).transitionalItem(lncLvRobotArm).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_conveyor_module', -], 'gtceu:tin_single_cable', [ - event.recipes.createDeploying(incLvConveyor, - [incLvConveyor, - [ - 'gtceu:rubber_plate', - 'gtceu:silicone_rubber_plate', - 'gtceu:styrene_butadiene_rubber_plate' - ] - ]), - event.recipes.createDeploying(incLvConveyor, - [incLvConveyor, - [ - 'gtceu:rubber_plate', - 'gtceu:silicone_rubber_plate', - 'gtceu:styrene_butadiene_rubber_plate' - ] - ]), - event.recipes.createDeploying(incLvConveyor, - [incLvConveyor, - [ - 'gtceu:rubber_plate', - 'gtceu:silicone_rubber_plate', - 'gtceu:styrene_butadiene_rubber_plate' - ] - ]), - event.recipes.createDeploying(incLvConveyor, [incLvConveyor, 'gtceu:lv_electric_motor']) - ]).transitionalItem(incLvConveyor).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_electric_pump', -], 'gtceu:bronze_normal_fluid_pipe', [ - event.recipes.createDeploying(incLvPump, [incLvPump, 'gtceu:tin_screw']), - event.recipes.createDeploying(incLvPump, [incLvPump, 'gtceu:tin_rotor']), - event.recipes.createDeploying(incLvPump, - [incLvPump, - [ - 'gtceu:rubber_ring', - 'gtceu:silicone_rubber_ring', - 'gtceu:styrene_butadiene_rubber_ring' - ] - ]), - event.recipes.createDeploying(incLvPump, - [incLvPump, - [ - 'gtceu:rubber_ring', - 'gtceu:silicone_rubber_ring', - 'gtceu:styrene_butadiene_rubber_ring' - ] - ]), - event.recipes.createDeploying(incLvPump, [incLvPump, 'gtceu:tin_single_cable']), - event.recipes.createDeploying(incLvPump, [incLvPump, 'gtceu:lv_electric_motor']), - ]).transitionalItem(incLvPump).loops(1) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_fluid_regulator', -], 'gtceu:lv_electric_piston', [ - event.recipes.createDeploying(invLvFluidRegulator, [invLvFluidRegulator, '#forge:circuits/lv']) - ]).transitionalItem(invLvFluidRegulator).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_sensor', -], '#forge:circuits/lv', [ - event.recipes.createDeploying(invLvSensor, [invLvSensor, 'gtceu:steel_double_plate']), - event.recipes.createDeploying(invLvSensor, [invLvSensor, 'gtceu:steel_double_plate']), - event.recipes.createDeploying(invLvSensor, [invLvSensor, 'gtceu:brass_rod']), - event.recipes.createDeploying(invLvSensor, [invLvSensor, 'gtceu:quartzite_gem']) - ]).transitionalItem(invLvSensor).loops(1) - - event.recipes.createSequencedAssembly([ - 'gtceu:lv_emitter', -], 'gtceu:quartzite_gem', [ - event.recipes.createDeploying(incLvEmitter, [incLvEmitter, '#forge:circuits/lv']), - event.recipes.createDeploying(incLvEmitter, [incLvEmitter, 'gtceu:tin_single_cable']), - event.recipes.createDeploying(incLvEmitter, [incLvEmitter, 'gtceu:brass_rod']), - event.recipes.createDeploying(incLvEmitter, [incLvEmitter, 'gtceu:brass_rod']) -]).transitionalItem(incLvEmitter).loops(2) -// #endregion -}) diff --git a/kubejs/config/server_scripts/SequencedAssembly/MV.js b/kubejs/config/server_scripts/SequencedAssembly/MV.js deleted file mode 100644 index 7555bbf5..00000000 --- a/kubejs/config/server_scripts/SequencedAssembly/MV.js +++ /dev/null @@ -1,165 +0,0 @@ -// priority: 0 -ServerEvents.recipes(event => { - // #region variables - let incGoodElectronicCirc = 'kubejs:inc_good_electronic_circuit' - let incGoodIntegratedCirc = 'kubejs:inc_good_integrated_circuit' - let incMicroProcessor = 'kubejs:inc_micro_processor' - - let incMvMotor = 'kubejs:inc_mv_motor' - let incMvPiston = 'kubejs:inc_mv_piston' - let lncMvRobotArm = 'kubejs:inc_mv_robot_arm' - let incMvConveyor = 'kubejs:inc_mv_conveyor' - let incMvPump = 'kubejs:inc_mv_pump' - let invMvFluidRegulator = 'kubejs:inc_mv_fluid_regulator' - let invMvSensor = 'kubejs:inc_mv_sensor' - let incMvEmitter = 'kubejs:inc_mv_emitter' - let rawPhenolicCircBoard = 'kubejs:raw_phenolic_circuit_board' - let rawPlasticCircBoard = 'kubejs:raw_plastic_circuit_board' - // #endregion - // #region circuits - event.recipes.createSequencedAssembly([ - 'gtceu:good_electronic_circuit' -], 'gtceu:phenolic_printed_circuit_board',[ - event.recipes.createDeploying(incGoodElectronicCirc, [incGoodElectronicCirc, '#forge:circuits/lv']), - event.recipes.createDeploying(incGoodElectronicCirc, [incGoodElectronicCirc, ['gtceu:diode', 'gtceu:smd_diode']]), - event.recipes.createDeploying(incGoodElectronicCirc, [incGoodElectronicCirc, 'gtceu:copper_single_wire']), - event.recipes.createFilling(incGoodElectronicCirc, [incGoodElectronicCirc, Fluid.of('gtceu:soldering_alloy', 36)]) - ]).transitionalItem(incGoodElectronicCirc).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:good_electronic_circuit' -], 'gtceu:phenolic_printed_circuit_board',[ - event.recipes.createDeploying(incGoodElectronicCirc, [incGoodElectronicCirc, '#forge:circuits/lv']), - event.recipes.createDeploying(incGoodElectronicCirc, [incGoodElectronicCirc, ['gtceu:diode', 'gtceu:smd_diode']]), - event.recipes.createDeploying(incGoodElectronicCirc, [incGoodElectronicCirc, 'gtceu:copper_single_wire']), - event.recipes.createFilling(incGoodElectronicCirc, [incGoodElectronicCirc, Fluid.of('gtceu:tin', 72)]) - ]).transitionalItem(incGoodElectronicCirc).loops(2) - - event.recipes.createSequencedAssembly([ - '2x gtceu:good_integrated_circuit' -], rawPhenolicCircBoard, [ - event.recipes.createDeploying(incGoodIntegratedCirc, [incGoodIntegratedCirc, ['gtceu:smd_resistor', 'gtceu:resistor']]), - event.recipes.createDeploying(incGoodIntegratedCirc, [incGoodIntegratedCirc, ['gtceu:smd_diode', 'gtceu:diode']]), - event.recipes.createDeploying(incGoodIntegratedCirc, [incGoodIntegratedCirc, 'gtceu:gold_fine_wire']), - event.recipes.createDeploying(incGoodIntegratedCirc, [incGoodIntegratedCirc, 'gtceu:gold_fine_wire']), - event.recipes.createDeploying(incGoodIntegratedCirc, [incGoodIntegratedCirc, 'gtceu:silver_bolt']), - event.recipes.createDeploying(incGoodIntegratedCirc, [incGoodIntegratedCirc, 'gtceu:silver_bolt']) - ]).transitionalItem(incGoodIntegratedCirc).loops(2) - - event.recipes.createSequencedAssembly([ - '2x gtceu:micro_processor' -], rawPlasticCircBoard, [ - event.recipes.createDeploying(incMicroProcessor, [incMicroProcessor, ['gtceu:resistor', 'gtceu:smd_resistor']]), - event.recipes.createDeploying(incMicroProcessor, [incMicroProcessor, ['gtceu:capacitor', 'gtceu:smd_capacitor']]), - event.recipes.createDeploying(incMicroProcessor, [incMicroProcessor, ['gtceu:transistor', 'gtceu:smd_transistor']]), - event.recipes.createDeploying(incMicroProcessor, [incMicroProcessor, 'gtceu:red_alloy_fine_wire']), - ]).transitionalItem(incMicroProcessor).loops(4) - // #endregion - // #region components - event.recipes.createSequencedAssembly([ - 'gtceu:mv_electric_motor', -], 'gtceu:magnetic_steel_rod',[ - event.recipes.createDeploying(incMvMotor,[incMvMotor, 'gtceu:cupronickel_double_wire']), - event.recipes.createDeploying(incMvMotor,[incMvMotor, 'gtceu:cupronickel_double_wire']), - event.recipes.createDeploying(incMvMotor,[incMvMotor, 'gtceu:aluminium_rod']), - event.recipes.createDeploying(incMvMotor,[incMvMotor, 'gtceu:copper_single_cable']) - ]).transitionalItem(incMvMotor).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_electric_piston', -], 'gtceu:mv_electric_motor',[ - event.recipes.createDeploying(incMvPiston,[incMvPiston, 'gtceu:copper_single_cable']), - event.recipes.createDeploying(incMvPiston,[incMvPiston, 'gtceu:aluminium_small_gear']), - event.recipes.createDeploying(incMvPiston,[incMvPiston, 'gtceu:aluminium_rod']), - event.recipes.createDeploying(incMvPiston,[incMvPiston, 'gtceu:aluminium_plate']), - ]).transitionalItem(incMvPiston).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_robot_arm', -], 'gtceu:mv_electric_piston',[ - event.recipes.createDeploying(lncMvRobotArm,[lncMvRobotArm, '#forge:circuits/mv']), - event.recipes.createDeploying(lncMvRobotArm,[lncMvRobotArm, 'gtceu:mv_electric_motor']), - event.recipes.createDeploying(lncMvRobotArm,[lncMvRobotArm, 'gtceu:copper_single_cable']), - event.recipes.createDeploying(lncMvRobotArm,[lncMvRobotArm, 'gtceu:aluminium_rod']), - ]).transitionalItem(lncMvRobotArm).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_conveyor_module', -], 'gtceu:copper_single_cable',[ - event.recipes.createDeploying(incMvConveyor, - [incMvConveyor, - [ - 'gtceu:rubber_plate', - 'gtceu:silicone_rubber_plate', - 'gtceu:styrene_butadiene_rubber_plate' - ] - ]), - event.recipes.createDeploying(incMvConveyor, - [incMvConveyor, - [ - 'gtceu:rubber_plate', - 'gtceu:silicone_rubber_plate', - 'gtceu:styrene_butadiene_rubber_plate' - ] - ]), - event.recipes.createDeploying(incMvConveyor, - [incMvConveyor, - [ - 'gtceu:rubber_plate', - 'gtceu:silicone_rubber_plate', - 'gtceu:styrene_butadiene_rubber_plate' - ] - ]), - event.recipes.createDeploying(incMvConveyor,[incMvConveyor, 'gtceu:mv_electric_motor']), - ]).transitionalItem(incMvConveyor).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_electric_pump', -], 'gtceu:steel_normal_fluid_pipe',[ - event.recipes.createDeploying(incMvPump,[incMvPump, 'gtceu:bronze_screw']), - event.recipes.createDeploying(incMvPump,[incMvPump, 'gtceu:bronze_rotor']), - event.recipes.createDeploying(incMvPump, - [incMvPump, - [ - 'gtceu:rubber_ring', - 'gtceu:silicone_rubber_ring', - 'gtceu:styrene_butadiene_rubber_ring' - ] - ]), - event.recipes.createDeploying(incMvPump, - [incMvPump, - [ - 'gtceu:rubber_ring', - 'gtceu:silicone_rubber_ring', - 'gtceu:styrene_butadiene_rubber_ring' - ] - ]), - event.recipes.createDeploying(incMvPump,[incMvPump, 'gtceu:copper_single_cable']), - event.recipes.createDeploying(incMvPump,[incMvPump, 'gtceu:mv_electric_motor']), - ]).transitionalItem(incMvPump).loops(1) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_fluid_regulator', -], 'gtceu:mv_electric_piston', [ - event.recipes.createDeploying(invMvFluidRegulator, [invMvFluidRegulator, '#forge:circuits/mv']) - ]).transitionalItem(invMvFluidRegulator).loops(2) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_sensor', -], 'gtceu:electrum_rod',[ - event.recipes.createDeploying(invMvSensor,[invMvSensor,'#forge:circuits/mv']), - event.recipes.createDeploying(invMvSensor,[invMvSensor,'gtceu:aluminium_double_plate']), - event.recipes.createDeploying(invMvSensor,[invMvSensor,'gtceu:aluminium_double_plate']), - event.recipes.createDeploying(invMvSensor,[invMvSensor,'gtceu:emerald_flawless_gem']), - ]).transitionalItem(invMvSensor).loops(1) - - event.recipes.createSequencedAssembly([ - 'gtceu:mv_emitter', -], 'gtceu:emerald_flawless_gem', [ - event.recipes.createDeploying(incMvEmitter, [incMvEmitter, '#forge:circuits/mv']), - event.recipes.createDeploying(incMvEmitter, [incMvEmitter, 'gtceu:copper_single_cable']), - event.recipes.createDeploying(incMvEmitter, [incMvEmitter, 'gtceu:electrum_rod']), - event.recipes.createDeploying(incMvEmitter, [incMvEmitter, 'gtceu:electrum_rod']), -]).transitionalItem(incMvEmitter).loops(2) -// #endregion -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/Tags.js b/kubejs/config/server_scripts/Tags.js deleted file mode 100644 index e1cb400b..00000000 --- a/kubejs/config/server_scripts/Tags.js +++ /dev/null @@ -1,6 +0,0 @@ -//priority: 0 - -ServerEvents.tags('item', event => { - event.add('forge:lenses', 'kubejs:certus_quartz_lens') - event.add('forge:lenses/certus', 'kubejs:certus_quartz_lens') -}) \ No newline at end of file diff --git a/kubejs/config/server_scripts/Vanilla.js b/kubejs/config/server_scripts/Vanilla.js deleted file mode 100644 index 88430e90..00000000 --- a/kubejs/config/server_scripts/Vanilla.js +++ /dev/null @@ -1,99 +0,0 @@ -//priority: 0 -//priority: 0 - -ServerEvents.recipes(event => { - - // #region removal - - event.remove({ output: 'minecraft:netherite_ingot' }) - event.remove({ output: '#minecraft:planks' }) - event.remove({ output: 'minecraft:stick' }) - event.remove({ output: 'minecraft:chest' }) - event.remove({ output: [/(.*)a(.*):(.*)_hoe/,/(.*)a(.*):(.*)_shovel/,/(.*)a(.*):(.*)_pickaxe/,/(.*)a(.*):(.*)_sword/,/(.*)a(.*):(.*)_axe/,]}) - -var planks = ['minecraft:acacia_planks', 'minecraft:oak_planks', 'minecraft:birch_planks', 'minecraft:spruce_planks','minecraft:dark_oak_planks', 'minecraft:mangrove_planks', 'minecraft:jungle_planks', 'minecraft:warped_planks', 'minecraft:crimson_planks', 'gtceu:rubber_planks']; -var logs = ['#minecraft:acacia_logs', '#minecraft:oak_logs', '#minecraft:birch_logs', '#minecraft:spruce_logs', '#minecraft:dark_oak_logs', '#minecraft:mangrove_logs', '#minecraft:jungle_logs', '#minecraft:warped_stems','#minecraft:crimson_stems', 'gtceu:rubber_log' ] - -//addition - var i = 0; - - var j = 0; - - while (i < planks.length){ - event.shapeless( - Item.of(planks[i], 2), - [Item.of(logs[i], 1)] - ) - event.shaped( - Item.of('minecraft:stick', 2), - [ - 'A ', - 'A ', - ' ' - ], - { - A: planks[i] - } - ) - event.shapeless( - Item.of(planks[i], 4), - ['#forge:tools/saws', - logs[i] - ] - ).damageIngredient(Item.of('#forge:tools/saws')) - - - - event.shapeless( - Item.of('minecraft:stick', 4), - ['#forge:tools/files', - planks[i] - ] - ).damageIngredient(Item.of('#forge:tools/files')) - - - event.recipes.createCutting(Item.of( - planks[i], 6), - logs[i], ).processingTime(20) - - event.shapeless( - Item.of(planks[i], 4), - ['#forge:tools/saws', - logs[i] - ] - ).damageIngredient(Item.of('#forge:tools/saws')) - i++ - - - } - - event.shaped( - Item.of('minecraft:chest'), - [ - 'CBC', - 'BDB', - 'ABA' - ], - { - A:'#minecraft:logs', - B:'gtceu:wood_plate', - C:'gtceu:wood_gear', - D:'gtceu:wood_frame' - } - ) - - event.recipes.shaped(Item.of('minecraft:chest', 1), [ - 'GPG', - 'PFP', - 'PPP', - ], - { - P: planks[i], - F: ['gtceu:wood_frame', 'gtceu:treated_wood_frame'], - G: 'gtceu:wood_gear' - } - ) - i++ - - -}) \ No newline at end of file diff --git a/kubejs/server_scripts/Ore Processing/RawCrushing.js b/kubejs/server_scripts/Ore Processing/RawCrushing.js index d2cb9a4b..8eb90d35 100644 --- a/kubejs/server_scripts/Ore Processing/RawCrushing.js +++ b/kubejs/server_scripts/Ore Processing/RawCrushing.js @@ -7,11 +7,16 @@ ServerEvents.recipes(event => { const vanExtraMaterial = ['copper', 'nickel', 'cobalt'] - //Greg: + //Greg Ingots: const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','goethite','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] const extraMaterial = ['bauxite','emerald','cobalt_oxide','silver','lithium','molybdenum','rare_earth','cobalt','palladium','nickel','uraninite','lead','sulfur','uraninite','iron','sulfur','red_garnet','diatomite','magnetite','topaz','malachite','calcium','tin','tin','pyrite','iron','redstone','coal','sulfur','nickel','graphite','beryllium','sulfur','iron','aluminium','yellow_garnet','iron','grossular','sodalite','magnesium','iron','molybdenum','iron','sulfur','manganese','red_garnet','salt','chromium','rock_salt','saltpeter','aluminium','manganese','lazurite','manganese','red_garnet','yellow_garnet','antimony_trrioxide','antimony','blue_topaz','manganese','uraninite','iron','nickel','quartzite','nether_quartz','certus_quartz','carbon','pyrite','sulfur','aluminium','cinnabar','thorium','magnetite','redstone','tin','copper','copper','copper','copper'] + + const gemMaterial =['lapis','apatite','red_garnet','yellow_garnet','monazite','grossular','green_sapphire','emerald','diamond','coal','cinnabar','blue_topaz','asbestos','almandine','nether_quartz','spessartine','sodalite','sapphire','salt','ruby','rock_salt','pyrope','lazurite','certus_quartz','quartzite','topaz','realgar','malachite','soapstone','olivine','amethyst','amethyst'] + const gemExtra = [] + + //Minecraft let i = 0; for(i; i < vanillaMaterial.length; i++){ @@ -19,11 +24,23 @@ ServerEvents.recipes(event => { event.recipes.create.milling([`gtceu:${vanillaMaterial[i]}_crushed_ore`, Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5)], `minecraft:raw_${vanillaMaterial[i]}`) } + + //Greg Ingot let j = 0; for(j; j < gregMaterial.length; j++){ - event.recipes.create.crushing([`gtceu:${gregMaterial[j]}_crushed_ore`,Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gregMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${extraMaterial[j]}_dust`).withChance(0.2)], `gtceu:raw_${gregMaterial[j]}`) - event.recipes.create.milling([`gtceu:${gregMaterial[j]}_crushed_ore`, Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.10)], 'gtceu:raw_'+gregMaterial[j]) + event.recipes.create.crushing([`gtceu:${gregMaterial[j]}_crushed_ore`,Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gregMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${gemExtra[j]}_dust`).withChance(0.2)], `gtceu:raw_${gregMaterial[j]}`) + event.recipes.create.milling([`gtceu:${gregMaterial[j]}_crushed_ore`, Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.10)], `gtceu:raw_${gregMaterial[j]}`) } + //Greg Gem + + let g = 0; + + for(g; g < gemMaterial.length; g++){ + event.recipes.create.crushing([`2x gtceu:${gemMaterial[g]}_crushed_ore`,Item.of(`gtceu:${gemMaterial[g]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gemMaterial[g]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gemMaterial[g]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${gemExtra[g]}_dust`).withChance(0.2)], `gtceu:${gemMaterial[g]}_ore`) + event.recipes.create.milling([`gtceu:${gemMaterial[g]}_crushed_ore`, Item.of(`gtceu:${gemMaterial[g]}_crushed_ore`).withChance(0.10)], `gtceu:${gemMaterial[g]}_ore`) + } + + }) \ No newline at end of file From 627bdda523065801da4ec96564f05c77c804a6f3 Mon Sep 17 00:00:00 2001 From: domi-grb Date: Fri, 25 Aug 2023 17:18:35 +0200 Subject: [PATCH 7/7] removed create pipes & Changed needed recipes to Gt pipes --- kubejs/server_scripts/Mods/Create.js | 20 ++ .../Ore Processing/RawCrushing.js | 46 ---- kubejs/server_scripts/SequencedAssembly/HV.js | 147 +++++++++++- .../SequencedAssembly/IntermediateItems.js | 141 +++++++---- kubejs/startup_scripts/ItemGeneration.js | 218 +++++++++--------- kubejs/startup_scripts/MultiBlock.js | 22 ++ 6 files changed, 393 insertions(+), 201 deletions(-) delete mode 100644 kubejs/server_scripts/Ore Processing/RawCrushing.js create mode 100644 kubejs/startup_scripts/MultiBlock.js diff --git a/kubejs/server_scripts/Mods/Create.js b/kubejs/server_scripts/Mods/Create.js index 5317aee1..cafc6af0 100644 --- a/kubejs/server_scripts/Mods/Create.js +++ b/kubejs/server_scripts/Mods/Create.js @@ -1,6 +1,11 @@ ServerEvents.recipes(event => { var removed = [ + 'potato_cannon', + 'fluid_pipe', + 'smart_fluid_pipe', + 'mechanical_pump', + 'fluid_valve', 'water_wheel', 'large_water_wheel', 'andesite_casing', @@ -66,6 +71,21 @@ ServerEvents.recipes(event => { E:'create:large_cogwheel', } ) + + // potato cannon + event.recipes.createMechanicalCrafting( + Item.of('create:potato_cannon', 1), + [ + 'ABCCC', + 'DD ' + ], + { + A:'greate:steel_cogwheel', + B:'create:precision_mechanism', + C:'gtceu:copper_normal_fluid_pipe', + D:'minecraft:copper_ingot', + }) + // windmill bearing event.recipes.createMechanicalCrafting( Item.of('create:windmill_bearing', 1), diff --git a/kubejs/server_scripts/Ore Processing/RawCrushing.js b/kubejs/server_scripts/Ore Processing/RawCrushing.js deleted file mode 100644 index 8eb90d35..00000000 --- a/kubejs/server_scripts/Ore Processing/RawCrushing.js +++ /dev/null @@ -1,46 +0,0 @@ -ServerEvents.recipes(event => { - - event.remove({output: /create:crushed_raw_(.*)/}) - - //Minecraft: - const vanillaMaterial = ['gold', 'iron', 'copper'] - - const vanExtraMaterial = ['copper', 'nickel', 'cobalt'] - - //Greg Ingots: - const gregMaterial = ['aluminium','beryllium','cobalt','lead','lithium','molybdenum','neodymium','nickel','palladium','platinum','plutonium','silver','goethite','sulfur','thorium','tin','naquadah','asbesutos','hematite','geothite','calcite','cassiterite','cassiterite_sand','chalcopyrite','chromite','cobaltite','cooperite','galena','garnierite','ilmenite','bauxite','magnesite','magnetite','molybdenite','powellite','pyrite','pyrolusite','saltpeter','scheelite','tantalite','sphalerite','stibnite','tetrahedrite','tungstate','uraninite','wulfenite','yellow_limonite','graphite','bornite','chalcocite','bastnasite','pentlandite','spodumene','lepidolite','glauconite_sand','mica','barite','alunite','talc','soapstone','kyanite','pyrochlore','oilsands','tricalcium_phosphate','vanadium_magnetite','pollucite','bentonite','fullers_earth','pitchblende','trona','gypsum','zeolite','redstone','electrotine','diatomite','granitic_mineral_sand','garnet_sand','basaltic_mineral_sand'] - - const extraMaterial = ['bauxite','emerald','cobalt_oxide','silver','lithium','molybdenum','rare_earth','cobalt','palladium','nickel','uraninite','lead','sulfur','uraninite','iron','sulfur','red_garnet','diatomite','magnetite','topaz','malachite','calcium','tin','tin','pyrite','iron','redstone','coal','sulfur','nickel','graphite','beryllium','sulfur','iron','aluminium','yellow_garnet','iron','grossular','sodalite','magnesium','iron','molybdenum','iron','sulfur','manganese','red_garnet','salt','chromium','rock_salt','saltpeter','aluminium','manganese','lazurite','manganese','red_garnet','yellow_garnet','antimony_trrioxide','antimony','blue_topaz','manganese','uraninite','iron','nickel','quartzite','nether_quartz','certus_quartz','carbon','pyrite','sulfur','aluminium','cinnabar','thorium','magnetite','redstone','tin','copper','copper','copper','copper'] - - - const gemMaterial =['lapis','apatite','red_garnet','yellow_garnet','monazite','grossular','green_sapphire','emerald','diamond','coal','cinnabar','blue_topaz','asbestos','almandine','nether_quartz','spessartine','sodalite','sapphire','salt','ruby','rock_salt','pyrope','lazurite','certus_quartz','quartzite','topaz','realgar','malachite','soapstone','olivine','amethyst','amethyst'] - const gemExtra = [] - - - //Minecraft - let i = 0; - for(i; i < vanillaMaterial.length; i++){ - event.recipes.create.crushing([`gtceu:${vanillaMaterial[i]}_crushed_ore`,Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${vanillaMaterial[i]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${vanExtraMaterial[i]}_dust`).withChance(0.2)], `minecraft:raw_${vanillaMaterial[i]}`) - event.recipes.create.milling([`gtceu:${vanillaMaterial[i]}_crushed_ore`, Item.of(`gtceu:${vanillaMaterial[i]}_crushed_ore`).withChance(0.5)], `minecraft:raw_${vanillaMaterial[i]}`) - } - - - //Greg Ingot - let j = 0; - - for(j; j < gregMaterial.length; j++){ - event.recipes.create.crushing([`gtceu:${gregMaterial[j]}_crushed_ore`,Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gregMaterial[j]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${gemExtra[j]}_dust`).withChance(0.2)], `gtceu:raw_${gregMaterial[j]}`) - event.recipes.create.milling([`gtceu:${gregMaterial[j]}_crushed_ore`, Item.of(`gtceu:${gregMaterial[j]}_crushed_ore`).withChance(0.10)], `gtceu:raw_${gregMaterial[j]}`) - } - - //Greg Gem - - let g = 0; - - for(g; g < gemMaterial.length; g++){ - event.recipes.create.crushing([`2x gtceu:${gemMaterial[g]}_crushed_ore`,Item.of(`gtceu:${gemMaterial[g]}_crushed_ore`).withChance(0.5), Item.of(`gtceu:${gemMaterial[g]}_crushed_ore`).withChance(0.25),Item.of(`gtceu:${gemMaterial[g]}_impure_dust`).withChance(0.2),Item.of(`gtceu:${gemExtra[g]}_dust`).withChance(0.2)], `gtceu:${gemMaterial[g]}_ore`) - event.recipes.create.milling([`gtceu:${gemMaterial[g]}_crushed_ore`, Item.of(`gtceu:${gemMaterial[g]}_crushed_ore`).withChance(0.10)], `gtceu:${gemMaterial[g]}_ore`) - } - - -}) \ No newline at end of file diff --git a/kubejs/server_scripts/SequencedAssembly/HV.js b/kubejs/server_scripts/SequencedAssembly/HV.js index d8b1a2de..42aa1feb 100644 --- a/kubejs/server_scripts/SequencedAssembly/HV.js +++ b/kubejs/server_scripts/SequencedAssembly/HV.js @@ -1 +1,146 @@ -// priority: 0 \ No newline at end of file +// priority: 0 +ServerEvents.recipes(event => { + // #region variables + let interAdvCirc = 'kubejs:inter_advanced_integrated_circuit' + let incAdvCirc = 'kubejs:inc_advanced_integrated_circuit' + let interMicroProcCirc = 'kubejs:inter_micro_processor_assembly' + let incMicroProcCirc = 'kubejs:inc_micro_processor_assembly' + + let incHvMotor = 'kubejs:inc_hv_motor' + let incHvPiston = 'kubejs:inc_hv_piston' + let lncHvRobotArm = 'kubejs:inc_hv_robot_arm' + let incHvConveyor = 'kubejs:inc_hv_conveyor' + let incHvPump = 'kubejs:inc_hv_pump' + let invHvFluidRegulator = 'kubejs:inc_hv_fluid_regulator' + let invHvSensor = 'kubejs:inc_hv_sensor' + let incHvEmitter = 'kubejs:inc_hv_emitter' + // #endregion + // #region circuits + event.recipes.createSequencedAssembly([ + 'gtceu:advanced_integrated_circuit' + ], interAdvCirc, [ + event.recipes.createDeploying(incAdvCirc, [incAdvCirc, ['gtceu:transistor','gtceu:smd_transistor']]), + event.recipes.createDeploying(incAdvCirc, [incAdvCirc, 'gtceu:electrum_fine_wire']), + event.recipes.createDeploying(incAdvCirc, [incAdvCirc, 'gtceu:electrum_fine_wire']), + event.recipes.createDeploying(incAdvCirc, [incAdvCirc, 'gtceu:annealed_copper_bolt']), + event.recipes.createDeploying(incAdvCirc, [incAdvCirc, 'gtceu:annealed_copper_bolt']), + ]).transitionalItem(incAdvCirc).loops(4) + + event.recipes.createSequencedAssembly([ + 'gtceu:micro_processor_assembly' + ], interMicroProcCirc, [ + event.recipes.createDeploying(incMicroProcCirc, [incMicroProcCirc, 'gtceu:red_alloy_fine_wire']), + event.recipes.createDeploying(incMicroProcCirc, [incMicroProcCirc, 'gtceu:red_alloy_fine_wire']), + event.recipes.createDeploying(incMicroProcCirc, [incMicroProcCirc, ['gtceu:inductor', 'gtceu:smd_inductor']]), + event.recipes.createDeploying(incMicroProcCirc, [incMicroProcCirc, ['gtceu:capacitor', 'gtceu:smd_capacitor']]), + event.recipes.createDeploying(incMicroProcCirc, [incMicroProcCirc, ['gtceu:capacitor', 'gtceu:smd_capacitor']]) + ]).transitionalItem(incMicroProcCirc).loops(4) + // #endregion + // #region components + event.recipes.createSequencedAssembly([ + 'gtceu:hv_electric_motor', +], 'gtceu:magnetic_steel_rod',[ + event.recipes.createDeploying(incHvMotor,[incHvMotor, 'gtceu:electrum_double_wire']), + event.recipes.createDeploying(incHvMotor,[incHvMotor, 'gtceu:electrum_double_wire']), + event.recipes.createDeploying(incHvMotor,[incHvMotor, 'gtceu:stainless_steel_rod']), + event.recipes.createDeploying(incHvMotor,[incHvMotor, 'gtceu:silver_double_cable']) + ]).transitionalItem(incHvMotor).loops(2) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_electric_piston', +], 'gtceu:hv_electric_motor',[ + event.recipes.createDeploying(incHvPiston,[incHvPiston, 'gtceu:gold_single_cable']), + event.recipes.createDeploying(incHvPiston,[incHvPiston, 'gtceu:stainless_steel_small_gear']), + event.recipes.createDeploying(incHvPiston,[incHvPiston, 'gtceu:stainless_steel_rod']), + event.recipes.createDeploying(incHvPiston,[incHvPiston, 'gtceu:stainless_steel_plate']), + ]).transitionalItem(incHvPiston).loops(2) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_robot_arm', +], 'gtceu:hv_electric_piston',[ + event.recipes.createDeploying(lncHvRobotArm,[lncHvRobotArm, '#forge:circuits/hv']), + event.recipes.createDeploying(lncHvRobotArm,[lncHvRobotArm, 'gtceu:hv_electric_motor']), + event.recipes.createDeploying(lncHvRobotArm,[lncHvRobotArm, 'gtceu:gold_single_cable']), + event.recipes.createDeploying(lncHvRobotArm,[lncHvRobotArm, 'gtceu:stainless_steel_rod']), + ]).transitionalItem(lncHvRobotArm).loops(2) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_conveyor_module', +], 'gtceu:gold_single_cable',[ + event.recipes.createDeploying(incHvConveyor, + [incHvConveyor, + [ + 'gtceu:rubber_plate', + 'gtceu:silicone_rubber_plate', + 'gtceu:styrene_butadiene_rubber_plate' + ] + ]), + event.recipes.createDeploying(incHvConveyor, + [incHvConveyor, + [ + 'gtceu:rubber_plate', + 'gtceu:silicone_rubber_plate', + 'gtceu:styrene_butadiene_rubber_plate' + ] + ]), + event.recipes.createDeploying(incHvConveyor, + [incHvConveyor, + [ + 'gtceu:rubber_plate', + 'gtceu:silicone_rubber_plate', + 'gtceu:styrene_butadiene_rubber_plate' + ] + ]), + event.recipes.createDeploying(incHvConveyor,[incHvConveyor, 'gtceu:hv_electric_motor']), + ]).transitionalItem(incHvConveyor).loops(2) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_electric_pump', +], 'gtceu:stainless_steel_normal_fluid_pipe',[ + event.recipes.createDeploying(incHvPump,[incHvPump, 'gtceu:steel_screw']), + event.recipes.createDeploying(incHvPump,[incHvPump, 'gtceu:steel_rotor']), + event.recipes.createDeploying(incHvPump, + [incHvPump, + [ + 'gtceu:rubber_ring', + 'gtceu:silicone_rubber_ring', + 'gtceu:styrene_butadiene_rubber_ring' + ] + ]), + event.recipes.createDeploying(incHvPump, + [incHvPump, + [ + 'gtceu:rubber_ring', + 'gtceu:silicone_rubber_ring', + 'gtceu:styrene_butadiene_rubber_ring' + ] + ]), + event.recipes.createDeploying(incHvPump,[incHvPump, 'gtceu:gold_single_cable']), + event.recipes.createDeploying(incHvPump,[incHvPump, 'gtceu:hv_electric_motor']), + ]).transitionalItem(incHvPump).loops(1) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_fluid_regulator', +], 'gtceu:hv_electric_pump', [ + event.recipes.createDeploying(invHvFluidRegulator, [invHvFluidRegulator, '#forge:circuits/hv']) + ]).transitionalItem(invHvFluidRegulator).loops(2) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_sensor', +], 'gtceu:chromium_rod',[ + event.recipes.createDeploying(invHvSensor,[invHvSensor,'#forge:circuits/hv']), + event.recipes.createDeploying(invHvSensor,[invHvSensor,'gtceu:stainless_steel_double_plate']), + event.recipes.createDeploying(invHvSensor,[invHvSensor,'gtceu:stainless_steel_double_plate']), + event.recipes.createDeploying(invHvSensor,[invHvSensor,'minecraft:ender_eye']), + ]).transitionalItem(invHvSensor).loops(1) + + event.recipes.createSequencedAssembly([ + 'gtceu:hv_emitter', +], 'minecraft:ender_eye', [ + event.recipes.createDeploying(incHvEmitter, [incHvEmitter, '#forge:circuits/hv']), + event.recipes.createDeploying(incHvEmitter, [incHvEmitter, 'gtceu:gold_single_cable']), + event.recipes.createDeploying(incHvEmitter, [incHvEmitter, 'gtceu:chromium_rod']), + event.recipes.createDeploying(incHvEmitter, [incHvEmitter, 'gtceu:chromium_rod']), +]).transitionalItem(incHvEmitter).loops(2) +// #endregion +}) \ No newline at end of file diff --git a/kubejs/server_scripts/SequencedAssembly/IntermediateItems.js b/kubejs/server_scripts/SequencedAssembly/IntermediateItems.js index 3c4e1408..866b9431 100644 --- a/kubejs/server_scripts/SequencedAssembly/IntermediateItems.js +++ b/kubejs/server_scripts/SequencedAssembly/IntermediateItems.js @@ -1,50 +1,91 @@ -// priority: 0 -ServerEvents.recipes(event => { - let rawIntegratedCirc = 'kubejs:raw_integrated_circuit_board' - let rawPlasticCircBoard = 'kubejs:raw_plastic_circuit_board' - let rawPhenolicCircBoard = 'kubejs:raw_phenolic_circuit_board' - - event.recipes.createMixing([rawIntegratedCirc], - [ - 'gtceu:resin_printed_circuit_board', - 'gtceu:ilc_chip', - Fluid.of('gtceu:soldering_alloy', 72) - ]) - - event.recipes.createMixing([rawPlasticCircBoard], - [ - 'gtceu:plastic_printed_circuit_board', - 'gtceu:cpu_chip', - Fluid.of('gtceu:soldering_alloy', 72) - ]) - - event.recipes.createMixing([rawIntegratedCirc], - [ - 'gtceu:resin_printed_circuit_board', - 'gtceu:ilc_chip', - Fluid.of('gtceu:tin', 144) - ]) - - event.recipes.createMixing([rawPlasticCircBoard], - [ - 'gtceu:plastic_printed_circuit_board', - 'gtceu:cpu_chip', - Fluid.of('gtceu:tin', 144) - ]) - - event.recipes.createSequencedAssembly([ - rawPhenolicCircBoard -], 'gtceu:phenolic_printed_circuit_board', [ - event.recipes.createDeploying(rawPhenolicCircBoard, [rawPhenolicCircBoard, '#forge:circuits/lv']), - event.recipes.createFilling(rawPhenolicCircBoard, [rawPhenolicCircBoard, Fluid.of('gtceu:soldering_alloy', 36)]) - ]).transitionalItem(rawPhenolicCircBoard).loops(2) - - event.recipes.createSequencedAssembly([ - rawPhenolicCircBoard -], 'gtceu:phenolic_printed_circuit_board', [ - event.recipes.createDeploying(rawPhenolicCircBoard, [rawPhenolicCircBoard, '#forge:circuits/lv']), - event.recipes.createFilling(rawPhenolicCircBoard, [rawPhenolicCircBoard, Fluid.of('gtceu:tin', 72)]) - ]).transitionalItem(rawPhenolicCircBoard).loops(2) - - -}) \ No newline at end of file +/* + +// priority: 0 +ServerEvents.recipes(event => { + let rawPhenolicCircBoard = 'kubejs:raw_phenolic_circuit_board' + let interAdvCirc = 'kubejs:inter_advanced_integrated_circuit' + let interMicroProcCirc = 'kubejs:inter_micro_processor_assembly' + let rawEpoxyCircBoard = 'kubejs:raw_epoxy_circuit_board' + let interNanoProc = 'kubejs:inter_nano_processor' + let incNanoProc = 'kubejs:inc_nano_processor' + + event.recipes.createSequencedAssembly([ + rawPhenolicCircBoard + ], 'gtceu:phenolic_printed_circuit_board', [ + event.recipes.createDeploying(rawPhenolicCircBoard, [rawPhenolicCircBoard, '#forge:circuits/lv']), + event.recipes.createFilling(rawPhenolicCircBoard, [rawPhenolicCircBoard, Fluid.of('gtceu:soldering_alloy', 36)]) + ]).transitionalItem(rawPhenolicCircBoard).loops(2) + + event.recipes.createSequencedAssembly([ + rawPhenolicCircBoard + ], 'gtceu:phenolic_printed_circuit_board', [ + event.recipes.createDeploying(rawPhenolicCircBoard, [rawPhenolicCircBoard, '#forge:circuits/lv']), + event.recipes.createFilling(rawPhenolicCircBoard, [rawPhenolicCircBoard, Fluid.of('gtceu:tin', 72)]) + ]).transitionalItem(rawPhenolicCircBoard).loops(2) + + event.recipes.createMixing([interAdvCirc], + [ + '2x gtceu:good_integrated_circuit', + '2x gtceu:ram_chip', + '2x gtceu:ilc_chip', + Fluid.of('gtceu:tin', 144) + ]).heated() + event.recipes.createMixing([interAdvCirc], + [ + '2x gtceu:good_integrated_circuit', + '2x gtceu:ram_chip', + '2x gtceu:ilc_chip', + Fluid.of('gtceu:soldering_alloy', 72) + ]).heated() + + event.recipes.createSequencedAssembly([ //textureneed for intermediate item + interMicroProcCirc + ], 'gtceu:plastic_printed_circuit_board', [ + event.recipes.createDeploying('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', 'gtceu:micro_processor']), + event.recipes.createDeploying('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', 'gtceu:ram_chip']), + event.recipes.createDeploying('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', 'gtceu:ram_chip']), + event.recipes.createFilling('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', Fluid.of('gtceu:tin', 144)]) + ]).transitionalItem('gtceu:plastic_printed_circuit_board').loops(2) + + event.recipes.createSequencedAssembly([ + interMicroProcCirc + ], 'gtceu:plastic_printed_circuit_board', [ + event.recipes.createDeploying('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', 'gtceu:micro_processor']), + event.recipes.createDeploying('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', 'gtceu:ram_chip']), + event.recipes.createDeploying('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', 'gtceu:ram_chip']), + event.recipes.createFilling('gtceu:plastic_printed_circuit_board', ['gtceu:plastic_printed_circuit_board', Fluid.of('gtceu:soldering_alloy', 72)]) + ]).transitionalItem('gtceu:plastic_printed_circuit_board').loops(2) + + event.recipes.createMixing([rawEpoxyCircBoard], + [ + 'gtceu:epoxy_printed_circuit_board', + 'gtceu:nano_cpu_chip', + Fluid.of('gtceu:soldering_alloy', 72) + ]).heated() + event.recipes.createMixing([rawEpoxyCircBoard], + [ + 'gtceu:epoxy_printed_circuit_board', + 'gtceu:nano_cpu_chip', + Fluid.of('gtceu:tin', 144) + ]).heated() + + event.recipes.createSequencedAssembly([ + interNanoProc + ], rawEpoxyCircBoard, [ + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:smd_resistor']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:smd_capacitor']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:smd_transistor']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:electrum_fine_wire']), + ]).transitionalItem(incNanoProc).loops(6) + + event.recipes.createSequencedAssembly([ + interNanoProc + ], rawEpoxyCircBoard, [ + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:advanced_smd_resistor']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:advanced_smd_capacitor']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:advanced_smd_transistor']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:electrum_fine_wire']), + event.recipes.createDeploying(incNanoProc, [incNanoProc, 'gtceu:electrum_fine_wire']), + ]).transitionalItem(incNanoProc).loops(2) +}) +*/ \ No newline at end of file diff --git a/kubejs/startup_scripts/ItemGeneration.js b/kubejs/startup_scripts/ItemGeneration.js index fcbcb7b0..0f9fca47 100644 --- a/kubejs/startup_scripts/ItemGeneration.js +++ b/kubejs/startup_scripts/ItemGeneration.js @@ -1,104 +1,114 @@ -// Priority: 0 -StartupEvents.registry('item', event => { - - event.create('drinkable_liquid_concrete').displayName('Bucket of Drinkable Liquid Concrete') - - event.create('raw_integrated_circuit').displayName('Raw Integrated Circuit') - event.create('inc_mv_circuit', 'create:sequenced_assembly').displayName('Incomplete MV Circuit') - event.create('inc_lv_circuit', 'create:sequenced_assembly').displayName('Incomplete Basic Electronic Circuit') - event.create('sub_lv_circuit_2').displayName('Incomplete Basic Integrated Circuit') - event.create('sub_lv_circuit_3').displayName('Incomplete Microchip Processer') - - event.create('inc_basic_electronic_circuit', 'create:sequenced_assembly') - event.create('inc_basic_integrated_circuit', 'create:sequenced_assembly') - event.create('inc_microchip_processor', 'create:sequenced_assembly') - - event.create('inc_good_electronic_circuit', 'create:sequenced_assembly') - event.create('inc_good_integrated_circuit', 'create:sequenced_assembly') - event.create('inc_micro_processor', 'create:sequenced_assembly') - - event.create('inc_hv_circuit', 'create:sequenced_assembly') - - event.create('raw_integrated_circuit_board').displayName("Raw Integrated Circuit Board") - event.create('raw_phenolic_circuit_board', 'create:sequenced_assembly').displayName("Raw Phenolic Printed Circuit Board") - event.create('raw_plastic_circuit_board').displayName("Raw Plastic Printed Circuit Board") - // LV components - event.create('inc_lv_motor', 'create:sequenced_assembly').displayName('Incomplete LV Motor') - event.create('inc_lv_piston', 'create:sequenced_assembly').displayName('Incomplete LV Piston') - event.create('inc_lv_pump', 'create:sequenced_assembly').displayName('Incomplete LV Pump') - event.create('inc_lv_fluid_regulator', 'create:sequenced_assembly').displayName('Incomplete LV Fluid Regulator') - event.create('inc_lv_sensor', 'create:sequenced_assembly').displayName('Incomplete LV Sensor') - event.create('inc_lv_emitter', 'create:sequenced_assembly').displayName('Incomplete LV Emitter') - event.create('inc_lv_conveyor', 'create:sequenced_assembly').displayName('Incomplete LV Conveyor') - event.create('inc_lv_robot_arm', 'create:sequenced_assembly').displayName('Incomplete LV Robot Arm') - // MV components - event.create('inc_mv_motor', 'create:sequenced_assembly').displayName('Incomplete MV Motor') - event.create('inc_mv_piston', 'create:sequenced_assembly').displayName('Incomplete MV Piston') - event.create('inc_mv_pump', 'create:sequenced_assembly').displayName('Incomplete MV Pump') - event.create('inc_mv_fluid_regulator', 'create:sequenced_assembly').displayName('Incomplete MV Fluid Regulator') - event.create('inc_mv_sensor', 'create:sequenced_assembly').displayName('Incomplete MV Sensor') - event.create('inc_mv_emitter', 'create:sequenced_assembly').displayName('Incomplete MV Emitter') - event.create('inc_mv_conveyor', 'create:sequenced_assembly').displayName('Incomplete MV Conveyor') - event.create('inc_mv_robot_arm', 'create:sequenced_assembly').displayName('Incomplete MV Robotic Arm') - - // AE2 - - event.create('1k_me_storage_wafer').displayName('1k ME Storage Wafer') - event.create('1k_me_storage_base').displayName('1k ME Storage Base') - - event.create('4k_me_storage_wafer').displayName('4k ME Storage Wafer') - event.create('4k_me_storage_base').displayName('4k ME Storage Base') - - event.create('16k_me_storage_wafer').displayName('16k ME Storage Wafer') - event.create('16k_me_storage_base').displayName('16k ME Storage Base') - - event.create('64k_me_storage_wafer').displayName('64k ME Storage Wafer') - event.create('64k_me_storage_base').displayName('64k ME Storage Base') - - event.create('256k_me_storage_wafer').displayName('256k ME Storage Wafer') - event.create('256k_me_storage_base').displayName('256k ME Storage Base') - - event.create('incomplete_storage_cell', 'create:sequenced_assembly').displayName('Incomplete Storage Cell') - event.create('incomplete_storage_component', 'create:sequenced_assembly').displayName('Incomplete Storage Component') - - // Ad Astra - // Stainless Steel - event.create('stainless_steel_engine') - event.create('stainless_steel_fin') - event.create('stainless_steel_cone') - - // Tungsten Steel - event.create('tungsten_steel_engine') - event.create('tungsten_steel_fin') - event.create('tungsten_steel_cone') - - // HSS-E - event.create('hsse_engine') - event.create('hsse_fin') - event.create('hsse_cone') - - // Trinium - event.create('trinium_engine') - event.create('trinium_fin') - event.create('trinium_cone') - - - - // misc - event.create('unf_turtle_helmet').displayName('Turtle Helmet Shell') - event.create('netherite_plate').displayName('Netherite Plate') - event.create('double_obsidian_plate').displayName('Double Obsidian Plate') - event.create('double_diamond_plate').displayName('Double Diamond Plate') - event.create('obsidian_screw').displayName('Obsidian Screw') - event.create('certus_quartz_lens').displayName('Certus Quartz Lens') - event.create('infinity_me_storage_wafer').displayName('Infinity ME Storage Component') - event.create('ruthenium_trinium_americium_neutronate_plate').displayName('Ruthenium Trinium Americium Neutronate Plate') - event.create('flint_saw').displayName('Flint Saw').maxDamage(64).unstackable() - - event.create('bed_base').displayName('Bed Base') - event.create('mattress').displayName('Mattress') - - //compass - event.create('empty_compass').displayName('Empty Compass') - -}) +// Priority: 0 +StartupEvents.registry('item', event => { + + event.create('drinkable_liquid_concrete').displayName('Bucket of Drinkable Liquid Concrete') + + event.create('inc_mv_circuit', 'create:sequenced_assembly').displayName('Incomplete MV Circuit') + //lv circuits + event.create('inc_basic_electronic_circuit', 'create:sequenced_assembly').displayName('Incomplete Basic Electronic Circuit') + event.create('inc_basic_integrated_circuit', 'create:sequenced_assembly').displayName('Incomplete Basic Integrated Circuit') + event.create('inc_microchip_processor', 'create:sequenced_assembly').displayName('Incomplete Microchip Processor') + //hv circuits + event.create('inc_good_electronic_circuit', 'create:sequenced_assembly').displayName('Incomplete Godd Electronic Circuit') + event.create('inc_good_integrated_circuit', 'create:sequenced_assembly').displayName('Incomplete Good Integrated Circuit') + event.create('inc_micro_processor', 'create:sequenced_assembly').displayName('Incomplete Micro Processor') + //hv circuits missing texture for inter items + event.create('inter_advanced_integrated_circuit').displayName('Intermediate Advanced Integrated Circuit') + event.create('inc_advanced_integrated_circuit', 'create:sequenced_assembly').displayName('Incomplete Advanced Integrated Circuit') + + event.create('inter_micro_processor_assembly').displayName('Intermediate Micro Processor Assembly') + event.create('inc_micro_processor_assembly', 'create:sequenced_assembly').displayName('Incomplete Micro Processor Assembly') + + event.create('inter_nano_processor').displayName('Intermediate Nano Processor') + event.create('inc_nano_processor', 'create:sequenced_assembly').displayName('Incomplete Nano Processor') + + event.create('raw_integrated_circuit_board').displayName("Raw Integrated Circuit Board") + event.create('raw_phenolic_circuit_board', 'create:sequenced_assembly').displayName("Raw Phenolic Printed Circuit Board") + event.create('raw_plastic_circuit_board').displayName("Raw Plastic Printed Circuit Board") + // LV components + event.create('inc_lv_motor', 'create:sequenced_assembly').displayName('Incomplete LV Motor') + event.create('inc_lv_piston', 'create:sequenced_assembly').displayName('Incomplete LV Piston') + event.create('inc_lv_pump', 'create:sequenced_assembly').displayName('Incomplete LV Pump') + event.create('inc_lv_fluid_regulator', 'create:sequenced_assembly').displayName('Incomplete LV Fluid Regulator') + event.create('inc_lv_sensor', 'create:sequenced_assembly').displayName('Incomplete LV Sensor') + event.create('inc_lv_emitter', 'create:sequenced_assembly').displayName('Incomplete LV Emitter') + event.create('inc_lv_conveyor', 'create:sequenced_assembly').displayName('Incomplete LV Conveyor') + event.create('inc_lv_robot_arm', 'create:sequenced_assembly').displayName('Incomplete LV Robot Arm') + // MV components + event.create('inc_mv_motor', 'create:sequenced_assembly').displayName('Incomplete MV Motor') + event.create('inc_mv_piston', 'create:sequenced_assembly').displayName('Incomplete MV Piston') + event.create('inc_mv_pump', 'create:sequenced_assembly').displayName('Incomplete MV Pump') + event.create('inc_mv_fluid_regulator', 'create:sequenced_assembly').displayName('Incomplete MV Fluid Regulator') + event.create('inc_mv_sensor', 'create:sequenced_assembly').displayName('Incomplete MV Sensor') + event.create('inc_mv_emitter', 'create:sequenced_assembly').displayName('Incomplete MV Emitter') + event.create('inc_mv_conveyor', 'create:sequenced_assembly').displayName('Incomplete MV Conveyor') + event.create('inc_mv_robot_arm', 'create:sequenced_assembly').displayName('Incomplete MV Robotic Arm') + // HV components + event.create('inc_hv_motor', 'create:sequenced_assembly') + event.create('inc_hv_piston', 'create:sequenced_assembly').displayName('Incomplete HV Piston') + event.create('inc_hv_pump', 'create:sequenced_assembly').displayName('Incomplete HV Pump') + event.create('inc_hv_fluid_regulator', 'create:sequenced_assembly').displayName('Incomplete HV Fluid Regulator') + event.create('inc_hv_sensor', 'create:sequenced_assembly').displayName('Incomplete HV Sensor') + event.create('inc_hv_emitter', 'create:sequenced_assembly').displayName('Incomplete HV Emitter') + event.create('inc_hv_conveyor', 'create:sequenced_assembly').displayName('Incomplete HV Conveyor') + event.create('inc_hv_robot_arm', 'create:sequenced_assembly').displayName('Incomplete HV Robot Arm') + + // AE2 + + event.create('1k_me_storage_wafer').displayName('1k ME Storage Wafer') + event.create('1k_me_storage_base').displayName('1k ME Storage Base') + + event.create('4k_me_storage_wafer').displayName('4k ME Storage Wafer') + event.create('4k_me_storage_base').displayName('4k ME Storage Base') + + event.create('16k_me_storage_wafer').displayName('16k ME Storage Wafer') + event.create('16k_me_storage_base').displayName('16k ME Storage Base') + + event.create('64k_me_storage_wafer').displayName('64k ME Storage Wafer') + event.create('64k_me_storage_base').displayName('64k ME Storage Base') + + event.create('256k_me_storage_wafer').displayName('256k ME Storage Wafer') + event.create('256k_me_storage_base').displayName('256k ME Storage Base') + + event.create('incomplete_storage_cell', 'create:sequenced_assembly').displayName('Incomplete Storage Cell') + event.create('incomplete_storage_component', 'create:sequenced_assembly').displayName('Incomplete Storage Component') + + // Ad Astra + // Stainless Steel + event.create('stainless_steel_engine') + event.create('stainless_steel_fin') + event.create('stainless_steel_cone') + + // Tungsten Steel + event.create('tungsten_steel_engine') + event.create('tungsten_steel_fin') + event.create('tungsten_steel_cone') + + // HSS-E + event.create('hsse_engine') + event.create('hsse_fin') + event.create('hsse_cone') + + // Trinium + event.create('trinium_engine') + event.create('trinium_fin') + event.create('trinium_cone') + + + + // misc + event.create('unf_turtle_helmet').displayName('Turtle Helmet Shell') + event.create('netherite_plate').displayName('Netherite Plate') + event.create('double_obsidian_plate').displayName('Double Obsidian Plate') + event.create('double_diamond_plate').displayName('Double Diamond Plate') + event.create('obsidian_screw').displayName('Obsidian Screw') + event.create('certus_quartz_lens').displayName('Certus Quartz Lens') + event.create('infinity_me_storage_wafer').displayName('Infinity ME Storage Component') + event.create('ruthenium_trinium_americium_neutronate_plate').displayName('Ruthenium Trinium Americium Neutronate Plate') + event.create('flint_saw').displayName('Flint Saw').maxDamage(64).unstackable() + + + //compass + event.create('empty_compass').displayName('Empty Compass') + +}) \ No newline at end of file diff --git a/kubejs/startup_scripts/MultiBlock.js b/kubejs/startup_scripts/MultiBlock.js new file mode 100644 index 00000000..fecf1809 --- /dev/null +++ b/kubejs/startup_scripts/MultiBlock.js @@ -0,0 +1,22 @@ +GTCEuStartupEvents.registry('gtceu:machine', event => { + + //multi + event.create('ore_proc', 'multiblock') + .rotationState(RotationState.NON_Y_AXIS) + .recipeType('test_recipe_type') + .appearanceBlock(GTBlocks.CASING_STAINLESS_CLEAN) + .pattern(definition => FactoryBlockPattern.start() + .aisle("XXX", "XXX", "XXX") + .aisle("XXX", "X#X", "XXX") + .aisle("XXX", "XSX", "XXX") + .where('S', Predicates.controller(Predicates.blocks(definition.get()))) + .where('X', Predicates.blocks(GTBlocks.CASING_STAINLESS_CLEAN.get()).setMinGlobalLimited(5) + .or(Predicates.autoAbilities(definition.getRecipeType()))) + .where('M', Predicates.abilities(PartAbility.MUFFLER).setExactLimit(1)) + .where('#', Predicates.air()) + .build()) + .workableCasingRenderer("gtceu:block/casings/solid/machine_casing_clean_stainless_steel", + "gtceu:block/multiblock/implosion_compressor", true) + + +}) \ No newline at end of file