// priority -10
const $RecipeJS = Java.loadClass("dev.latvian.mods.kubejs.recipe.RecipeJS");
const $RecipesEventJS = Java.loadClass("dev.latvian.mods.kubejs.recipe.RecipesEventJS");

ServerEvents.recipes(event => {
    event.forEachRecipe({ mod: 'gtceu', type: 'gtceu:electric_blast_furnace' }, recipe => {
        try {
            var newDuration = recipe.get("duration");
            recipe.set("duration", newDuration * 3 / 4 >= 1 ? newDuration * 3 / 4 : 1);

        } catch (err) {}
    })
    event.forEachRecipe({ mod: 'gtceu', type: 'gtceu:alloy_blast_smelter' }, recipe => {
        try {
            var newDuration = recipe.get("duration");
            recipe.set("duration", newDuration * 3 / 4 >= 1 ? newDuration * 3 / 4 : 1);

        } catch (err) {}
    })
    event.forEachRecipe({ id: 'gtceu:large_chemical_reactor/ethylene_from_ethanol' }, recipe => {
        let newduration = recipe.get('duration')
        recipe.set('duration', newduration / 3)
    })
})

ServerEvents.recipes(event => {
    // event.recipes.gtceu.create_mixer("rose_quartz")
    //     .itemInputs("minecraft:quartz", "4x minecraft:redstone")
    //     .itemOutputs("create:rose_quartz")
    //     .duration(100)
    //     .EUt(32)
    //     .rpm(64)
    event.recipes.gtceu.mixer("rose_quartz2")
        .circuit(5)
        .itemInputs("minecraft:quartz", "4x minecraft:redstone")
        .itemOutputs("create:rose_quartz")
        .duration(100)
        .EUt(32)
        // event.recipes.gtceu.create_mixer("polished_rose_quartz")
        //     .itemInputs("minecraft:quartz")
        //     .inputFluids("gtceu:redstone 288")
        //     .itemOutputs("create:polished_rose_quartz")
        //     .duration(100)
        //     .EUt(32)
        //     .rpm(64)
    event.recipes.gtceu.mixer("polished_rose_quartz2")
        .itemInputs("minecraft:quartz")
        .inputFluids("gtceu:redstone 288")
        .itemOutputs("create:polished_rose_quartz")
        .duration(100)
        .EUt(32)
    event.recipes.gtceu.alloy_smelter("andesite_alloy")
        .EUt(7)
        .duration(100)
        .itemInputs("minecraft:andesite")
        .itemInputs("minecraft:iron_ingot")
        .itemOutputs("2x gtceu:andesite_alloy_ingot")
    event.recipes.gtceu.assembler("manatransformer")
        .EUt(30)
        .duration(100)
        .itemInputs(["#gtceu:circuits/lv", "4x gtceu:red_alloy_plate", "4x botania:livingrock"])
        .itemOutputs("botania:mana_fluxfield")
    event.recipes.gtceu.assembler("submarine")
        .EUt(480)
        .duration(400)
        .itemInputs(["alexscaves:enigmatic_engine", "2x #gtceu:circuits/hv", "4x gtceu:energy_crystal", "2x gtceu:hv_sensor", "4x gtceu:hv_electric_motor", "8x gtceu:red_steel_plate"])
        .itemOutputs("alexscaves:submarine")
    event.recipes.gtceu.desalting("salt1")
        .EUt(120)
        .duration(400)
        .blastFurnaceTemp(1600)
        .circuit(0)
        .inputFluids("gtceu:seawater 1000")
        .itemOutputs("2x gtceu:salt_dust")
        .chancedOutput("gtceu:small_rock_salt_dust", 4000, 500)
    event.recipes.gtceu.desalting("salt2")
        .EUt(480)
        .duration(400)
        .blastFurnaceTemp(2900)
        .circuit(1)
        .inputFluids("gtceu:seawater 2000")
        .itemOutputs("3x gtceu:salt_dust")
        .chancedOutput("gtceu:small_rock_salt_dust", 6000, 500)
        .outputFluids("gtceu:iodized_brine 100")
    event.recipes.gtceu.alloy_smelter("scarlet_ingot")
        .EUt(7)
        .duration(100)
        .itemInputs(["alexscaves:raw_scarlet_neodymium", "minecraft:iron_ingot"])
        .itemOutputs("2x alexscaves:scarlet_neodymium_ingot")
    event.recipes.gtceu.alloy_smelter("azure_ingot")
        .EUt(7)
        .duration(100)
        .itemInputs(["alexscaves:raw_azure_neodymium", "minecraft:iron_ingot"])
        .itemOutputs("2x alexscaves:azure_neodymium_ingot")
    event.recipes.gtceu.mixer("sky_dust")
        .EUt(120)
        .duration(100)
        .itemInputs(["10x gtceu:stone_dust", "2x gtceu:silicon_dust", "gtceu:electrotine_dust"])
        .itemOutputs("13x ae2:sky_dust")
        .circuit(2)
        // event.recipes.gtceu.compressor("dense_obsidian_plate")
        //     .EUt(96)
        //     .duration(400)
        //     .itemInputs("9x gtceu:obsidian_plate")
        //     .circuit(9)
        //     .itemOutputs("gtceu:dense_obsidian_plate")
        // event.recipes.gtceu.compressor("dense_obsidian_plate2")
        //     .EUt(96)
        //     .duration(400)
        //     .itemInputs("9x gtceu:obsidian_dust")
        //     .circuit(9)
        //     .itemOutputs("gtceu:dense_obsidian_plate")
        /*event.recipes.gtceu.rocket_engine("rocket_fuel")
        .outputEU(25600)
        .duration(25)
        .inputFluids("gtceu:rocket_fuel 16")*/
    event.recipes.gtceu.alloy_smelter("dark_steel")
        .EUt(120)
        .duration(150)
        .itemInputs(["gtceu:steel_ingot", "gtceu:obsidian_dust"])
        .itemOutputs("gtceu:dark_steel_ingot")
        // event.recipes.gtceu.chemical_reactor("fix")
        //     .inputFluids(Fluid.of("gtceu:dilute_iodine_solution", 1000))
        //     .inputFluids(Fluid.of("gtceu:chlorine", 2000))
        //     .outputFluids(Fluid.of("gtceu:iodine_solution", 1000))
        //     .outputFluids(Fluid.of("gtceu:hydrochloric_acid", 2000))
        //     .duration(100)
        //     .EUt(240)

    event.recipes.gtceu.mixer("aeternium")
        .itemInputs("2x gtceu:steel_dust")
        .itemInputs("gtceu:ender_pearl_dust")
        .itemInputs("gtceu:netherite_dust")
        .itemOutputs("4x gtceu:aeternium_dust")
        .EUt(480)
        .duration(100)
        // event.recipes.gtceu.electric_blast_furnace("aeternium_ingot")
        //     .itemInputs("gtceu:aeternium_dust")
        //     .itemOutputs("betterend:aeternium_ingot")
        //     .circuit(1)
        //     .EUt(1920)
        //     .duration(664)
        // event.recipes.gtceu.electric_blast_furnace("aeternium_ingot")
        // .itemInputs("gtceu:aeternium_dust")
        // .itemOutputs("betterend:aeternium_ingot")
        // .InputFluids(Fluid.of("gtceu:nitrogen",1000))
        // .circuit(1)
        // .EUt(1920)
        // .duration(664)
    event.recipes.gtceu.chemical_reactor("ancient_debris_leach")
        .itemInputs("3x gtceu:ancient_debris_dust")
        .inputFluids(Fluid.of("gtceu:aqua_regia", 3000))
        .outputFluids(Fluid.of("gtceu:ancient_debris_leach", 2000))
        .outputFluids(Fluid.of("gtceu:nitrogen_dioxide", 1000))
        .EUt(120)
        .duration(100)
    event.recipes.gtceu.macerator("ancient_debris_dust")
        .itemInputs("minecraft:ancient_debris")
        .itemOutputs("4x gtceu:ancient_debris_dust")
        .itemOutputs("1x gtceu:netherrack_dust")
        .chancedOutput("1x gtceu:gold_dust", 2000, 200)
        .EUt(120)
        .duration(200)
    event.recipes.gtceu.centrifuge("netherite_dust")
        .itemInputs("2x gtceu:gold_dust")
        .inputFluids(Fluid.of("gtceu:ancient_debris_leach", 2000))
        .outputFluids(Fluid.of("gtceu:rare_earth_chloride_solution", 2000))
        .itemOutputs("gtceu:netherite_dust")
        .EUt(120)
        .duration(100)
    event.recipes.gtceu.assembler("blaze_blast_furnace_casing")
        .itemInputs(["4x gtceu:stainless_steel_plate", "2x gtceu:stainless_steel_frame", "botania:blaze_block"])
        .inputFluids(Fluid.of("gtceu:polyvinyl_chloride", 288))
        .EUt(480)
        .duration(100)
        .itemOutputs("ctnhcore:blaze_blast_furnace_casing")
    event.recipes.gtceu.assembler("blaze_blast_furnace")
        .itemInputs(["4x #gtceu:circuits/ev", "4x ctnhcore:blaze_blast_furnace_casing", "2x gtceu:pyrotheum_dust", "2x gtceu:hv_sensor", "gtceu:hv_field_generator"])
        .inputFluids(Fluid.of("gtceu:polyvinyl_chloride", 288))
        .EUt(480)
        .duration(200)
        .itemOutputs("ctnhcore:blaze_blast_furnace")
        // event.recipes.gtceu.assembler("temperature_keeping_device")
        //     .itemInputs(["4x ctnhcore:heavy_plate_t1", "minecraft:iron_chestplate", "2x gtceu:polyvinyl_chloride_foil", "gtceu:pyrotheum_bucket", "gtceu:cryotheum_bucket", "2x gtceu:hv_sensor", "legendarysurvivaloverhaul:thermometer"])
        //     .itemOutputs("kubejs:temperature_keeping_device")
        //     .inputFluids(Fluid.of("gtceu:polyethylene", 288))
        //     .EUt(480)
        //     .duration(400)
    event.recipes.gtceu.mixer("pyrotheum")
        .itemInputs(["gtceu:small_saltpeter_dust", "gtceu:sulfur_dust", "gtceu:coke_dust", "minecraft:blaze_powder"])
        .itemOutputs("2x gtceu:pyrotheum_dust")
        .EUt(120)
        .duration(40)
    event.recipes.gtceu.mixer("cryotheum")
        .itemInputs(["gtceu:small_saltpeter_dust", "minecraft:snowball", "gtceu:ice_dust", "minecraft:redstone"])
        .itemOutputs("2x gtceu:cryotheum_dust")
        .EUt(480)
        .duration(40)
    event.recipes.gtceu.primitive_blast_furnace("high_quality")
        .itemInputs(["minecraft:iron_ingot", "kubejs:high_quality_solid_fuel"])
        .itemOutputs("gtceu:steel_ingot")
        .chancedOutput("gtceu:ash_dust", 500, 0)
        .duration(1200)
    event.recipes.gtceu.primitive_blast_furnace("high_quality1")
        .itemInputs(["gtceu:wrought_iron_ingot", "kubejs:high_quality_solid_fuel"])
        .itemOutputs("gtceu:steel_ingot")
        .chancedOutput("gtceu:ash_dust", 500, 0)
        .duration(300)
    event.recipes.gtceu.assembler("thermometer_casing")
        .itemInputs(["2x gtceu:gold_plate", "2x minecraft:redstone", "gtceu:steel_rod"])
        .itemOutputs("kubejs:thermometer_case")
        .inputFluids(Fluid.of("gtceu:rubber", 144))
        .EUt(30)
        .duration(100)
    event.recipes.gtceu.chemical_plant("rp_1_mixed_fuel")
        .inputFluids(Fluid.of("gtceu:rp_1_rocket_fuel", 500))
        .inputFluids(Fluid.of("gtceu:rocket_fuel", 500))
        .outputFluids(Fluid.of("gtceu:rp_1_mixed_fuel", 1000))
        .inputFluids(Fluid.of("gtceu:oxygen", 2000))
        .circuit(1)
        .addCondition($CTNHRecipes.setPlantCasing(5))
        .EUt(480)
        .duration(300)

    event.recipes.gtceu.centrifuge("alexscaves:acid")
        .inputFluids(Fluid.of("alexscaves:acid", 1000))
        .outputFluids(Fluid.of("minecraft:water", 500))
        .outputFluids(Fluid.of("gtceu:hydrochloric_acid", 500))
        .itemOutputs("2x gtceu:tiny_uranium_dust")
        .EUt(30)
        .duration(400)
    event.recipes.gtceu.assembler("cover_ender_fluid_link")
        .EUt(480)
        .duration(320)
        .itemInputs(["2x gtceu:ender_pearl_plate", "gtceu:hv_sensor", "gtceu:double_stainless_steel_plate", "gtceu:hv_emitter", "gtceu:hv_electric_pump"])
        .inputFluids(Fluid.of("gtceu:polyethylene", 288))
        .itemOutputs("gtceu:ender_fluid_link_cover")

    event.recipes.gtceu.macerator("tiny_uranium_dust")
        .itemInputs("alexscaves:uranium_shard")
        .itemOutputs("gtceu:tiny_uranium_dust")
        .chancedOutput("gtceu:tiny_uranium_dust", 2000, 150)
        .duration(20)
        .EUt(30)

    event.recipes.gtceu.assembler("lv_energy_output_hatch_4a")
        .itemInputs(["gtceu:lv_energy_output_hatch", "2x gtceu:tin_quadruple_wire", "2x gtceu:steel_plate"])
        .itemOutputs("ctnhcore:lv_energy_output_hatch_4a")
        .EUt(7)
        .duration(100)

    event.recipes.gtceu.assembler("mv_energy_output_hatch_4a")
        .itemInputs(["gtceu:mv_energy_output_hatch", "2x gtceu:cupronickel_quadruple_wire", "2x gtceu:aluminium_plate"])
        .itemOutputs("ctnhcore:mv_energy_output_hatch_4a")
        .EUt(30)
        .duration(100)

    event.recipes.gtceu.assembler("hv_energy_output_hatch_4a")
        .itemInputs(["gtceu:hv_energy_output_hatch", "2x gtceu:silver_quadruple_wire", "2x gtceu:stainless_steel_plate"])
        .itemOutputs("ctnhcore:hv_energy_output_hatch_4a")
        .EUt(120)
        .duration(100)

    event.recipes.gtceu.centrifuge("oil_refined_residues")
        .itemInputs("gtceu:oil_refined_residues_dust")
        .itemOutputs("gtceu:stone_dust")
        .itemOutputs("gtceu:small_oxidized_residues_dust")
        .chancedOutput("gtceu:magnetite_dust", 1500, 100)
        .chancedOutput("gtceu:garnierite_dust", 1500, 100)
        .chancedOutput("gtceu:pyrite_dust", 1500, 100)
        .EUt(30)
        .duration(20)
    event.recipes.gtceu.centrifuge("dried_salt")
        .itemInputs("gtceu:dried_salt_dust")
        .itemOutputs("gtceu:stone_dust")
        .itemOutputs("2x gtceu:tiny_salt_dust")
        .itemOutputs("2x gtceu:tiny_rock_salt_dust")
        .EUt(30)
        .duration(20)

    event.recipes.gtceu.macerator("dried_salt_stone")
        .itemInputs("biomesoplenty:dried_salt")
        .itemOutputs("gtceu:dried_salt_dust")
        .EUt(16)
        .duration(30)

    event.replaceOutput({ id: "gtceu:centrifuge/endstone_separation" }, "gtceu:platinum_dust", "gtceu:platinum_metal_dust")

    event.recipes.gtceu.macerator("rich_soil")
        .itemInputs("farmersdelight:rich_soil")
        .itemOutputs("4x gtceu:rich_soil_dust")
        .chancedOutput("gtceu:normal_yeast_dust", 2500, 200)
        .EUt(30)
        .duration(20)

    event.recipes.gtceu.macerator("rich_soul_soil")
        .itemInputs('mynethersdelight:resurgent_soil')
        .itemOutputs("4x gtceu:rich_soul_soil_dust")
        .chancedOutput("gtceu:crimson_yeast_dust", 1500, 150)
        .chancedOutput("gtceu:warped_yeast_dust", 1500, 150)
        .EUt(30)
        .duration(20)

    event.replaceInput({ id: "gtceu:shaped/small_wooden_pipe" }, "#minecraft:planks", "gtceu:wood_plate")
    event.recipes.gtceu.gas_collector("twilightforest_air")
        .circuit(4)
        .dimension("twilightforest:twilight_forest")
        .outputFluids(Fluid.of("gtceu:twilightforest_air", 10000))
        .EUt(16)
        .duration(200)
    event.recipes.gtceu.gas_collector("alfheim_air")
        .circuit(5)
        .dimension("mythicbotany:alfheim")
        .outputFluids(Fluid.of("gtceu:alfheim_air", 10000))
        .EUt(64)
        .duration(200)
    event.recipes.gtceu.gas_collector("aether_air")
        .circuit(6)
        .dimension("aether:the_aether")
        .outputFluids(Fluid.of("gtceu:aether_air", 10000))
        .EUt(256)
        .duration(200)
    event.recipes.gtceu.gas_collector("venus_air")
        .circuit(7)
        .dimension("ad_astra:venus")
        .outputFluids(Fluid.of("gtceu:venus_air", 10000))
        .EUt(1024)
        .duration(200)
    event.recipes.gtceu.vacuum_freezer("twilightforest_air_freeze")
        .inputFluids(Fluid.of("gtceu:twilightforest_air", 4000))
        .outputFluids(Fluid.of("gtceu:liquid_twilightforest_air", 4000))
        .EUt(120)
        .duration(80)
    event.recipes.gtceu.vacuum_freezer("alfheim_air_freeze")
        .inputFluids(Fluid.of("gtceu:alfheim_air", 4000))
        .outputFluids(Fluid.of("gtceu:liquid_alfheim_air", 4000))
        .EUt(480)
        .duration(80)
    event.recipes.gtceu.vacuum_freezer("aether_air_freeze")
        .inputFluids(Fluid.of("gtceu:aether_air", 4000))
        .outputFluids(Fluid.of("gtceu:liquid_aether_air", 4000))
        .EUt(GTValues.VA[GTValues.LuV])
        .duration(80)
    event.recipes.gtceu.vacuum_freezer("venus_air_freeze")
        .inputFluids(Fluid.of("gtceu:venus_air", 4000))
        .outputFluids(Fluid.of("gtceu:liquid_venus_air", 4000))
        .EUt(GTValues.VA[GTValues.LuV])
        .duration(80)
    event.recipes.gtceu.distillation_tower("liquid_twilightforest_air")
        .inputFluids(Fluid.of("gtceu:liquid_twilightforest_air", 25000))
        .outputFluids(Fluid.of("gtceu:nitrogen", 12500))
        .outputFluids(Fluid.of("gtceu:oxygen", 10000))
        .outputFluids(Fluid.of("gtceu:carbon_dioxide", 2000))
        .outputFluids(Fluid.of("gtceu:helium", 500))
        .EUt(120)
        .duration(2000)
    event.recipes.gtceu.centrifuge("twilightforest_air")
        .inputFluids(Fluid.of("gtceu:twilightforest_air", 10000))
        .outputFluids(Fluid.of("gtceu:nitrogen", 2500))
        .outputFluids(Fluid.of("gtceu:oxygen", 2500))
        .EUt(7)
        .duration(800)
    event.recipes.gtceu.distillation_tower("liquid_alfheim_air")
        .inputFluids(Fluid.of("gtceu:liquid_alfheim_air", 100000))
        .itemOutputs("botania:mana_powder")
        .outputFluids(Fluid.of("gtceu:mana", 100))
        .outputFluids(Fluid.of("gtceu:oxygen", 25000))
        .outputFluids(Fluid.of("gtceu:steam", 12000))
        .outputFluids(Fluid.of("gtceu:neon", 10000))
        .outputFluids(Fluid.of("gtceu:carbon_dioxide", 5000))
        .outputFluids(Fluid.of("gtceu:helium", 5000))
        .outputFluids(Fluid.of("gtceu:argon", 3000))
        .EUt(360)
        .duration(2000)
    event.recipes.gtceu.centrifuge("alfheim_air")
        .inputFluids(Fluid.of("gtceu:alfheim_air", 10000))
        .outputFluids(Fluid.of("gtceu:mana", 5))
        .outputFluids(Fluid.of("gtceu:oxygen", 1500))
        .outputFluids(Fluid.of("gtceu:helium", 1000))
        .EUt(240)
        .duration(800)
    event.recipes.gtceu.distillation_tower("liquid_aether_air")
        .inputFluids(Fluid.of("gtceu:liquid_aether_air", 100000))
        .outputFluids(Fluid.of("gtceu:oxygen", 25000))
        .outputFluids(Fluid.of("gtceu:hydrogen", 12000))
        .outputFluids(Fluid.of("gtceu:fluorine", 10000))
        .outputFluids(Fluid.of("gtceu:steam", 12000))
        .outputFluids(Fluid.of("gtceu:neon", 10000))
        .outputFluids(Fluid.of("gtceu:carbon_dioxide", 5000))
        .outputFluids(Fluid.of("gtceu:helium", 5000))
        .EUt(7680)
        .duration(2000)
    event.recipes.gtceu.centrifuge("venus_air")
        .inputFluids(Fluid.of("gtceu:venus_air", 10000))
        .outputFluids(Fluid.of("gtceu:steam", 1500))
        .outputFluids(Fluid.of("gtceu:carbon_dioxide", 1000))
        .outputFluids(Fluid.of("gtceu:helium", 500))
        .EUt(1920)
        .duration(800)
    event.recipes.gtceu.distillation_tower("liquid_venus_air")
        .inputFluids(Fluid.of("gtceu:liquid_venus_air", 100000))
        .outputFluids(Fluid.of("gtceu:distilled_water", 25000))
        .outputFluids(Fluid.of("gtceu:carbon_dioxide", 30000))
        .outputFluids(Fluid.of("gtceu:sulfur_dioxide", 15000))
        .outputFluids(Fluid.of("gtceu:radon", 5000))
        .outputFluids(Fluid.of("gtceu:helium", 10000))
        .outputFluids(Fluid.of("gtceu:sulfuric_acid", 5000))
        .outputFluids(Fluid.of("gtceu:argon", 1000))
        .outputFluids(Fluid.of("gtceu:krypton", 5000))
        .EUt(GTValues.VA[GTValues.LuV])
        .duration(2000)

    event.recipes.gtceu.naq_mk1("generator1")
        .inputFluids(Fluid.of("gtceu:superfuelmk1", 1))
        .duration(300)
        .EUt(-399576000)
    event.recipes.gtceu.large_naquadah_reactor("generator12")
        .inputFluids(Fluid.of("gtceu:charged_silica_rock_based_fluid_fuel_mk_i", 1))
        .duration(40)
        .EUt(-2300000)
        .outputFluids('gtceu:naquadah_based_liquid_fuel_depleted 1')
    event.recipes.gtceu.large_naquadah_reactor("generator22")
        .inputFluids(Fluid.of("gtceu:charged_silica_rock_based_fluid_fuel_mk_ii", 1))
        .duration(80)
        .EUt(-9511000)
        .outputFluids('gtceu:naquadah_based_liquid_fuel_depleted 5')
    event.recipes.gtceu.large_naquadah_reactor("generator32")
        .inputFluids(Fluid.of("gtceu:charged_silica_rock_based_fluid_fuel_mk_iii", 1))
        .duration(160)
        .EUt(-88540000)
        .outputFluids('gtceu:naquadah_based_liquid_fuel_depleted 10')
    event.recipes.gtceu.large_naquadah_reactor("generator42")
        .inputFluids(Fluid.of("gtceu:taranliquidfuel_l", 1))
        .duration(10)
        .EUt(-1572864)
        .outputFluids('gtceu:plutonium_based_liquid_fuel_depleted 1')
    event.recipes.gtceu.large_naquadah_reactor("generator52")
        .inputFluids(Fluid.of("gtceu:taranliquidfuel_m", 1))
        .duration(16)
        .EUt(-3145728)
        .outputFluids('gtceu:plutonium_based_liquid_fuel_depleted 2')
    event.recipes.gtceu.large_naquadah_reactor("generator62")
        .inputFluids(Fluid.of("gtceu:taranliquidfuel_h", 1))
        .duration(32)
        .EUt(-4718592)
        .outputFluids('gtceu:plutonium_based_liquid_fuel_depleted 5')

    event.recipes.gtceu.mixer("chorusite_alloy_dust")
        .itemInputs(["gtceu:andesite_alloy_dust", "2x minecraft:popped_chorus_fruit", "minecraft:dragon_breath"])
        .itemOutputs("4x gtceu:chorusite_alloy_dust")
        .EUt(120)
        .duration(200)

    event.recipes.gtceu.centrifuge('slag')
        .itemInputs('8x gtceu:slag_dust')
        .itemOutputs('3x gtceu:alumina_dust')
        .itemOutputs('3x gtceu:silicon_dioxide_dust')
        .itemOutputs('2x gtceu:magnesia_dust')
        .chancedOutput('gtceu:calcium_sulfide_dust', 2500, 500)
        .chancedOutput('gtceu:sodium_sulfide_dust', 1500, 500)
        .EUt(30)
        .duration(288)
    let stones = ['asurine', 'crimsite', 'ochrum', 'veridium']
    stones.forEach(stone => {
        event.recipes.gtceu.macerator(stone + '_macerator')
            .itemInputs('create:' + stone)
            .itemOutputs('gtceu:' + stone + '_dust')
            .chancedOutput('gtceu:' + stone + '_dust', 1500, 500)
            .EUt(30)
            .duration(100)
        event.recipes.gtceu.mixer(stone + "_slurry")
            .itemInputs('gtceu:' + stone + '_dust')
            .inputFluids(Fluid.of('gtceu:aqua_regia', 3000))
            .outputFluids(Fluid.of('gtceu:' + stone + '_slurry', 3000))
            .EUt(480)
            .duration(100)
    })
    event.recipes.gtceu.centrifuge('asurine_dust')
        .itemInputs('gtceu:asurine_dust')
        .itemOutputs('gtceu:silicon_dioxide_dust')
        .itemOutputs('gtceu:small_zinc_dust')
        .chancedOutput('gtceu:small_gallium_dust', 1500, 250)
        .EUt(30)
        .duration(60)
    event.recipes.gtceu.centrifuge('crimsite_dust')
        .itemInputs('gtceu:crimsite_dust')
        .itemOutputs('gtceu:silicon_dioxide_dust')
        .itemOutputs('gtceu:small_iron_dust')
        .chancedOutput('gtceu:small_cobalt_dust', 1500, 250)
        .EUt(30)
        .duration(60)
    event.recipes.gtceu.centrifuge('ochrum_dust')
        .itemInputs('gtceu:ochrum_dust')
        .itemOutputs('gtceu:silicon_dioxide_dust')
        .itemOutputs('gtceu:small_precious_alloy_dust')
        .chancedOutput('gtceu:small_silver_dust', 1500, 250)
        .EUt(30)
        .duration(60)
    event.recipes.gtceu.centrifuge('veridium_dust')
        .itemInputs('gtceu:veridium_dust')
        .itemOutputs('gtceu:silicon_dioxide_dust')
        .itemOutputs('gtceu:small_copper_dust')
        .chancedOutput('gtceu:small_nickel_dust', 1500, 250)
        .EUt(30)
        .duration(60)
    event.recipes.gtceu.centrifuge('asurine_slurry')
        .inputFluids(Fluid.of('gtceu:asurine_slurry', 3000))
        .outputFluids(Fluid.of('gtceu:diluted_hydrochloric_acid', 2000))
        .itemOutputs('2x gtceu:small_silicon_dust')
        .itemOutputs('gtceu:zinc_dust')
        .chancedOutput('gtceu:gallium_dust', 1000, 500)
        .chancedOutput('gtceu:aluminium_dust', 1000, 250)
        .EUt(480)
        .duration(200)
    event.recipes.gtceu.centrifuge('crimsite_slurry')
        .inputFluids(Fluid.of('gtceu:crimsite_slurry', 3000))
        .outputFluids(Fluid.of('gtceu:diluted_hydrochloric_acid', 2000))
        .itemOutputs('2x gtceu:small_silicon_dust')
        .itemOutputs('gtceu:iron_dust')
        .chancedOutput('gtceu:cobalt_dust', 1000, 500)
        .chancedOutput('gtceu:chromium_dust', 500, 250)
        .EUt(480)
        .duration(200)
    event.recipes.gtceu.centrifuge('ochrum_slurry')
        .inputFluids(Fluid.of('gtceu:ochrum_slurry', 3000))
        .outputFluids(Fluid.of('gtceu:diluted_hydrochloric_acid', 1000))
        .itemOutputs('2x gtceu:small_silicon_dust')
        .outputFluids(Fluid.of('gtceu:chloroauric_acid', 500))
        .chancedOutput('gtceu:silver_dust', 1000, 500)
        .chancedFluidOutput('gtceu:mercury 1000', 250, 0)
        .EUt(480)
        .duration(200)
    event.recipes.gtceu.centrifuge('veridium_slurry')
        .inputFluids(Fluid.of('gtceu:veridium_slurry', 3000))
        .outputFluids(Fluid.of('gtceu:diluted_hydrochloric_acid', 2000))
        .itemOutputs('2x gtceu:small_silicon_dust')
        .itemOutputs('gtceu:copper_dust')
        .chancedOutput('gtceu:nickel_dust', 1000, 500)
        .chancedOutput('gtceu:tin_dust', 1000, 250)
        .EUt(480)
        .duration(200)

    function Greenhouse(id, input, fluid, output, boosted) {
        if (boosted) {
            event.recipes.gtceu.greenhouse(id)
                .circuit(2)
                .notConsumable(InputItem.of(input))
                .itemInputs('4x gtceu:fertilizer')
                .inputFluids(Fluid.of('minecraft:water', fluid))
                .itemOutputs(output)
                .duration(320)
                .EUt(120)
        } else {
            event.recipes.gtceu.greenhouse(id)
                .circuit(1)
                .notConsumable(InputItem.of(input))
                .inputFluids(Fluid.of('minecraft:water', fluid))
                .itemOutputs(output)
                .duration(640)
                .EUt(120)
        }
    }
    // Rubber
    Greenhouse('rubber_sapling', 'gtceu:rubber_sapling', 1000, ['32x gtceu:rubber_log', '8x gtceu:sticky_resin', '4x gtceu:rubber_sapling'], false)
    Greenhouse('rubber_sapling_boosted', 'gtceu:rubber_sapling', 1000, ['64x gtceu:rubber_log', '16x gtceu:sticky_resin', '4x gtceu:rubber_sapling'], true)

    // Oak
    Greenhouse('oak_sapling', 'minecraft:oak_sapling', 1000, ['64x minecraft:oak_log', '4x minecraft:oak_sapling'], false)
    Greenhouse('oak_sapling_boosted', 'minecraft:oak_sapling', 1000, ['64x minecraft:oak_log', '64x minecraft:oak_log', '4x minecraft:oak_sapling'], true)

    // Dark Oak
    Greenhouse('dark_oak_sapling', 'minecraft:dark_oak_sapling', 1000, ['64x minecraft:dark_oak_log', '4x minecraft:dark_oak_sapling'], false)
    Greenhouse('dark_oak_sapling_boosted', 'minecraft:dark_oak_sapling', 1000, ['64x minecraft:dark_oak_log', '64x minecraft:dark_oak_log', '4x minecraft:dark_oak_sapling'], true)

    // Spruce
    Greenhouse('spruce_sapling', 'minecraft:spruce_sapling', 1000, ['64x minecraft:spruce_log', '4x minecraft:spruce_sapling'], false)
    Greenhouse('spruce_sapling_boosted', 'minecraft:spruce_sapling', 1000, ['64x minecraft:spruce_log', '64x minecraft:spruce_log', '4x minecraft:spruce_sapling'], true)

    // Birch
    Greenhouse('birch_sapling', 'minecraft:birch_sapling', 1000, ['64x minecraft:birch_log', '4x minecraft:birch_sapling'], false)
    Greenhouse('birch_sapling_boosted', 'minecraft:birch_sapling', 1000, ['64x minecraft:birch_log', '64x minecraft:birch_log', '4x minecraft:birch_sapling'], true)

    // Acacia
    Greenhouse('acacia_sapling', 'minecraft:acacia_sapling', 1000, ['64x minecraft:acacia_log', '4x minecraft:acacia_sapling'], false)
    Greenhouse('acacia_sapling_boosted', 'minecraft:acacia_sapling', 1000, ['64x minecraft:acacia_log', '64x minecraft:acacia_log', '4x minecraft:acacia_sapling'], true)

    // Jungle
    Greenhouse('jungle_sapling', 'minecraft:jungle_sapling', 1000, ['64x minecraft:jungle_log', '4x minecraft:jungle_sapling'], false)
    Greenhouse('jungle_sapling_boosted', 'minecraft:jungle_sapling', 1000, ['64x minecraft:jungle_log', '64x minecraft:jungle_log', '4x minecraft:jungle_sapling'], true)

    // Azalea
    Greenhouse('azalea_sapling', 'minecraft:azalea', 1000, ['64x minecraft:oak_log', '4x minecraft:azalea'], false)
    Greenhouse('azalea_boosted', 'minecraft:azalea', 1000, ['64x minecraft:oak_log', '64x minecraft:oak_log', '4x minecraft:azalea'], true)

    // Flowering Azalea
    Greenhouse('flowering_azalea', 'minecraft:flowering_azalea', 1000, ['64x minecraft:oak_log', '4x minecraft:flowering_azalea'], false)
    Greenhouse('flowering_azalea_boosted', 'minecraft:flowering_azalea', 1000, ['64x minecraft:oak_log', '64x minecraft:oak_log', '4x minecraft:flowering_azalea'], true)

    // Mangrove
    Greenhouse('mangrove_propagule', 'minecraft:mangrove_propagule', 1000, ['64x minecraft:mangrove_log', '4x minecraft:mangrove_propagule'], false)
    Greenhouse('mangrove_propagule_boosted', 'minecraft:mangrove_propagule', 1000, ['64x minecraft:mangrove_log', '64x minecraft:mangrove_log', '4x minecraft:mangrove_propagule'], true)

    Greenhouse('cherry_sapling', 'minecraft:cherry_sapling', 1000, ['64x minecraft:cherry_log', '4x minecraft:cherry_sapling'], false)
    Greenhouse('cherry_sapling_boosted', 'minecraft:cherry_sapling', 1000, ['64x minecraft:cherry_log', '64x minecraft:cherry_log', '4x minecraft:cherry_sapling'], true)

    Greenhouse('hollow_oak_sapling', 'twilightforest:hollow_oak_sapling', 1000, ['64x twilightforest:twilight_oak_log', '4x twilightforest:hollow_oak_sapling'], false)
    Greenhouse('hollow_oak_sapling_boosted', 'twilightforest:hollow_oak_sapling', 1000, ['64x twilightforest:twilight_oak_log', '64x twilightforest:twilight_oak_log', '4x twilightforest:hollow_oak_sapling'], true)

    ////// Crops //////

    // Sugarcane
    Greenhouse('sugar_cane', 'minecraft:sugar_cane', 1000, '24x minecraft:sugar_cane', false)
    Greenhouse('sugar_cane_boosted', 'minecraft:sugar_cane', 1000, '48x minecraft:sugar_cane', true)

    // Kelp
    Greenhouse('kelp', 'minecraft:kelp', 2000, '24x minecraft:kelp', false)
    Greenhouse('kelp_boosted', 'minecraft:kelp', 2000, '48x minecraft:kelp', true)

    // Bamboo
    Greenhouse('bamboo', 'minecraft:bamboo', 1000, '24x minecraft:bamboo', false)
    Greenhouse('bamboo_boosted', 'minecraft:bamboo', 1000, '48x minecraft:bamboo', true)

    // Cactus
    Greenhouse('cactus', 'minecraft:cactus', 1000, '24x minecraft:cactus', false)
    Greenhouse('cactus_boosted', 'minecraft:cactus', 1000, '48x minecraft:cactus', true)

    // Wheat
    Greenhouse('wheat', 'minecraft:wheat_seeds', 1000, '24x minecraft:wheat', false)
    Greenhouse('wheat_boosted', 'minecraft:wheat_seeds', 1000, '48x minecraft:wheat', true)

    // Carrot
    Greenhouse('carrot', 'minecraft:carrot', 1000, '24x minecraft:carrot', false)
    Greenhouse('carrot_boosted', 'minecraft:carrot', 1000, '48x minecraft:carrot', true)

    // Potato
    Greenhouse('potato', 'minecraft:potato', 1000, '24x minecraft:potato', false)
    Greenhouse('potato_boosted', 'minecraft:potato', 1000, '48x minecraft:potato', true)

    // Beetroot
    Greenhouse('beetroot', 'minecraft:beetroot_seeds', 1000, '24x minecraft:beetroot', false)
    Greenhouse('beetroot_boosted', 'minecraft:beetroot_seeds', 1000, '48x minecraft:beetroot', true)

    // Mellon
    Greenhouse('melon', 'minecraft:melon_seeds', 1000, '12x minecraft:melon', false)
    Greenhouse('melon_boosted', 'minecraft:melon_seeds', 1000, '24x minecraft:melon', true)

    // Pumpkin
    Greenhouse('pumpkin', 'minecraft:pumpkin_seeds', 1000, '12x minecraft:pumpkin', false)
    Greenhouse('pumpkin_boosted', 'minecraft:pumpkin_seeds', 1000, '24x minecraft:pumpkin', true)

    // Nether Wart
    Greenhouse('nether_wart', 'minecraft:nether_wart', 1000, '12x minecraft:nether_wart', false)
    Greenhouse('nether_wart_boosted', 'minecraft:nether_wart', 1000, '24x minecraft:nether_wart', true)

    // Red Mushroom
    Greenhouse('red_mushroom', 'minecraft:red_mushroom', 1000, '12x minecraft:red_mushroom', false)
    Greenhouse('red_mushroom_boosted', 'minecraft:red_mushroom', 1000, '24x minecraft:red_mushroom', true)

    // Brown Mushroom
    Greenhouse('brown_mushroom', 'minecraft:brown_mushroom', 1000, '12x minecraft:brown_mushroom', false)
    Greenhouse('brown_mushroom_boosted', 'minecraft:brown_mushroom', 1000, '24x minecraft:brown_mushroom', true)

    //coco
    Greenhouse('cocoa_beans', 'minecraft:cocoa_beans', 1000, '4x minecraft:cocoa_beans', false)
    Greenhouse('cocoa_beans_boosted', 'minecraft:cocoa_beans', 1000, '24x minecraft:cocoa_beans', true)

    event.recipes.gtceu.greenhouse('rhizobium')
        .circuit(3)
        .duration(640)
        .EUt(120)
        .notConsumable('minecraft:spruce_sapling')
        .itemInputs('4x gtceu:rhizobium_dust')
        .inputFluids(Fluid.of('minecraft:water', 1000))
        .itemInputs('4x gtceu:fertilizer')
        .itemOutputs('32x minecraft:spruce_log')
        .itemOutputs('8x gtceu:rhizobium_dust')
        .itemOutputs('50x gtceu:sodium_nitrite_dust')

    event.recipes.gtceu.chemical_bath('netherite_magnet')
        .itemInputs('create_new_age:fluxuated_magnetite')
        .inputFluids(Fluid.of('gtceu:ancient_debris_leach', 8000))
        .itemOutputs('create_new_age:netherite_magnet')
        .EUt(120)
        .duration(60)
    event.recipes.gtceu.assembler('fluxuated_magnetite')
        .itemInputs(['create_new_age:layered_magnet', '2x botania:mana_diamond', '2x gtceu:diamond_screw'])
        .itemOutputs('create_new_age:fluxuated_magnetite')
        .EUt(30)
        .duration(60)
    event.shaped(
        "gtceu:treated_wood_small_fluid_pipe", [
            "S",
            "P",
            "M",
        ], {
            'P': "#forge:treated_wood",
            'M': "#forge:tools/mallets",
            'S': "#forge:tools/saws",
        })
    event.shaped(
        "gtceu:treated_wood_normal_fluid_pipe", [
            "PS",
            "P ",
            "PM",
        ], {
            'P': "#forge:treated_wood",
            'M': "#forge:tools/mallets",
            'S': "#forge:tools/saws",
        })
    event.shaped(
        "gtceu:treated_wood_large_fluid_pipe", [
            "PSP",
            "P P",
            "PMP",
        ], {
            'P': "#forge:treated_wood",
            'M': "#forge:tools/mallets",
            'S': "#forge:tools/saws",
        })
    event.recipes.gtceu.chemical_bath('fiber_glass')
        .itemInputs('gtceu:cellulose_dust')
        .inputFluids(Fluid.of('gtceu:glass', 288))
        .outputFluids(Fluid.of('gtceu:fiber_glass', 288))
        .EUt(30)
        .duration(120)

    event.recipes.gtceu.assembler('space_helmet')
        .itemInputs('gtceu:glass_plate', '4x kubejs:space_fabric')
        .inputFluids(Fluid.of('gtceu:glue', 72))
        .itemOutputs('ad_astra:space_helmet')
        .EUt(120)
        .duration(400)
    event.recipes.gtceu.assembler('space_suit')
        .itemInputs(['ad_astra:oxygen_gear', '2x ad_astra:gas_tank', '4x ctnhcore:heavy_plate_t1', '2x gtceu:stainless_steel_screw', '4x kubejs:space_fabric'])
        .itemOutputs('ad_astra:space_suit')
        .EUt(120)
        .duration(400)
    event.recipes.gtceu.assembler('space_pants')
        .itemInputs(['5x ctnhcore:heavy_plate_t1', '3x kubejs:space_fabric'])
        .itemOutputs('ad_astra:space_pants')
        .circuit(0)
        .EUt(120)
        .duration(400)
    event.recipes.gtceu.assembler('space_boots')
        .itemInputs(['4x ctnhcore:heavy_plate_t1', '2x kubejs:space_fabric'])
        .itemOutputs('ad_astra:space_boots')
        .circuit(1)
        .EUt(120)
        .duration(400)

    event.recipes.gtceu.chemical_reactor('gtceu:soda_ash_dust')
        .itemInputs('6x gtceu:sodium_hydroxide_dust')
        .inputFluids('gtceu:carbon_dioxide 1000')
        .itemOutputs('6x gtceu:soda_ash_dust')
        .EUt(20)
        .duration(50)


    event.replaceInput({ id: 'gtceu:shaped/hv_diode' }, 'gtceu:smd_diode', '#gtceu:diodes')


    event.recipes.gtceu.mixer('dibismuthhydroborat')
        .itemInputs(['2x gtceu:bismuth_dust', 'gtceu:boron_dust'])
        .inputFluids(Fluid.of('gtceu:hydrogen', 1000))
        .itemOutputs('4x gtceu:dibismuthhydroborat_dust')
        .EUt(120)
        .duration(590)
    event.recipes.gtceu.mixer('bismuth_tellurite')
        .itemInputs(['2x gtceu:bismuth_dust', '3x gtceu:tellurium_dust'])
        .itemOutputs('5x gtceu:bismuth_tellurite_dust')
        .EUt(80)
        .duration(162)
    event.recipes.gtceu.mixer('circuit_compound')
        .itemInputs(['3x gtceu:dibismuthhydroborat_dust', '2x gtceu:bismuth_tellurite_dust', 'gtceu:indium_gallium_phosphide_dust'])
        .itemOutputs('6x gtceu:circuit_compound_dust')
        .duration(982)
        .EUt(15)
    event.recipes.gtceu.electric_blast_furnace('titanium')
        .itemInputs(['10x gtceu:ilmenite_dust', '2x gtceu:carbon_dust'])
        .itemOutputs(['2x gtceu:wrought_iron_ingot', '2x gtceu:rutile_dust'])
        .outputFluids(Fluid.of('gtceu:carbon_monoxide', 2000))
        .duration(800)
        .EUt(480)
        .blastFurnaceTemp(1700)

    // event.forEachRecipe({type:'bloodmagic:soulforge'},(/**@type {$RecipeJS}*/recipe)=>{
    //   console.info(recipe.json.get('drain'))
    // })

    function dwos_crafting_recipe(event, voltage) {
        event.shaped(
            `ctnhmana:${voltage}_digital_well_of_suffer`, [
                'PCP',
                'SHS',
                'PCP'
            ], {
                P: `gtceu:${voltage}_electric_pump`,
                C: `#gtceu:circuits/${voltage}`,
                H: `gtceu:${voltage}_machine_hull`,
                S: 'bloodmagic:sacrificerune'
            })
    }
    ['lv', 'mv', 'hv', 'ev', 'iv', 'luv', 'zpm', 'uv'].forEach(voltage => dwos_crafting_recipe(event, voltage));

    function addModel(event, entity, voltage, outputValue) {
        event.recipes.gtceu.digital_well_of_suffer('dwos_' + entity)
            .outputFluids(Fluid.of('bloodmagic:life_essence_fluid', outputValue))
            .notConsumable(Item.of('hostilenetworks:data_model', { data_model: { id: 'hostilenetworks:' + entity } }).weakNBT())
            .EUt(voltage)
            .duration(20);
    }

    let low = ['chicken', 'cod', 'cow', 'glow_squid', 'mooshroom', 'pig', 'rabbit', 'polar_bear', 'squid', 'snow_golem', 'sheep']
    let mid = ['ars_nouveau/wilden_mobs', 'blaze', 'creeper', 'drowned', 'ghast', 'guardian', 'hoglin', 'magma_cube', 'phantom', 'skeleton', 'slime', 'twilightforste/death_tome', 'twilightforste/stable_ice_core',
        'spider', 'twilightforest/death_tomb', 'twilightforest/deer', 'twilightforest/raven', 'twilight_forest/stable_ice_core', 'witch', 'zombie', 'zombified_piglin', 'aether/aerwhale'
    ]
    let high = ['elder_guardian', 'enderman', 'evoker', 'iron_golem', 'shulker', 'twilightforest/giant', 'twilightforest/kobold', 'twilightforest/goblin',
        'wither_skeleton', 'twilightforest/winter_wolf', 'twilightforest/redcap', 'twilightforest/helmet_crab', 'twilightforest/troll',
        'twilightforest/naga', 'twilightforest/minotaur', 'twilightforest/fire_beetle', 'twilightforest/carminite_golem', 'twilightforest/towerwood_borer',
        'vindicator', 'twilightforest/lich', 'twilightforest/yeti', 'twilightforest/wraith', 'twilightforest/skeleton_druid'
    ]
    let supers = ['artifacts/mimic', 'wither', 'ender_dragon', 'warden', 'twilightforest/snow_queen', 'twilightforest/hydra', 'twilightforest/minoshroom', 'twilightforest/alpha_yeti', 'biomancy/primordial_flesh_blob']
    let boss = ['twilightforest/ur_ghast']
    low.forEach(entity =>
        addModel(event, entity, 30, 100)
    );

    mid.forEach(entity =>
        addModel(event, entity, 120, 400)
    );

    high.forEach(entity =>
        addModel(event, entity, 480, 1600)
    );

    supers.forEach(entity =>
        addModel(event, entity, 1920, 6400)
    );

    boss.forEach(entity =>
        addModel(event, entity, 7680, 25600)
    );

    event.recipes.gtceu.forming_press('blank_data_model')
        .itemInputs(['2x gtceu:ender_pearl_plate', '2x gtceu:stainless_steel_plate', '2x gtceu:fine_platinum_wire', 'minecraft:smooth_stone'])
        .itemOutputs('hostilenetworks:blank_data_model')
        .duration(200)
        .EUt(480)
    event.recipes.gtceu.assembler('deep_learner')
        .itemInputs(['gtceu:computer_monitor_cover', '2x gtceu:double_black_steel_plate', '2x gtceu:black_steel_plate', 'gtceu:black_steel_gear', '#gtceu:circuits/ev'])
        .itemOutputs('hostilenetworks:deep_learner')
        .duration(200)
        .EUt(480)
    event.recipes.gtceu.assembler('fuel_refining_factory')
        .itemInputs(['12x gtceu:large_chemical_reactor', '8x gtceu:distillation_tower', '8x gtceu:cracker', '32x gtceu:nichrome_coil_block', '7x gtceu:dense_steel_plate', '7x gtceu:dense_stainless_steel_plate', '64x gtceu:black_steel_frame', '32x #gtceu:circuits/iv'])
        .itemOutputs('ctnhcore:fuel_refining_factory')
        .duration(48000)
        .EUt(480)

    event.recipes.gtceu.macerator("seashell")
        .itemInputs('ecologics:seashell')
        .itemOutputs('2x gtceu:calcite_dust')
        .EUt(7)
        .duration(80)
    event.recipes.gtceu.autoclave("budding_quartz1")
        .itemInputs('ae2:quartz_block')
        .itemOutputs('ae2:damaged_budding_quartz')
        .inputFluids(Fluid.of('gtceu:distilled_water', 200))
        .EUt(120)
        .duration(200)
    event.recipes.gtceu.autoclave("budding_quartz2")
        .itemInputs('ae2:damaged_budding_quartz')
        .itemOutputs('ae2:chipped_budding_quartz')
        .inputFluids(Fluid.of('gtceu:distilled_water', 200))
        .EUt(120)
        .duration(200)
    event.recipes.gtceu.autoclave("budding_quartz3")
        .itemInputs('ae2:chipped_budding_quartz')
        .itemOutputs('ae2:flawed_budding_quartz')
        .inputFluids(Fluid.of('gtceu:distilled_water', 200))
        .EUt(120)
        .duration(200)
    event.recipes.gtceu.autoclave("budding_quartz4")
        .itemInputs('ae2:flawed_budding_quartz')
        .itemOutputs('ae2:flawless_budding_quartz')
        .inputFluids(Fluid.of('gtceu:distilled_water', 200))
        .EUt(120)
        .duration(200)
    event.recipes.gtceu.centrifuge("ir_line_fix")
        .itemInputs('gtceu:iridium_metal_residue_dust')
        .itemOutputs('gtceu:iridium_chloride_dust', 'gtceu:platinum_sludge_residue_dust')
        .duration(100)
        .EUt(24)
    event.recipes.gtceu.chemical_reactor("ir_fix")
        .itemInputs('2x gtceu:iridium_chloride_dust', '3x gtceu:calcium_dust')
        .itemOutputs('9x gtceu:calcium_chloride_dust', '2x gtceu:iridium_dust')
        .duration(300)
        .EUt(1920)
    event.recipes.gtceu.chemical_reactor("pt_fix")
        .itemInputs('3x gtceu:platinum_raw_dust', '2x gtceu:calcium_dust')
        .itemOutputs('6x gtceu:calcium_chloride_dust', '3x gtceu:platinum_dust')
        .duration(30)
        .EUt(24)
    event.recipes.gtceu.chemical_bath("naoh")
        .itemInputs('gtceu:sodium_dust')
        .inputFluids("minecraft:water 1000")
        .outputFluids("gtceu:hydrogen 1000")
        .itemOutputs('3x gtceu:sodium_hydroxide_dust')
        .EUt(24)
        .duration(40)
    event.recipes.gtceu.fluid_solidifier("potassium_dust")
        .inputFluids("gtceu:potassium 144")
        .itemOutputs('gtceu:potassium_dust')
        .EUt(24)
        .duration(20)
    event.recipes.gtceu.assembler("large_fermenting")
        .itemInputs(['4x ctnhcore:fermenting_tank', '4x gtceu:titanium_plate', '2x #gtceu:circuits/iv', '2x gtceu:iv_robot_arm', '4x gtceu:tempered_glass'])
        .itemOutputs('ctnhcore:large_fermenting_tank')
        .inputFluids(Fluid.of('gtceu:biomass', 1000))
        .duration(400)
        .EUt(1920)
    event.recipes.gtceu.assembler("large_bottle")
        .itemInputs(['2x gtceu:ev_super_tank', '4x gtceu:tempered_glass', '2x gtceu:ev_electric_pump'])
        .itemOutputs('ctnhcore:large_bottle')
        .inputFluids(Fluid.of('gtceu:polyethylene', 288))
        .duration(120)
        .EUt(480)
    event.recipes.gtceu.chemical_reactor("tnt")
        .itemInputs('4x mynethersdelight:powdery_block')
        .inputFluids(Fluid.of('gtceu:sulfuric_acid', 250))
        .itemOutputs('minecraft:tnt')
        .EUt(24)
        .duration(100)
    event.recipes.gtceu.distillation_tower('impure_oil')
        .inputFluids(Fluid.of('gtceu:impure_oil', 100))
        .outputFluids(Fluid.of('gtceu:sulfuric_heavy_fuel', 50))
        .outputFluids(Fluid.of('gtceu:sulfuric_naphtha', 30))
        .outputFluids(Fluid.of('gtceu:bitumen', 60))
        .itemOutputs('gtceu:small_oil_refined_residues_dust')
        .EUt(60)
        .duration(100)
    event.recipes.gtceu.assembly_line('ctnhcore:naq_reactor_mk3')
        .itemInputs('64x gtceu:uv_machine_hull', '64x ctnhcore:luv_naquadah_reactor', '64x ctnhcore:zpm_naquadah_reactor', '64x ctnhcore:uv_naquadah_reactor', '64x ctnhcore:large_naquadah_reactor', '64x gtceu:neutron_reflector', '64x ctnhcore:naquadah_casing_block', '64x #gtceu:circuits/uv', '64x #gtceu:circuits/uhv', '64x gtceu:luv_field_generator', '64x gtceu:zpm_field_generator', '64x gtceu:uv_field_generator')
        .inputFluids(Fluid.of('gtceu:tritanium', 16000))
        .inputFluids(Fluid.of("gtceu:neutronium", 16000))
        .inputFluids(Fluid.of("gtceu:aether", 16000))
        .inputFluids(Fluid.of("gtceu:adamantite", 16000))
        .itemOutputs('ctnhcore:naq_reactor_mk3')
        .EUt(2044152)
        .duration(600)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:large_naquadah_reactor'))
            .dataStack(Item.of("gtceu:data_module"))
            .EUt(GTValues.VA[GTValues.UHV])
            .CWUt(256))
    event.recipes.gtceu.assembly_line('ctnhcore:annihilate_core_mki')
        .itemInputs('4x gtceu:naquadria_frame', '16x ctnhcore:plate_radiation_protection', '16x gtceu:neutron_reflector', '8x gtceu:iv_field_generator', '4x gtceu:luv_field_generator', '2x gtceu:zpm_field_generator')
        .inputFluids(Fluid.of("gtceu:neutronium", 2000))
        .itemOutputs('ctnhcore:annihilate_core_mki')
        .EUt(204415)
        .duration(600)
        .stationResearch(b => b.researchStack(Item.of('gtceu:fusion_coil'))
            .dataStack(Item.of("gtceu:data_module"))
            .EUt(GTValues.VA[GTValues.ZPM])
            .CWUt(32))
    event.recipes.gtceu.chemical_vapor_deposition("w-cdimod")
        .itemInputs('gtceu:flawless_diamond_gem', '16x gtceu:copper_foil')
        .inputFluids("gtceu:tungsten 144")
        .itemOutputs('gtceu:flawless_tungstencu_diamond_plating_gem')
        .EUt(114514)
        .duration(500)
    event.recipes.gtceu.crystallizer("flawless_tungstencu_diamond_plating_gem")
        .itemInputs('gtceu:tungstencu_diamond_plating_dust', '32x gtceu:copper_foil')
        .inputFluids("gtceu:tungsten 288")
        .itemOutputs('gtceu:flawless_tungstencu_diamond_plating_gem')
        .EUt(491520)
        .duration(1000)
        .blastFurnaceTemp(10800)
    event.recipes.gtceu.assembler("ctnhcore:bedrock_drilling_rigs")
        .itemInputs(['4x gtceu:tungstencu_diamond_plating_frame', '24x #gtceu:circuits/uv', '4x gtceu:naquadah_alloy_drill_head', '7x gtceu:dense_naquadah_alloy_plate', '4x gtceu:zpm_electric_motor', '4x gtceu:zpm_conveyor_module'])
        .itemOutputs('ctnhcore:bedrock_drilling_rigs')
        .inputFluids(Fluid.of('gtceu:europium', 1440))
        .circuit(2)
        .duration(1200)
        .EUt(122880)
    event.recipes.gtceu.martial_morality_eye("ore_production_1")
        .itemInputs('64x minecraft:cobblestone', '64x minecraft:gold_ingot')
        .inputFluids("gtceu:steam 64000")
        .chancedOutput('64x gtceu:raw_trona', 1000, 0)
        .chancedOutput('64x gtceu:raw_asbestos', 1000, 0)
        .chancedOutput('64x gtceu:raw_vanadium', 1000, 0)
        .chancedOutput('64x gtceu:raw_tin', 1000, 0)
        .chancedOutput('64x gtceu:raw_nickel', 1000, 0)
        .chancedOutput('64x gtceu:raw_silver', 1000, 0)
        .chancedOutput('64x minecraft:raw_gold', 1000, 0)
        .chancedOutput('64x gtceu:raw_antimony', 1000, 0)
        .chancedOutput('64x minecraft:raw_copper', 1000, 0)
        .chancedOutput('64x minecraft:raw_iron', 1000, 0)
        .chancedOutput('64x gtceu:raw_cassiterite', 1000, 0)
        .chancedOutput('64x gtceu:raw_cassiterite_sand', 1000, 0)
        .chancedOutput('64x gtceu:raw_chalcopyrite', 1000, 0)
        .chancedOutput('64x gtceu:raw_cinnabar', 1000, 0)
        .chancedOutput('64x gtceu:raw_coal', 1000, 0)
        .chancedOutput('64x gtceu:raw_diamond', 1000, 0)
        .chancedOutput('64x gtceu:raw_garnierite', 1000, 0)
        .chancedOutput('64x gtceu:raw_calcite', 1000, 0)
        .chancedOutput('64x gtceu:raw_vanadium_magnetite', 1000, 0)
        .chancedOutput('64x gtceu:raw_tantalite', 1000, 0)
        .chancedOutput('64x gtceu:raw_apatite', 1000, 0)
        .chancedOutput('64x gtceu:raw_lapis', 1000, 0)
        .chancedOutput('64x gtceu:raw_tricalcium_phosphate', 1000, 0)
        .duration(2400)
    event.recipes.gtceu.martial_morality_eye("ore_production_2")
        .itemInputs('64x minecraft:stone')
        .chancedInput('64x minecraft:diamond_block', 7500, -100)
        .inputFluids("gtceu:creosote 64000")
        .outputFluids("minecraft:lava 8000")
        .outputFluids("alexscaves:acid 8000")
        .chancedOutput('64x gtceu:raw_electrotine', 1000, 50)
        .chancedOutput('64x gtceu:raw_wollastonite', 1000, 50)
        .chancedOutput('64x gtceu:raw_kaolinite', 1000, 50)
        .chancedOutput('64x gtceu:raw_apatite', 1000, 50)
        .chancedOutput('64x gtceu:raw_chalcocite', 1000, 50)
        .chancedOutput('64x gtceu:raw_certus_quartz', 1000, 50)
        .chancedOutput('64x gtceu:raw_sphalerite', 1000, 50)
        .chancedOutput('64x gtceu:raw_garnierite', 1000, 50)
        .chancedOutput('64x gtceu:raw_emerald', 1000, 50)
        .chancedOutput('64x gtceu:raw_silver', 1000, 50)
        .chancedOutput('64x gtceu:raw_zinc', 1000, 50)
        .chancedOutput('64x gtceu:raw_cassiterite', 1000, 50)
        .chancedOutput('64x gtceu:raw_calcite', 1000, 50)
        .chancedOutput('64x gtceu:raw_malachite', 1000, 50)
        .chancedOutput('64x gtceu:raw_mica', 1000, 50)
        .chancedOutput('64x gtceu:raw_barite', 1000, 50)
        .chancedOutput('64x gtceu:raw_amethyst', 1000, 50)
        .chancedOutput('64x gtceu:raw_olivine', 1000, 50)
        .chancedOutput('64x gtceu:raw_tantalite', 1000, 50)
        .chancedOutput('64x gtceu:raw_salt', 1000, 50)
        .chancedOutput('64x gtceu:raw_ruby', 1000, 50)
        .chancedOutput('64x gtceu:raw_saltpeter', 1000, 50)
        .chancedOutput('64x gtceu:raw_lithium', 1000, 50)
        .chancedOutput('64x gtceu:raw_magnetite', 1000, 50)
        .chancedOutput('64x gtceu:raw_lead', 1000, 50)
        .chancedOutput('64x gtceu:raw_cobalt', 1000, 50)
        .chancedOutput('64x gtceu:raw_antimony', 1000, 50)
        .EUt(96)
        .duration(2400);
    event.recipes.gtceu.martial_morality_eye("ore_production_3")
        .itemInputs('64x ad_astra:moon_stone')
        .chancedInput('4x gtceu:gallium_arsenide_block', 5500, -100)
        .inputFluids("gtceu:rocket_fuel 4000")
        .outputFluids("gtceu:nitric_acid 1000")
        .outputFluids("gtceu:sulfuric_acid 1000")
        .outputFluids("gtceu:phosphoric_acid 1000")
        .chancedOutput('32x gtceu:raw_antimony_block', 1000, 50)
        .chancedOutput('32x gtceu:raw_lead_block', 1000, 50)
        .chancedOutput('32x gtceu:raw_nickel_block', 1000, 50)
        .chancedOutput('32x gtceu:raw_silver_block', 1000, 50)
        .chancedOutput('32x gtceu:raw_tin_block', 1000, 50)
        .chancedOutput('32x gtceu:raw_hematite_block', 1000, 50)
        .chancedOutput('64x gtceu:raw_vanadium_magnetite', 1000, 50)
        .chancedOutput('64x gtceu:raw_barite', 1000, 50)
        .chancedOutput('64x gtceu:raw_pollucite', 1000, 50)
        .chancedOutput('64x gtceu:raw_graphite', 1000, 50)
        .chancedOutput('64x gtceu:raw_quartzite', 1000, 50)
        .chancedOutput('64x gtceu:raw_bornite', 1000, 50)
        .chancedOutput('64x gtceu:raw_wulfenite', 1000, 50)
        .chancedOutput('64x gtceu:raw_yellow_limonite', 1000, 50)
        .chancedOutput('64x gtceu:raw_pentlandite', 1000, 50)
        .chancedOutput('64x gtceu:raw_chalcocite', 1000, 50)
        .chancedOutput('64x gtceu:raw_realgar', 1000, 50)
        .chancedOutput('64x gtceu:raw_pyrochlore', 1000, 50)
        .chancedOutput('64x gtceu:raw_tricalcium_phosphate', 1000, 50)
        .chancedOutput('64x gtceu:raw_trona', 1000, 50)
        .chancedOutput('64x gtceu:raw_bauxite', 1000, 50)
        .chancedOutput('64x gtceu:raw_cooperite', 1000, 50)
        .chancedOutput('64x gtceu:raw_chromite', 1000, 50)
        .chancedOutput('64x gtceu:raw_cobaltite', 1000, 50)
        .chancedOutput('64x gtceu:raw_ilmenite', 1000, 50)
        .chancedOutput('64x gtceu:raw_rock_salt', 1000, 50)
        .chancedOutput('64x gtceu:raw_tetrahedrite', 1000, 50)
        .EUt(480)
        .duration(4800);
    // event.recipes.gtceu.chemical_reactor("indium_fix_1")
    //     .circuit(1)
    //     .itemInputs('2x gtceu:aluminium_dust')
    //     .inputFluids("gtceu:indium_concentrate 1000")
    //     .outputFluids("gtceu:lead_zinc_solution 1000")
    //     .itemOutputs('2x gtceu:small_indium_dust', '14x gtceu:aluminium_sulfite_dust')
    //     .duration(50)
    //     .EUt(600)
    // event.recipes.gtceu.chemical_reactor("indium_fix_2")
    //     .circuit(4)
    //     .itemInputs('8x gtceu:aluminium_dust')
    //     .inputFluids("gtceu:indium_concentrate 4000")
    //     .outputFluids("gtceu:lead_zinc_solution 4000")
    //     .itemOutputs('2x gtceu:indium_dust', '56x gtceu:aluminium_sulfite_dust')
    //     .duration(200)
    //     .EUt(600)
    event.recipes.gtceu.electrolyzer("aluminium_dust_fix")
        .itemInputs('14x gtceu:aluminium_sulfite_dust')
        .itemOutputs('2x gtceu:aluminium_dust', '3x gtceu:sulfur_dust')
        .outputFluids('gtceu:oxygen 9000')
        .duration(280)
        .EUt(60)
    event.recipes.gtceu.dimensional_gas_collection("main_world_air1")
        .notConsumable('minecraft:poppy')
        .circuit(1)
        .outputFluids("gtceu:air 500000")
        .EUt(1920)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("main_world_air2")
        .notConsumable('gtceu:vacuum_freezer')
        .notConsumable('minecraft:poppy')
        .outputFluids("gtceu:liquid_air 500000")
        .EUt(6144)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("nether_1")
        .notConsumable('minecraft:wither_rose')
        .circuit(1)
        .outputFluids("gtceu:nether_air 500000")
        .EUt(6144)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("nether_2")
        .notConsumable('minecraft:wither_rose')
        .notConsumable('gtceu:vacuum_freezer')
        .outputFluids("gtceu:liquid_nether_air 500000")
        .EUt(24768)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("the_end_1")
        .notConsumable('minecraft:chorus_flower')
        .circuit(1)
        .outputFluids("gtceu:ender_air 500000")
        .EUt(24768)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("the_end_2")
        .notConsumable('minecraft:chorus_flower')
        .notConsumable('gtceu:vacuum_freezer')
        .outputFluids("gtceu:liquid_ender_air 500000")
        .EUt(122330)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("sky_dimension_1")
        .notConsumable('aether:white_flower')
        .circuit(1)
        .outputFluids("gtceu:aether_air 500000")
        .EUt(6144)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("sky_dimension_2")
        .notConsumable('aether:white_flower')
        .notConsumable('gtceu:vacuum_freezer')
        .outputFluids("gtceu:liquid_aether_air 500000")
        .EUt(24768)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("mana_1")
        .notConsumable('botania:entropinnyum')
        .circuit(1)
        .outputFluids("gtceu:alfheim_air 200000")
        .EUt(24768)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("mana_2")
        .notConsumable('botania:entropinnyum')
        .notConsumable('gtceu:vacuum_freezer')
        .outputFluids("gtceu:liquid_alfheim_air 200000")
        .EUt(122330)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("twilight_air1")
        .notConsumable('twilightforest:rainbow_oak_sapling')
        .circuit(1)
        .outputFluids("gtceu:twilightforest_air 500000")
        .EUt(1920)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("twilight_air2")
        .notConsumable('twilightforest:rainbow_oak_sapling')
        .notConsumable('gtceu:vacuum_freezer')
        .outputFluids("gtceu:liquid_twilightforest_air 500000")
        .EUt(6144)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("venus_air1")
        .notConsumable('gtceu:raw_calorite')
        .circuit(1)
        .outputFluids("gtceu:venus_air 500000")
        .EUt(122330)
        .duration(200)
    event.recipes.gtceu.dimensional_gas_collection("venus_air2")
        .notConsumable('gtceu:raw_calorite')
        .notConsumable('gtceu:vacuum_freezer')
        .outputFluids("gtceu:liquid_venus_air 500000")
        .EUt(490123)
        .duration(200)
    event.recipes.gtceu.assembly_line('compressed_mk1')
        .itemInputs('16x gtceu:luv_fusion_reactor', '4x ctnhcore:high_speed_pipe_block', '8x gtceu:europium_frame', '4x gtceu:fusion_coil', '4x gtceu:neutron_reflector', '6x gtceu:luv_field_generator')
        .inputFluids(Fluid.of('gtceu:molten_enriched_naquadah_trinium_europium_duranide', 8000))
        .inputFluids(Fluid.of("gtceu:soldering_alloy", 8000))
        .itemOutputs('ctnhcore:luv_compressed_fusion_reactor')
        .EUt(24987)
        .duration(450)
        .stationResearch(b => b.researchStack(Item.of('gtceu:neutron_reflector'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(16))
    event.recipes.gtceu.assembly_line('compressed_mk2')
        .itemInputs('16x gtceu:zpm_fusion_reactor', '16x ctnhcore:high_speed_pipe_block', '8x gtceu:tritanium_frame', '16x gtceu:fusion_coil', '16x gtceu:neutron_reflector', '6x gtceu:zpm_field_generator')
        .inputFluids(Fluid.of('gtceu:tritanium', 8000))
        .inputFluids(Fluid.of("gtceu:soldering_alloy", 8000))
        .itemOutputs('ctnhcore:zpm_compressed_fusion_reactor')
        .EUt(122800)
        .duration(450)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:luv_compressed_fusion_reactor'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.ZPM])
            .CWUt(32))
    event.recipes.gtceu.assembly_line('compressed_mk3')
        .itemInputs('16x gtceu:uv_fusion_reactor', '64x ctnhcore:high_speed_pipe_block', '8x gtceu:neutronium_frame', '64x gtceu:fusion_coil', '64x gtceu:neutron_reflector', '6x gtceu:uv_field_generator')
        .inputFluids(Fluid.of('gtceu:ruthenium_trinium_americium_neutronate', 8000))
        .inputFluids(Fluid.of("gtceu:soldering_alloy", 8000))
        .itemOutputs('ctnhcore:uv_compressed_fusion_reactor')
        .EUt(491020)
        .duration(450)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:zpm_compressed_fusion_reactor'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.UV])
            .CWUt(64))
    event.recipes.gtceu.assembler("refractory_brick_1")
        .itemInputs('gtceu:coke_oven_bricks', '4x gtceu:firebrick')
        .inputFluids("gtceu:concrete 500")
        .itemOutputs('gtceu:firebricks')
        .EUt(24)
        .duration(50)
    event.recipes.gtceu.assembler('decay_pools_machine')
        .itemInputs('7x gtceu:dense_lead_plate', '7x gtceu:dense_lead_plate', '7x gtceu:dense_lead_plate', '7x gtceu:dense_lead_plate', 'gtceu:hv_machine_hull', '4x ctnhcore:neutron_source', '8x gtceu:double_uranium_plate')
        .inputFluids(Fluid.of('gtceu:soldering_alloy', 4000))
        .itemOutputs('ctnhcore:decay_pools_machine')
        .EUt(1920)
        .duration(900)
        // event.recipes.gtceu.assembly_line('rainbow_furnace')
        //     .itemInputs("ironfurnaces:netherite_furnace", "ironfurnaces:crystal_furnace", 'ironfurnaces:obsidian_furnace', 'ironfurnaces:emerald_furnace', 'ironfurnaces:diamond_furnace', 'ironfurnaces:gold_furnace', 'ironfurnaces:iron_furnace', 'ironfurnaces:copper_furnace', 'ironfurnaces:silver_furnace', 'ironfurnaces:item_spooky', 'ironfurnaces:item_xmas', '4x alexscaves:nuclear_furnace_component', 'gtceu:multi_smelter', 'gtceu:steam_oven', 'gtceu:large_steel_furnaces')
        //     .inputFluids(Fluid.of('gtceu:soldering_alloy', 4000))
        //     .itemOutputs('16x ironfurnaces:rainbow_plating')
        //     .EUt(114514)
        //     .duration(1000)
        //     .stationResearch(b => b.researchStack(Item.of('ironfurnaces:netherite_furnace'))
        //         .dataStack(Item.of("gtceu:data_module"))
        //         .EUt(GTValues.VA[GTValues.ZPM])
        //         .CWUt(64))
    event.recipes.gtceu.assembler("plasma_condensation_coil")
        .itemInputs('gtceu:superconducting_coil', '4x gtceu:luv_electric_pump', '32x gtceu:niobium_titanium_tiny_fluid_pipe', '4x gtceu:luv_field_generator')
        .inputFluids('gtceu:liquid_helium 8000')
        .itemOutputs('ctnhcore:plasma_cooled_core')
        .EUt(24768)
        .duration(200)
    event.recipes.gtceu.assembler("plasma_mechanical_housing")
        .itemInputs('gtceu:luv_machine_casing', '6x gtceu:neutron_reflector', 'gtceu:enriched_naquadah_frame')
        .inputFluids('gtceu:liquid_helium 1000')
        .itemOutputs('2x ctnhcore:antifreeze_heatproof_machine_casing')
        .EUt(24768)
        .duration(50)
    event.recipes.gtceu.assembly_line('plasma_condenser')
        .itemInputs('gtceu:vacuum_freezer', '2x ctnhcore:plasma_cooled_core', '4x #gtceu:circuits/zpm', '4x gtceu:neutron_reflector', '8x gtceu:europium_frame', '8x gtceu:luv_field_generator')
        .inputFluids(Fluid.of('gtceu:soldering_alloy', 4000))
        .itemOutputs('ctnhcore:plasma_condenser')
        .EUt(6000)
        .duration(500)
        .stationResearch(b => b.researchStack(Item.of('gtceu:vacuum_freezer'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(8))
    event.recipes.gtceu.chemical_reactor('gtceu:sodium_carbonate_solution1')
        .inputFluids('gtceu:sodium_carbonate_solution 1000', 'gtceu:carbon_dioxide 1000')
        .itemOutputs('12x gtceu:sodium_bicarbonate_dust')
        .EUt(16)
        .duration(50)
    event.recipes.gtceu.mixer('samarium_dysprosium_terbium_permanent_magnet_alloy')
        .itemInputs('gtceu:samarium_dust', 'gtceu:dysprosium_dust', 'gtceu:terbium_dust')
        .itemOutputs('3x gtceu:samarium_dysprosium_terbium_permanent_magnet_alloy_dust')
        .EUt(122320)
        .duration(200)
    event.recipes.gtceu.polarizer('samarium_dysprosium_terbium_permanent_magnet_alloy_ingot')
        .itemInputs('gtceu:samarium_dysprosium_terbium_permanent_magnet_alloy_ingot')
        .itemOutputs('gtceu:samarium_dysprosium_terbium_permanent_magnet_alloy_magnetic_ingot')
        .EUt(490120)
        .duration(100)
    event.recipes.gtceu.polarizer('samarium_dysprosium_terbium_permanent_magnet_alloy_magnetic_rod')
        .itemInputs('gtceu:samarium_dysprosium_terbium_permanent_magnet_alloy_rod')
        .itemOutputs('gtceu:samarium_dysprosium_terbium_permanent_magnet_alloy_magnetic_rod')
        .EUt(490120)
        .duration(100)
    event.recipes.gtceu.polarizer('long_samarium_dysprosium_terbium_permanent_magnet_alloy_magnetic_rod')
        .itemInputs('gtceu:long_samarium_dysprosium_terbium_permanent_magnet_alloy_rod')
        .itemOutputs('gtceu:long_samarium_dysprosium_terbium_permanent_magnet_alloy_magnetic_rod')
        .EUt(490120)
        .duration(200)
    event.recipes.gtceu.assembler("simple_nutritious")
        .itemInputs("minecraft:paper")
        .inputFluids(Fluid.of("gtceu:biomass", 1000))
        .itemOutputs("4x ctnhcore:simple_nutritious_meal")
        .duration(40)
        .EUt(30)

    event.recipes.gtceu.mixer('nether_essence_crystal_fluid')
        .itemInputs('gtceu:gold_dust', 'gtceu:steel_dust', 'gtceu:aluminium_dust', 'gtceu:gallium_arsenide_dust', 'gtceu:stainless_steel_dust', 'gtceu:small_nether_star_dust')
        .inputFluids('minecraft:lava 1000')
        .outputFluids('gtceu:nether_essence_crystal_fluid 864')
        .duration(500)
        .EUt(480)
    event.recipes.gtceu.electric_blast_furnace('minecraft:nether_star')
        .itemInputs('gtceu:nether_star_dust')
        .itemOutputs('2x minecraft:nether_star')
        .inputFluids('gtceu:nether_essence_crystal_fluid 576')
        .duration(400)
        .EUt(1920)
        .blastFurnaceTemp(4500)
    event.recipes.gtceu.assembly_line('void_miner_create')
        .itemInputs('16x gtceu:uv_machine_hull', '64x gtceu:adamantite_frame', '32x #gtceu:circuits/uhv', '64x #gtceu:circuits/uv', '64x gtceu:adamantite_gear', '64x gtceu:adamantite_gear', '64x gtceu:aether_gear', '64x gtceu:aether_gear', '16x gtceu:uv_electric_motor', '16x gtceu:uv_conveyor_module', '16x gtceu:uv_electric_piston', '16x gtceu:uv_robot_arm', '64x gtceu:ev_large_miner', '48x gtceu:iv_large_miner', '32x gtceu:luv_large_miner', '16x ctnhcore:zpm_large_miner')
        .inputFluids(Fluid.of('gtceu:cerrobase_140', 512000))
        .inputFluids(Fluid.of('gtceu:soldering_alloy', 512000))
        .inputFluids(Fluid.of('gtceu:adamantite_plasma', 512000))
        .inputFluids(Fluid.of('gtceu:aether_plasma', 512000))
        .itemOutputs('ctnhcore:void_miner')
        .EUt(491020)
        .duration(3600)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:zpm_large_miner'))
            .dataStack(Item.of("gtceu:data_module"))
            .EUt(GTValues.VA[GTValues.UV])
            .CWUt(256))
    event.recipes.gtceu.primitive_blast_furnace("refined_steel")
        .itemInputs('3x ctnhcore:refined_iron_ingot', '3x gtceu:coke_gem')
        .itemOutputs('24x gtceu:steel_ingot')
        .duration(100)







    event.recipes.gtceu.assembler('super_ebf')
        .itemInputs(['16x gtceu:electric_blast_furnace', '4x gtceu:clean_machine_casing', '4x #gtceu:circuits/luv', '32x gtceu:hssg_single_wire', '2x gtceu:luv_electric_pump'])
        .itemOutputs('ctnhcore:super_ebf')
        .inputFluids(Fluid.of('gtceu:polybenzimidazole', 576))
        .EUt(30720)
        .duration(400)
    event.recipes.gtceu.assembler('mega_oil_cracking')
        .itemInputs(['8x gtceu:cracker', '2x #gtceu:circuits/iv', '8x gtceu:platinum_single_cable', '2x gtceu:dense_tungsten_steel_plate'])
        .itemOutputs('ctnhcore:mega_oil_cracking_unit')
        .inputFluids(Fluid.of('gtceu:polybenzimidazole', 576))
        .EUt(7680)
        .duration(200)
    event.recipes.gtceu.assembler('mega_lcr')
        .itemInputs('64x gtceu:large_chemical_reactor')
        .itemInputs('64x gtceu:ev_voltage_coil')
        .itemInputs('32x #gtceu:circuits/ev')
        .itemOutputs('ctnhcore:mega_lcr')
        .inputFluids(Fluid.of('gtceu:soldering_alloy', 9216))
        .EUt(480)
        .duration(7200)
    event.recipes.gtceu.assembly_line("silica_rock_fuel_refinery")
        .itemInputs('64x gtceu:naquadah_frame', '64x gtceu:enriched_naquadah_frame', '64x gtceu:naquadria_frame', '64x ctnhcore:neutron_source', '7x gtceu:dense_obsidian_plate', '7x gtceu:dense_tungsten_steel_plate', '7x gtceu:dense_rhodium_plated_palladium_plate', '7x gtceu:dense_naquadah_alloy_plate', '64x gtceu:heat_vent', '64x gtceu:electrolytic_cell', '64x gtceu:high_temperature_smelting_casing', '64x gtceu:inert_machine_casing', '8x #gtceu:circuits/uhv', '8x #gtceu:circuits/uv', '8x #gtceu:circuits/zpm', '8x #gtceu:circuits/luv')
        .inputFluids(Fluid.of('gtceu:cerrobase_140', 16000))
        .inputFluids(Fluid.of('gtceu:naquadria', 16000))
        .inputFluids(Fluid.of('gtceu:pulsating_alloy', 16000))
        .inputFluids(Fluid.of('gtceu:molten_tungsten_carbide', 16000))
        .itemOutputs('ctnhcore:silica_rock_fuel_refinery')
        .EUt(491520)
        .duration(1000)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:fuel_refining_factory'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.ZPM])
            .CWUt(64))
    event.recipes.gtceu.centrifuge("moon_dust")
        .itemInputs('36x gtceu:moon_stone_dust')
        .chancedOutput('32x gtceu:silicon_dioxide_dust', 5000, 1000)
        .chancedOutput('24x gtceu:rare_earth_dust', 3000, 1000)
        .chancedOutput('16x gtceu:olivine_dust', 2000, 1000)
        .chancedOutput('16x gtceu:manganese_dust', 1000, 1000)
        .chancedOutput('12x gtceu:scheelite_dust', 800, 1000)
        .chancedOutput('8x gtceu:platinum_ore_dust', 400, 1000)
        .outputFluids("gtceu:helium_3 3600")
        .EUt(480)
        .duration(500)
    event.recipes.gtceu.centrifuge("mars_dust")
        .itemInputs('36x gtceu:mars_stone_dust')
        .chancedOutput('24x gtceu:hematite_dust', 5000, 1000)
        .chancedOutput('12x gtceu:magnesium_dust', 3000, 1000)
        .chancedOutput('12x gtceu:alumina_dust', 2000, 1000)
        .chancedOutput('12x gtceu:ruby_dust', 1000, 1000)
        .chancedOutput('8x gtceu:diamond_dust', 800, 1000)
        .chancedOutput('4x gtceu:iridium_metal_residue_dust', 400, 1000)
        .outputFluids("gtceu:bacteria 3600")
        .EUt(1920)
        .duration(500)
    event.recipes.gtceu.centrifuge("venus_dust")
        .itemInputs('36x gtceu:venus_stone_dust')
        .chancedOutput('64x gtceu:carbon_dust', 5000, 1000)
        .chancedOutput('32x gtceu:platinum_group_sludge_dust', 2000, 1000)
        .chancedOutput('32x gtceu:chromium_trioxide_dust', 1000, 1000)
        .chancedOutput('32x gtceu:tungsten_dust', 800, 1000)
        .chancedOutput('32x gtceu:arcane_crystal_dust', 400, 1000)
        .outputFluids("gtceu:sulfuric_acid 3600")
        .EUt(6144)
        .duration(500)
    event.recipes.gtceu.centrifuge('mercury_dust')
        .itemInputs('36x gtceu:mercury_stone_dust')
        .chancedOutput('64x gtceu:carbon_dust', 5000, 1000)
        .chancedOutput('36x gtceu:naquadah_oxide_mixture_dust', 3000, 1000)
        .chancedOutput('36x gtceu:zircon_dust', 2000, 1000)
        .chancedOutput('32x gtceu:small_plutonium_dust', 1000, 100)
        .chancedOutput('24x gtceu:small_uranium_235_dust', 800, 100)
        .chancedOutput('8x gtceu:tiny_naquadah_dust', 100, 500)
        .outputFluids("gtceu:mercury 3600")
        .EUt(21453)
        .duration(500)
    event.recipes.gtceu.centrifuge('glacio_dust')
        .itemInputs('36x gtceu:glacio_stone_dust')
        .chancedOutput('64x gtceu:ilmenite_dust', 5000, 1000)
        .chancedOutput('48x gtceu:naquadria_oxide_mixture_dust', 2000, 1000)
        .chancedOutput('32x gtceu:uranium_235_dust', 1000, 100)
        .chancedOutput('16x gtceu:plutonium_241_dust', 1000, 100)
        .chancedOutput('4x gtceu:iridium_dust', 1000, 100)
        .chancedOutput('gtceu:neutronium_dust', 200, 100)
        .outputFluids("gtceu:radon 3600")
        .EUt(122330)
        .duration(500)
    event.recipes.gtceu.assembly_line('ctnhcore:atoms_split_blocks')
        .itemInputs('gtceu:uhv_field_generator', 'gtceu:uhv_field_generator', 'gtceu:uhv_field_generator', 'gtceu:uhv_field_generator', 'ctnhcore:reactor_condensation_block', 'ctnhcore:annihilate_core_mki')
        .inputFluids("gtceu:bedrock_dust 16000", "gtceu:cerrobase_140 16000", "gtceu:molten_naquadah_alloy 16000", 'gtceu:polybenzimidazole 16000')
        .itemOutputs('2x ctnhcore:atoms_split_blocks')
        .EUt(491052)
        .duration(500)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:reactor_condensation_block'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.ZPM])
            .CWUt(64))
    event.recipes.gtceu.assembler('ctnhcore:reactor_condensation_block')
        .itemInputs('7x gtceu:dense_obsidian_plate', '7x gtceu:dense_lead_plate', '7x gtceu:dense_naquadah_alloy_plate', "2x gtceu:frostproof_machine_casing")
        .inputFluids("gtceu:polybenzimidazole 8000")
        .itemOutputs('4x ctnhcore:reactor_condensation_block')
        .EUt(122330)
        .duration(100)
    event.recipes.gtceu.assembler('ctnhcore:ecological_star')
        .itemInputs('64x minecraft:oak_sapling', '64x minecraft:spruce_sapling', '64x minecraft:birch_sapling', '64x minecraft:jungle_sapling', 'twilightforest:time_sapling', '64x minecraft:acacia_sapling', '64x minecraft:dark_oak_sapling', '64x gtceu:plant_ball', '64x minecraft:cherry_sapling')
        .inputFluids("gtceu:bacteria 16000")
        .itemOutputs('ctnhcore:ecological_star')
        .EUt(6144)
        .duration(1200)
    event.recipes.gtceu.mixer("eglin_steel_ingot")
        .itemInputs('5x gtceu:invar_dust', '4x gtceu:iron_dust', 'gtceu:kanthal_dust')
        .itemOutputs('10x gtceu:eglin_steel_ingot_dust')
        .EUt(64)
        .duration(300)
    event.recipes.gtceu.mixer('eglin_alloy_dust')
        .itemInputs('10x gtceu:eglin_steel_ingot_dust', 'gtceu:sulfur_dust', 'gtceu:silver_dust', 'gtceu:carbon_dust')
        .circuit(4)
        .itemOutputs('13x gtceu:eglin_alloy_dust')
        .duration(150)
        .EUt(64)
    event.recipes.gtceu.assembler('ctnhcore:natural_ecological_shell_casing')
        .itemInputs('gtceu:eglin_alloy_frame', '4x gtceu:eglin_alloy_gear', '4x gtceu:plant_ball', '2x gtceu:brass_small_item_pipe', '#minecraft:saplings', 'minecraft:acacia_planks')
        .inputFluids("gtceu:biomass 16000")
        .itemOutputs('ctnhcore:natural_ecological_shell_casing')
        .EUt(120)
        .duration(160)
    event.recipes.gtceu.rocket_engine('engine_1')
        .inputFluids("gtceu:rocket_fuel 16")
        .EUt(-64)
        .duration(125)
    event.recipes.gtceu.rocket_engine('engine_2')
        .inputFluids('gtceu:rp_1_mixed_fuel 1')
        .EUt(-2048)
        .duration(40)
    event.recipes.gtceu.rocket_engine('engine_3')
        .inputFluids('gtceu:dense_hydrazine_mixed_fuel 1')
        .EUt(-2048)
        .duration(80)
    event.recipes.gtceu.rocket_engine('engine_4')
        .inputFluids('gtceu:methylhydrazine_nitrate_rocket_fuel 1')
        .EUt(-2048)
        .duration(160)
    event.recipes.gtceu.rocket_engine('engine_5')
        .inputFluids('gtceu:udmh_rocket_fuel 1')
        .EUt(-2048)
        .duration(320)
    event.recipes.gtceu.gas_turbine("turbine_1")
        .inputFluids('gtceu:coal_gas 1')
        .EUt(-32)
        .duration(20)
    event.recipes.gtceu.gas_turbine("turbine_2")
        .inputFluids('gtceu:wood_gas 3')
        .EUt(-32)
        .duration(20)
    event.recipes.gtceu.gas_turbine("turbine_3")
        .inputFluids('gtceu:benzene 1')
        .EUt(-32)
        .duration(20)
    event.recipes.gtceu.combustion_generator("combustion_1")
        .inputFluids('gtceu:naphtha 1')
        .EUt(-32)
        .duration(15)
    event.recipes.gtceu.combustion_generator("combustion_2")
        .inputFluids('gtceu:light_fuel 1')
        .EUt(-32)
        .duration(15)
    event.recipes.gtceu.combustion_generator("combustion_3")
        .inputFluids('gtceu:diesel 1')
        .EUt(-32)
        .duration(25)
    event.recipes.gtceu.combustion_generator("combustion_4")
        .inputFluids('gtceu:bio_diesel 1')
        .EUt(-32)
        .duration(20)
    event.recipes.gtceu.assembler('cleaning_maintenance_hatch')
        .itemInputs('gtceu:auto_maintenance_hatch', '2x gtceu:item_smart_filter', '2x gtceu:fluid_filter', '2x enderio:basic_item_filter', '2x gtceu:filter_casing', '4x gtceu:ev_electric_motor', '4x #gtceu:circuits/iv')
        .inputFluids('gtceu:electrum 16000')
        .itemOutputs('gtceu:cleaning_maintenance_hatch')
        .EUt(1920)
        .duration(500)
    event.recipes.gtceu.assembly_line('sterile_cleanroom_maintenance_hatch')
        .itemInputs('8x gtceu:sterilizing_filter_casing', '8x gtceu:filter_casing', '4x gtceu:luv_electric_motor', '4x gtceu:luv_electric_pump', '4x #gtceu:circuits/zpm', '4x gtceu:rhodium_plated_palladium_rotor', '4x enderio:extraction_speed_upgrade_4', '4x ae2omnicells:complex_omni_cell_component_1m', '64x gtceu:stem_cells', '64x gtceu:stem_cells', '64x gtceu:stem_cells', '64x gtceu:stem_cells', 'minecraft:nether_star', 'gtceu:quantum_eye', 'gtceu:quantum_star', 'gtceu:auto_maintenance_hatch')
        .inputFluids('gtceu:cerrobase_140 16000')
        .inputFluids('gtceu:soldering_alloy 16000')
        .inputFluids('gtceu:argon 16000')
        .inputFluids('gtceu:fluorine 16000')
        .itemOutputs('ctnhcore:sterile_cleanroom_maintenance_hatch')
        .EUt(122330)
        .duration(1200)
        .stationResearch(b => b.researchStack(Item.of('gtceu:sterilizing_filter_casing'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(16))
    event.recipes.gtceu.assembler('sterilizing_filter_casing_as')
        .itemInputs('gtceu:europium_frame', 'gtceu:hsss_rotor', 'gtceu:luv_electric_motor', 'gtceu:luv_electric_pump', '2x gtceu:fluid_tag_filter', 'gtceu:blacklight', '2x enderio:end_steel_bars')
        .itemOutputs('gtceu:sterilizing_filter_casing')
        .EUt(24768)
        .duration(500)
    event.recipes.gtceu.electric_blast_furnace('germanium1')
        .itemInputs('16x gtceu:purified_sphalerite_ore')
        .circuit(11)
        .inputFluids('gtceu:argon 1000')
        .itemOutputs('2x gtceu:tiny_germanium_dust')
        .blastFurnaceTemp(5200)
        .EUt(6144)
        .duration(200)
    event.recipes.gtceu.electric_blast_furnace('germanium2')
        .itemInputs('16x gtceu:purified_sphalerite_ore')
        .circuit(1)
        .itemOutputs('2x gtceu:tiny_germanium_dust')
        .blastFurnaceTemp(5200)
        .EUt(6144)
        .duration(400)
    event.recipes.gtceu.assembler('gtceu:coke_oven_bricks1')
        .itemInputs('4x gtceu:coke_oven_brick')
        .inputFluids('gtceu:cement 144')
        .itemOutputs('gtceu:coke_oven_bricks')
        .EUt(12)
        .duration(40)
    event.recipes.gtceu.assembler('gtceu:coke_oven_bricks2')
        .itemInputs('4x gtceu:coke_oven_brick')
        .inputFluids('gtceu:concrete 72')
        .itemOutputs('gtceu:coke_oven_bricks')
        .EUt(12)
        .duration(40)
    event.recipes.gtceu.mixer('gtceu:cement')
        .circuit(6)
        .itemInputs('gtceu:calcite_dust', '4x gtceu:clay_dust', '2x gtceu:iron_dust')
        .inputFluids('minecraft:water 10000')
        .outputFluids('gtceu:cement 14400')
        .EUt(24)
        .duration(100)
    event.recipes.gtceu.implosion_compressor('minecraft:bedrock')
        .itemInputs('64x gtceu:bedrock_dust_block', '64x alexscaves:nuclear_bomb')
        .itemOutputs('minecraft:bedrock')
        .EUt(491200)
        .duration(20)
        .cleanroom(CleanroomType.STERILE_CLEANROOM)
    event.recipes.gtceu.cultivation_room('stem_cell_one')
        .itemInputs('64x gtceu:stem_cells')
        .chancedInput('minecraft:sculk_vein', 1000, 200)
        .chancedInput('gtceu:petri_dish', 2000, -10)
        .inputFluids('gtceu:sterilized_growth_medium 1000', 'gtceu:fermented_biomass 1000')
        .chancedFluidOutput('gtceu:biologicalculturemediumstocksolution 2000', 5000, 400)
        .EUt(122330)
        .duration(3000)
    event.recipes.gtceu.fluid_heater('sterilebiologicalculturemediumstocksolution')
        .inputFluids('gtceu:biologicalculturemediumstocksolution 100')
        .outputFluids('gtceu:sterilebiologicalculturemediumstocksolution 100')
        .EUt(122330)
        .duration(40)
        .circuit(1)
    event.recipes.gtceu.circuit_assembler('echo_circuit_board')
        .itemInputs('4x ctnhbio:wetware_circuit_board', '3x minecraft:echo_shard', '5x minecraft:sculk_vein', '4x gtceu:stem_cells', '3x gtceu:hidden_alloy_single_wire', '3x gtceu:hidden_alloy_tiny_fluid_pipe')
        .inputFluids('gtceu:sterilebiologicalculturemediumstocksolution 600')
        .itemOutputs('16x kubejs:echo_circuit_board')
        .EUt(491520)
        .duration(60)
    event.recipes.gtceu.chemical_reactor('kubejs:echo_printed_circuit_board')
        .itemInputs('kubejs:echo_circuit_board', '8x gtceu:trinium_foil')
        .inputFluids('gtceu:iron_iii_chloride 6000')
        .itemOutputs('kubejs:echo_printed_circuit_board')
        .EUt(1920)
        .duration(3600)
        .cleanroom(CleanroomType.STERILE_CLEANROOM)
    event.recipes.gtceu.cultivation_room('minecraft:sculk_vein')
        .notConsumable('minecraft:sculk_catalyst')
        .chancedInput('gtceu:petri_dish', 2000, -10)
        .itemInputs('4x minecraft:stone')
        .inputFluids('enderio:xp_juice 1000')
        .itemOutputs('4x minecraft:sculk_vein', '3x minecraft:sculk')
        .duration(200)
        .EUt(480)
    event.recipes.gtceu.cultivation_room('minecraft:sculk_vein_2')
        .notConsumable('minecraft:sculk_catalyst')
        .chancedInput('gtceu:petri_dish', 2000, -10)
        .itemInputs('16x minecraft:stone')
        .inputFluids('gtceu:sterilebiologicalculturemediumstocksolution 100')
        .itemOutputs('64x minecraft:sculk_vein', '16x minecraft:sculk')
        .duration(200)
        .EUt(480)
    event.recipes.gtceu.cultivation_room('minecraft:sculk_vein_3')
        .notConsumable('minecraft:sculk_catalyst')
        .chancedInput('gtceu:petri_dish', 2000, -10)
        .itemInputs('8x minecraft:stone')
        .inputFluids('gtceu:sterilized_growth_medium 100')
        .itemOutputs('32x minecraft:sculk_vein', '8x minecraft:sculk')
        .duration(200)
        .EUt(480)
    event.recipes.gtceu.macerator('sculk_dust')
        .itemInputs('2x minecraft:sculk_vein')
        .itemOutputs('gtceu:sculk_dust')
        .EUt(8)
        .duration(10)
    event.recipes.gtceu.mixer('minecraft:echo_shard')
        .itemInputs('3x gtceu:silicon_dioxide_dust', '2x gtceu:sculk_dust')
        .itemOutputs('5x gtceu:echo_shard_dust')
        .EUt(32)
        .duration(200)
        // event.recipes.gtceu.assembly_line('ctnhcore:sculk_cell')
        //     .itemInputs('32x gtceu:stem_cells', '8x minecraft:sculk_vein', '4x minecraft:sculk', '2x minecraft:echo_shard', 'kubejs:echo_printed_circuit_board', 'gtceu:crystal_soc', 'gtceu:crystal_soc', 'avaritia:crystal_matrix_ingot', '64x gtceu:hidden_alloy_bolt', '64x gtceu:hidden_alloy_bolt', '64x gtceu:hidden_alloy_bolt', '64x gtceu:hidden_alloy_bolt', 'gtceu:highly_advanced_soc', 'gtceu:highly_advanced_soc', 'gtceu:highly_advanced_soc', 'gtceu:highly_advanced_soc')
        //     .inputFluids('gtceu:mutagen 16000', 'gtceu:sterilebiologicalculturemediumstocksolution 16000')
        //     .itemOutputs('16x ctnhcore:sculk_cell')
        //     .EUt(491200)
        //     .duration(800)
        //     .stationResearch(b => b.researchStack(Item.of('gtceu:crystal_soc'))
        //         .dataStack(Item.of("gtceu:data_orb"))
        //         .EUt(GTValues.VA[GTValues.ZPM])
        //         .CWUt(64))
    event.recipes.gtceu.assembler('biological_patch_transistor')
        .itemInputs('gtceu:naquadria_foil', '8x gtceu:fine_osmiridium_wire')
        .inputFluids('gtceu:kapton_k 288')
        .itemOutputs('32x kubejs:biological_patch_transistor')
        .EUt(24768)
        .duration(400)
    event.recipes.gtceu.assembler('biological_patch_resistor')
        .itemInputs('gtceu:ruridit_dust', '4x gtceu:fine_europium_wire')
        .inputFluids('gtceu:kapton_k 576')
        .itemOutputs('32x kubejs:biological_patch_resistor')
        .EUt(24768)
        .duration(400)
    event.recipes.gtceu.assembler('biological_patch_capacitor')
        .itemInputs('2x gtceu:kapton_k_foil', 'gtceu:osmiridium_foil')
        .inputFluids('gtceu:kapton_k 72')
        .itemOutputs('32x kubejs:biological_patch_capacitor')
        .EUt(24768)
        .duration(400)
    event.recipes.gtceu.assembler('biological_patch_diode')
        .itemInputs('gtceu:exquisite_arcane_crystal_gem', '32x gtceu:fine_naquadah_alloy_wire')
        .inputFluids('gtceu:kapton_k 576')
        .itemOutputs('64x kubejs:biological_patch_diode')
        .EUt(24768)
        .duration(400)
    event.recipes.gtceu.assembler('biological_patch_inductor')
        .itemInputs('gtceu:osmiridium_ring', '4x gtceu:fine_tritanium_wire')
        .inputFluids('gtceu:kapton_k 288')
        .itemOutputs('16x kubejs:biological_patch_inductor')
        .EUt(24768)
        .duration(400)
    event.recipes.gtceu.circuit_assembler('echo_processor_1')
        .itemInputs('gtceu:neuro_processing_unit', 'ctnhcore:sculk_cell', '4x gtceu:qbit_cpu_chip', '16x kubejs:biological_patch_capacitor', '16x kubejs:biological_patch_transistor', '16x gtceu:fine_enriched_naquadah_trinium_europium_duranide_wire')
        .inputFluids('gtceu:cerrobase_140 288')
        .itemOutputs('4x kubejs:echo_processor')
        .EUt(491520)
        .duration(400)
        .cleanroom(CleanroomType.STERILE_CLEANROOM)
    event.recipes.gtceu.assembly_line('echo_processor_2')
        .itemInputs('gtceu:osmiridium_frame', 'kubejs:echo_printed_circuit_board', 'kubejs:echo_processor', 'gtceu:exquisite_echo_shard_gem', '12x kubejs:biological_patch_inductor', '24x kubejs:biological_patch_capacitor', '16x gtceu:engraved_crystal_chip', '2x ctnhcore:sculk_cell', 'gtceu:lapotronic_energy_orb')
        .inputFluids('gtceu:cerrobase_140 1440', 'gtceu:sterilized_growth_medium 1440')
        .itemOutputs('kubejs:echo_processor_assembly')
        .EUt(491520)
        .duration(800)
        .stationResearch(b => b.researchStack(Item.of('kubejs:echo_processor'))
            .dataStack(Item.of("gtceu:data_module"))
            .EUt(GTValues.VA[GTValues.ZPM])
            .CWUt(32))
    event.recipes.gtceu.assembly_line('echo_processor_3')
        .itemInputs('kubejs:echo_printed_circuit_board', 'kubejs:echo_processor_assembly', '32x kubejs:biological_patch_diode', '8x gtceu:highly_advanced_soc', '32x gtceu:nor_memory_chip', '64x gtceu:ram_chip', '64x gtceu:fine_tritanium_wire', '64x gtceu:fine_indium_tin_barium_titanium_cuprate_wire', '64x gtceu:polybenzimidazole_foil', '64x gtceu:kapton_k_foil', '8x gtceu:duranium_plate', '8x gtceu:tritanium_plate')
        .inputFluids('gtceu:cerrobase_140 2880', 'gtceu:sterilized_growth_medium 2880')
        .itemOutputs('kubejs:echo_processor_computer')
        .EUt(491520)
        .duration(800)
        .stationResearch(b => b.researchStack(Item.of('kubejs:echo_processor_assembly'))
            .dataStack(Item.of("gtceu:data_module"))
            .EUt(GTValues.VA[GTValues.UV])
            .CWUt(96))
    event.recipes.gtceu.assembly_line('echo_processor_4')
        .itemInputs('4x gtceu:europium_frame', '4x gtceu:duranium_frame', '4x gtceu:tritanium_frame', '4x gtceu:neutronium_frame', 'kubejs:echo_processor_computer', '64x kubejs:biological_patch_transistor', '64x kubejs:biological_patch_resistor', '64x kubejs:biological_patch_capacitor', '64x kubejs:biological_patch_diode', '64x kubejs:biological_patch_inductor', '64x gtceu:kapton_k_foil', '4x gtceu:lapotronic_energy_orb_cluster', '8x gtceu:special_composite_steel_m77_quadruple_wire', '16x gtceu:hidden_alloy_tiny_fluid_pipe', '4x ctnhcore:sculk_cell', '4x gtceu:dense_hidden_alloy_plate')
        .inputFluids('gtceu:cerrobase_140 2880', 'gtceu:sterilized_growth_medium 2880', 'gtceu:sterilebiologicalculturemediumstocksolution 2880')
        .itemOutputs('kubejs:echo_processor_mainframe')
        .EUt(1966800)
        .duration(1600)
        .stationResearch(b => b.researchStack(Item.of('kubejs:echo_processor_computer'))
            .dataStack(Item.of("gtceu:data_module"))
            .EUt(GTValues.VA[GTValues.UV])
            .CWUt(288))
    event.recipes.gtceu.assembly_line('cultivationroom')
        .itemInputs('4x gtceu:tritanium_frame', '32x gtceu:clean_machine_casing', '4x ctnhcore:sterile_cleanroom_maintenance_hatch', '27x gtceu:fusion_glass', '64x gtceu:stem_cells', '64x gtceu:stem_cells', '64x gtceu:stem_cells', '64x gtceu:stem_cells')
        .inputFluids('gtceu:sterilized_growth_medium 16000', 'gtceu:normal_yeast_extract_liquid 16000', 'gtceu:end_yeast_extract_liquid 16000')
        .itemOutputs('ctnhcore:cultivationroom')
        .EUt(24768)
        .duration(1200)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:large_bottle'))
            .dataStack(Item.of("gtceu:data_data"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(16))
    event.recipes.gtceu.assembly_line('advance_machine_casing_assembly_control')
        .itemInputs('4x gtceu:special_composite_steel_m77_frame', '16x gtceu:uhpic_chip', '4x #gtceu:circuits/uv', '8x #gtceu:circuits/uhv', '4x gtceu:zpm_electric_motor', '4x gtceu:zpm_emitter', '4x gtceu:zpm_sensor')
        .inputFluids('gtceu:cerrobase_140 16000')
        .itemOutputs('4x ctnhcore:advance_machine_casing_assembly_control')
        .EUt(122330)
        .duration(600)
        .stationResearch(b => b.researchStack(Item.of('gtceu:assembly_line_casing'))
            .dataStack(Item.of("gtceu:data_data"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(48))
    event.recipes.gtceu.assembly_line('advance_machine_casing_grate')
        .itemInputs('gtceu:special_composite_steel_m77_frame', '4x gtceu:osmiridium_rotor', '4x enderio:end_steel_bars', '4x gtceu:luv_electric_motor')
        .inputFluids('gtceu:cerrobase_140 16000')
        .itemOutputs('4x ctnhcore:advance_machine_casing_grate')
        .EUt(122330)
        .duration(600)
        .stationResearch(b => b.researchStack(Item.of('gtceu:assembly_line_grating'))
            .dataStack(Item.of("gtceu:data_data"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(16))
    event.recipes.gtceu.assembly_line('advance_machine_casing_assembly_line')
        .itemInputs('gtceu:special_composite_steel_m77_frame', '8x gtceu:special_composite_steel_m77_plate', '1x #gtceu:circuits/uhv', '16x gtceu:small_inconel_625_gear', '16x gtceu:small_hsss_gear', '16x gtceu:small_hssg_gear', '16x gtceu:small_eglin_alloy_gear', '4x gtceu:zpm_robot_arm')
        .inputFluids('gtceu:cerrobase_140 16000')
        .inputFluids("gtceu:naquadah_alloy 32000")
        .itemOutputs('ctnhcore:advance_machine_casing_assembly_line')
        .EUt(122330)
        .duration(600)
        .stationResearch(b => b.researchStack(Item.of('gtceu:assembly_line_unit'))
            .dataStack(Item.of("gtceu:data_data"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(48))
    event.recipes.gtceu.assembly_line('advance_assembly_line')
        .itemInputs('gtceu:zpm_machine_hull', '4x ctnhcore:advance_machine_casing_assembly_control', '12x ctnhcore:advance_machine_casing_assembly_line', '32x #gtceu:circuits/zpm', '16x gtceu:zpm_robot_arm', '16x gtceu:zpm_robot_arm', '16x gtceu:zpm_robot_arm', '16x gtceu:zpm_robot_arm')
        .inputFluids('gtceu:cerrobase_140 16000')
        .itemOutputs('ctnhcore:advance_assembly_line')
        .EUt(122330)
        .duration(600)
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:advance_machine_casing_assembly_control'))
            .dataStack(Item.of("gtceu:data_data"))
            .EUt(GTValues.VA[GTValues.LuV])
            .CWUt(48))
    event.recipes.gtceu.chemical_bath('advance_machine_casing_solid_steel')
        .itemInputs('8x gtceu:solid_machine_casing')
        .inputFluids('gtceu:special_composite_steel_m77 288')
        .itemOutputs('8x ctnhcore:advance_machine_casing_solid_steel')
        .EUt(24678)
        .duration(600)
    event.recipes.gtceu.chemical_reactor('cao')
        .circuit(2)
        .itemInputs('2x gtceu:quicklime_dust')
        .inputFluids('gtceu:carbon_dioxide 1000')
        .itemOutputs('5x gtceu:calcite_dust')
        .EUt(30)
        .duration(80)
    event.recipes.gtceu.canner('radon')
        .itemInputs('alexscaves:radon_bottle')
        .itemOutputs('minecraft:glass_bottle')
        .outputFluids(Fluid.of('gtceu:radon', 250))
        .EUt(GTValues.VA[GTValues.HV])
        .duration(40)
    event.recipes.gtceu.centrifuge('dolomite')
        .itemInputs('6x gtceu:dolomite_dust')
        .itemOutputs('5x gtceu:calcite_dust')
        .itemOutputs('gtceu:magnesium_dust')
        .EUt(30)
        .duration(38)
    event.recipes.gtceu.canner('scp500_base')
        .notConsumable('gtceu:pill_casting_mold')
        .inputFluids('bloodmagic:life_essence_fluid 8000')
        .itemOutputs('1x kubejs:scp_500_base')
        .EUt(8192)
        .duration(100)
    event.recipes.gtceu.canner('scp500')
        .itemInputs('1x kubejs:scp_500_base')
        .inputFluids('minecraft:milk 8000')
        .itemOutputs('1x kubejs:scp_500')
        .EUt(8192)
        .duration(100)
    event.recipes.gtceu.combustion_generator("light_fuel_one")
        .inputFluids('gtceu:light_fuel 1')
        .EUt(-32)
        .duration(20)
    event.recipes.gtceu.combustion_generator("dieselp_one")
        .inputFluids('gtceu:bio_diesel 1')
        .EUt(-32)
        .duration(25)
    event.recipes.gtceu.combustion_generator("dieselp_two")
        .inputFluids('gtceu:diesel 1')
        .EUt(-32)
        .duration(30)
    event.recipes.gtceu.combustion_generator("boosted_diesel_one")
        .inputFluids('gtceu:cetane_boosted_diesel 1')
        .EUt(-32)
        .duration(50)
    event.recipes.gtceu.gas_turbine("nitrobenzene_one")
        .inputFluids('gtceu:nitrobenzene 1')
        .EUt(-48)
        .duration(45)
    event.recipes.gtceu.mixer('zirkelite_dust_one')
        .itemInputs('3x gtceu:zirkelite_dust')
        .itemOutputs('gtceu:alkaline_slag_dust')
        .inputFluids('gtceu:sodium_hydroxide_solution 1000')
        .inputFluids('gtceu:sodium_carbonate_solution 1000')
        .outputFluids('gtceu:alkaline_complex_ore_slurry 1000')
        .duration(200)
        .EUt(1920)
    event.recipes.gtceu.centrifuge("zirkelite_dust_one_two")
        .itemInputs('1x gtceu:alkaline_slag_dust')
        .itemOutputs('6x gtceu:zircon_dust', '2x gtceu:rutile_dust', '6x gtceu:niobium_oxide_dust')
        .EUt(480)
        .duration(300)
    event.recipes.gtceu.centrifuge("alkaline_complex_ore_slurry")
        .inputFluids("gtceu:alkaline_complex_ore_slurry 1000")
        .itemOutputs('gtceu:caesium_hydroxide_dust', '3x gtceu:calcium_hydroxide_dust', '5x gtceu:pitchblende_dust')
        .chancedOutput('gtceu:strontium_chloride_dust', 1000, 100)
        .EUt(1920)
        .duration(300)
    event.recipes.gtceu.electrolyzer('gtceu:strontium_chloride_dust')
        .itemInputs('3x gtceu:strontium_chloride_dust')
        .itemOutputs('gtceu:strontium_dust')
        .outputFluids('gtceu:chlorine 2000')
        .EUt(6144)
        .duration(200)
    event.recipes.gtceu.assembler('gas_centrifuge')
        .itemInputs('gtceu:hv_centrifuge')
        .itemInputs('4x gtceu:clean_machine_casing')
        .itemInputs('2x gtceu:stainless_steel_turbine_blade')
        .itemOutputs('ctnhcore:gas_centrifuge')
        .EUt(480)
        .duration(100)
    event.recipes.gtceu.differential_centrifuge("alexscaves:acid")
        .inputFluids(Fluid.of("alexscaves:acid", 1000))
        .outputFluids(Fluid.of("minecraft:water", 500))
        .outputFluids(Fluid.of("gtceu:hydrochloric_acid", 250))
        .outputFluids(Fluid.of("gtceu:sulfuric_acid", 100))
        .outputFluids(Fluid.of("gtceu:phosphoric_acid", 150))
        .itemOutputs("2x gtceu:tiny_uranium_dust")
        .chancedOutput("gtceu:tiny_plutonium_dust", 2000, 500)
        .EUt(1920)
        .duration(160)
    event.recipes.gtceu.forge_hammer('hot_high_temp_wrought_precursor_ingot_fixed')
        .itemInputs('gtceu:hot_high_temp_wrought_precursor_ingot')
        .itemOutputs('gtceu:wrought_iron_ingot')
        .EUt(8)
        .duration(100)
    event.recipes.gtceu.fluid_solidifier('p_dust')
        .inputFluids('gtceu:phosphorus 144')
        .itemOutputs('gtceu:phosphorus_dust')
        .EUt(8)
        .duration(20)
    event.recipes.gtceu.chemical_reactor('wolframite')
        .itemInputs('7x gtceu:wolframite_dust', 'gtceu:calcium_dust')
        .itemOutputs('6x gtceu:scheelite_dust', 'gtceu:iron_dust', 'gtceu:manganese_dust')
        .duration(30)
        .EUt(24)
    event.recipes.gtceu.large_chemical_reactor('tarkianite_acid_leaching')
        .itemInputs('3x gtceu:rheniite_dust')
        .inputFluids('gtceu:nitric_acid 7000')
        .outputFluids('gtceu:perrhenic_acid 1000')
        .outputFluids('gtceu:sulfuric_acid 2000')
        .outputFluids("gtceu:nitrogen_dioxide 7000")
        .duration(450)
        .EUt(240)
    event.recipes.gtceu.chemical_reactor('direct_hydrogen_reduction')
        .inputFluids('gtceu:perrhenic_acid 1000')
        .inputFluids('gtceu:hydrogen 3500')
        .notConsumable('gtceu:platinum_dust')
        .itemOutputs('1x gtceu:rhenium_dust')
        .outputFluids("minecraft:water 4000")
        .duration(400)
        .EUt(480)
    event.recipes.gtceu.centrifuge("tarkianite_dust")
        .itemInputs('2x gtceu:tarkianite_dust')
        .itemOutputs('gtceu:rheniite_dust', 'gtceu:molybdenite_dust')
        .EUt(480)
        .duration(400)
    event.recipes.gtceu.electric_blast_furnace('ruthenium_amalgam')
        .itemInputs('3x gtceu:ruthenium_amalgam_dust')
        .itemOutputs('gtceu:ruthenium_dust')
        .outputFluids('gtceu:mercury 2000')
        .EUt(240)
        .duration(50)
        .blastFurnaceTemp(1700)
    event.recipes.gtceu.electrolyzer('osmium_iron_spinel_dust')
        .itemInputs('7x gtceu:osmium_iron_spinel_dust')
        .itemOutputs('10x gtceu:rarest_metal_mixture_dust', '2x gtceu:iron_dust')
        .outputFluids("gtceu:oxygen 4000")
        .duration(200)
        .EUt(1920)
        // event.recipes.gtceu.assembler('p2p_tunnel_one')
        //     .circuit(11)
        //     .inputFluids("gtceu:soldering_alloy 144")
        //     .itemInputs('gtceu:hv_machine_hull','2x #gtceu:circuits/hv','ae2:crafting_card','4x ae2:capacity_card','mae2:pattern_p2p_tunnel')
        //     .itemOutputs('mae2:pattern_multi_p2p_tunnel')
        //     .EUt(192)
        //     .duration(100)
        // event.recipes.gtceu.assembler('p2p_tunnel_two')
        //     .circuit(11)
        //     .inputFluids("gtceu:soldering_alloy 144")
        //     .itemInputs('gtceu:hv_machine_hull','2x #gtceu:circuits/hv','ae2:redstone_card','4x ae2:capacity_card','ae2:redstone_p2p_tunnel')
        //     .itemOutputs('mae2:redstone_multi_p2p_tunnel')
        //     .EUt(192)
        //     .duration(100)
        // event.recipes.gtceu.assembler('p2p_tunnel_three')
        //     .circuit(11)
        //     .inputFluids("gtceu:soldering_alloy 144")
        //     .itemInputs('gtceu:hv_machine_hull','2x #gtceu:circuits/hv','ae2:energy_card','4x ae2:capacity_card','ae2:fe_p2p_tunnel')
        //     .itemOutputs('mae2:fe_multi_p2p_tunnel')
        //     .EUt(192)
        //     .duration(100)
        // event.recipes.gtceu.assembler('p2p_tunnel_four')
        //     .circuit(11)
        //     .inputFluids("gtceu:soldering_alloy 144")
        //     .itemInputs('gtceu:hv_machine_hull','2x #gtceu:circuits/hv','ae2:void_card','4x ae2:capacity_card','ae2:fluid_p2p_tunnel')
        //     .itemOutputs('mae2:fluid_multi_p2p_tunnel')
        //     .EUt(192)
        //     .duration(100)
        // event.recipes.gtceu.assembler('p2p_tunnel_five')
        //     .circuit(11)
        //     .inputFluids("gtceu:soldering_alloy 144")
        //     .itemInputs('gtceu:hv_machine_hull','2x #gtceu:circuits/hv','ae2:equal_distribution_card','4x ae2:capacity_card','ae2:item_p2p_tunnel')
        //     .itemOutputs('mae2:item_multi_p2p_tunnel')
        //     .EUt(192)
        //     .duration(100)
        // event.recipes.gtceu.assembler('p2p_tunnel_six')
        //     .circuit(11)
        //     .inputFluids("gtceu:soldering_alloy 144")
        //     .itemInputs('gtceu:hv_machine_hull','2x #gtceu:circuits/hv','2x ae2:energy_card','4x ae2:capacity_card','mae2:eu_p2p_tunnel')
        //     .itemOutputs('mae2:eu_multi_p2p_tunnel')
        //    .EUt(192)
        //    .duration(100)
        //原版熔炉配方
    event.smelting('gtceu:hot_high_temp_wrought_precursor_ingot', 'minecraft:iron_ingot')
        .cookingTime(400)
        .xp(1.4);
    event.recipes.gtceu.chemical_bath("chocolate")
        .EUt(32)
        .itemInputs("create:bar_of_chocolate")
        .inputFluids(Fluid.of("minecraft:milk", 250))
        .itemOutputs('gtmfo:milk_chocolate')
        .duration(20)
});