ServerEvents.recipes(event => {
    let ctnh = event.recipes.gtceu
    event.recipes.gtceu.assembly_line("china")
        .itemInputs('4x gtceu:iv_voltage_coil')
        .itemInputs('32x gtceu:naquadah_foil')
        .itemInputs('16x gtceu:uhpic_chip')
        .itemInputs('4x gtceu:iv_electric_pump')
        .itemInputs('ctnhcore:exxonmobil_chemical_plant')
        .itemInputs('64x gtceu:cracker')
        .itemOutputs('ctnhcore:sinope_chemical')
        .EUt(32800)
        .duration(1440)
    event.recipes.gtceu.alloy_blast_smelter("man")
        .itemInputs('10x gtceu:lithium_dust')
        .itemInputs('10x gtceu:cobalt_dust')
        .itemInputs('10x gtceu:platinum_dust')
        .itemInputs('10x gtceu:erbium_dust')
        .inputFluids(Fluid.of('gtceu:pyrotheum', 1440))
        .inputFluids(Fluid.of('gtceu:helium', 1440))
        .outputFluids(Fluid.of("gtceu:shock_resistant_alloy", 2400))
        .EUt(2400)
        .duration(240)

    event.remove({ id: "sophisticatedbackpacks:stack_upgrade_omega_tier" })
    ctnh.fusion_reactor('americium_and_naquadria_to_neutronium_plasma')
        .outputFluids('gtceu:neutronium 256')
        .inputFluids('gtceu:naquadria 256')
        .inputFluids('gtceu:americium 256')
        .fusionStartEU(600000000)
        .duration(100)
        .EUt(32678 * 4)
        //强碱某些配方
        // ctnh.assembler("gtceu:assembler/mar_casing")
        //     .itemInputs('6x ctnhcore:plate_radiation_protection')
        //     .itemInputs('gtceu:zpm_field_generator')
        //     .itemInputs("gtceu:duranium_frame")
        //     .inputFluids("gtceu:enriched_naquadah 1120")
        //     .EUt(32678)
        //     .duration(240)
    event.recipes.gtceu.sinope('gtceu:thorium_232_dust')
        .itemOutputs('4x gtceu:thorium_232_dust')
        .itemOutputs('16x gtceu:small_thorium_dust')
        .itemInputs('32x gtceu:thorium_dust')
        .itemInputs('16x gtceu:borax_dust')
        .inputFluids(Fluid.of('gtceu:hydrochloric_acid', 1500))
        .circuit(1)
        .EUt(1920)
        .duration(6000)
    event.recipes.gtceu.assembly_line('ctnhcore:neutronium_alloy_casing_block')
        .itemOutputs('ctnhcore:neutronium_alloy_casing_block')
        .itemInputs('gtceu:zpm_robot_arm')
        .itemInputs('gtceu:zpm_electric_piston')
        .itemInputs('2x gtceu:zpm_electric_motor')
        .itemInputs('2x #gtceu:circuits/uv')
        .itemInputs('1x #gtceu:circuits/uhv')
        .itemInputs('ctnhcore:naquadah_casing_block')
        .itemInputs('2x gtceu:double_bedrock_neutronium_plate')
        .itemInputs('8x gtceu:dense_darmstadtium_plate')
        .inputFluids('gtceu:aether 1280')
        .inputFluids('gtceu:naquadria 1280')
        .stationResearch(b => b.researchStack(Item.of('ctnhcore:naquadah_casing_block'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.ZPM])
            .CWUt(48))
        .EUt(32678 * 16)
        .duration(20 * 40)
    event.recipes.gtceu.assembly_line('ctnhcore:plasma_alloy_blast_smelter')
        .inputFluids('gtceu:iron_plasma 12800')
        .inputFluids('gtceu:helium_plasma 12800')
        .itemInputs('64x gtceu:alloy_blast_smelter')
        .itemInputs('64x gtceu:multi_smelter')
        .itemInputs('64x gtceu:mega_blast_furnace')
        .itemInputs('64x ctnhcore:super_ebf')
        .itemInputs('64x #gtceu:circuits/uv')
        .itemInputs('64x gtceu:double_bedrock_neutronium_plate')
        .itemInputs('16x gtceu:tritanium_gear')
        .itemInputs('16x gtceu:naquadria_frame')
        .itemOutputs('ctnhcore:plasma_alloy_blast_smelter')
        .stationResearch(b => b.researchStack(Item.of('gtceu:mega_blast_furnace'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.UV])
            .CWUt(64))
        .EUt(32678 * 32)
        .duration(20 * 200)
    event.recipes.gtceu.electrolyzer('naalf')
        .itemInputs('10x gtceu:cryolite_dust')
        .itemOutputs('3x gtceu:sodium_dust')
        .itemOutputs('gtceu:aluminium_dust')
        .outputFluids('gtceu:fluorine 6000')
        .circuit(19)
        .EUt(512)
        .duration(20 * 40)
    event.recipes.gtceu.decay_pools('naalf')
        .itemInputs('1000x gtceu:cryolite_dust')
        .circuit(24)
        .itemOutputs('50x gtceu:sodium22_dust')
        .outputFluids('gtceu:magnesium 1000')
        .outputFluids('gtceu:magnalium 10000')
        .duration(20 * 36000)
    event.shaped(
        Item.of('gtceu:assembly_line_casing', 1), [
            "ABA",
            "ACA",
            "ABA"
        ], {
            A: '#gtceu:circuits/zpm',
            B: '#gtceu:circuits/luv',
            C: 'gtceu:tungsten_steel_frame',
        })
    event.shaped(
        Item.of('gtceu:assembly_line_unit', 1), [
            "BAB",
            "ACA",
            "BAB"
        ], {
            A: 'gtceu:iv_robot_arm',
            B: 'gtceu:ruridit_gear',
            C: '#gtceu:circuits/zpm',
        })
    event.recipes.gtceu.assembler('gtceu:assembly_line_casing_1')
        .itemOutputs('8x gtceu:assembly_line_casing')
        .itemInputs('8x #gtceu:circuits/luv')
        .itemInputs('8x #gtceu:circuits/uv')
        .itemInputs('8x gtceu:tungsten_steel_frame')
        .circuit(1)
        .EUt(8192)
        .duration(20 * 160)
    event.recipes.gtceu.assembler('gtceu:assembly_line_casing_2')
        .itemOutputs('gtceu:assembly_line_casing')
        .itemInputs('6x #gtceu:circuits/zpm')
        .itemInputs('2x #gtceu:circuits/luv')
        .itemInputs('gtceu:tungsten_steel_frame')
        .circuit(2)
        .EUt(8192)
        .duration(20 * 20)
    event.recipes.gtceu.assembler('gtceu:assembly_line_unit_1')
        .itemOutputs('4x gtceu:assembly_line_unit')
        .itemInputs('4x gtceu:luv_robot_arm')
        .itemInputs('12x gtceu:ruridit_gear')
        .itemInputs('4x #gtceu:circuits/luv')
        .circuit(1)
        .EUt(8192)
        .duration(20 * 120)
    event.recipes.gtceu.assembler('gtceu:assembly_line_unit_2')
        .itemOutputs('gtceu:assembly_line_unit')
        .itemInputs('4x gtceu:iv_robot_arm')
        .itemInputs('4x gtceu:ruridit_gear')
        .itemInputs('1x #gtceu:circuits/zpm')
        .circuit(2)
        .EUt(8192)
        .duration(20 * 20)
        // event.recipes.gtceu.assembly_line("oh_my_update")
        //     .itemInputs('114x functionalstorage:netherite_upgrade')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('bigger_ae2:digital_singularity_cell_component')
        //     .itemInputs('514x sophisticatedbackpacks:stack_upgrade_tier_4')
        //     .inputFluids('gtceu:ancient_debris_leach 1919000')
        //     .inputFluids('gtceu:shock_resistant_alloy 810000')
        //     .itemOutputs('sophisticatedbackpacks:stack_upgrade_omega_tier')
        //     .EUt(114514)
        //     .duration(1919810)

    ctnh.electrolyzer("decomposition_electrolyzing_ammonium_chloride")
        .itemInputs('2x gtceu:ammonium_chloride_dust')
        .outputFluids('gtceu:hydrochloric_acid 144')
        .outputFluids('gtceu:ammonia 144')
        .EUt(25)
        .duration(20)
    ctnh.assembler('ctnhcore:cryotheum_freezer')
        .itemOutputs('ctnhcore:cryotheum_freezer')
        .itemInputs('4x #gtceu:circuits/zpm')
        .itemInputs('64x gtceu:cryotheum_dust')
        .itemInputs('ctnhcore:supercooled_bloock')
        .itemInputs('ctnhcore:super_machine_casing_frost_proof')
        .itemInputs('6x gtceu:iv_electric_pump')
        .itemInputs('12x gtceu:hssg_single_cable')
        .inputFluids('gtceu:pcb_coolant 10000')
        .duration(1000)
        .EUt(8192)
    ctnh.vacuum_freezer('ctnhcore:super_machine_casing_frost_proof')
        .itemOutputs('ctnhcore:super_machine_casing_frost_proof')
        .itemInputs('gtceu:frostproof_machine_casing')
        .inputFluids('gtceu:cryotheum 5000')
        .inputFluids('gtceu:pcb_coolant 5000')
        .duration(100)
        .EUt(8192)
    ctnh.mixer('gtceu:cadmium_sulfide_dust')
        .itemOutputs('2x gtceu:cadmium_sulfide_dust')
        .itemInputs('gtceu:cadmium_dust')
        .itemInputs('gtceu:sulfur_dust')
        .duration(100)
        .EUt(10)
    ctnh.assembler('ctnhcore:research_dataset')
        .itemOutputs('ctnhcore:research_dataset')
        .itemInputs('gtceu:data_orb')
        .itemInputs('gtceu:data_stick')
        .itemInputs('minecraft:paper')
        .duration(20)
        .EUt(10)
        // ctnh.cultivation_room("gtceu:living_metal_pre")
        //     .inputFluids('gtceu:soldering_alloy 40000')
        //     .inputFluids('gtceu:quantum_alloy 288')
        //     .itemInputs('4x gtceu:ruthenium_trinium_americium_neutronate_quadruple_wire')
        //     .itemInputs('4x gtceu:taranium_powder_dust')
        //     .itemInputs('gtceu:zpm_electric_pump')
        //     .outputFluids('gtceu:living_metal_pre 4000')
        //     .EUt(32768 * 4 * 4 * 4 * 4)
        //     .duration(50 * 20)
        // ctnh.cultivation_room("gtceu:living_metal")
        //     .outputFluids("gtceu:living_metal 8000")
        //     .outputFluids('gtceu:naquadah_based_liquid_fuel_depleted 1000')
        //     .notConsumable('ctnhcore:research_dataset_lm')
        //     .inputFluids('gtceu:living_metal_pre 8000')
        //     .inputFluids('gtceu:charged_silica_rock_based_fluid_fuel_mk_iii 100')
        //     .itemInputs('#gtceu:circuits/uhv')
        //     .itemInputs('4x gtceu:long_radiation_sight_alloy_inf_rod')
        //     .EUt(32768 * 4 * 4 * 4 * 4)
        //     .duration(50 * 20)
        // ctnh.cultivation_room("gtceu:living_metal_2")
        //     .outputFluids("gtceu:living_metal 8000")
        //     .outputFluids('gtceu:plutonium_based_liquid_fuel_depleted 1500')
        //     .notConsumable('ctnhcore:research_dataset_lm')
        //     .inputFluids('gtceu:living_metal_pre 8000')
        //     .inputFluids('gtceu:taranliquidfuel_l 500')
        //     .inputFluids('gtceu:taranliquidfuel_m 500')
        //     .itemInputs('#gtceu:circuits/uhv')
        //     .itemInputs('4x gtceu:long_radiation_sight_alloy_inf_rod')
        //     .EUt(32768 * 4 * 4 * 4 * 4)
        //     .duration(300 * 20)
    ctnh.assembler('ctnhcore:ultimate_combustion_engine')
        .itemOutputs('ctnhcore:ultimate_combustion_engine')
        .itemInputs('12x gtceu:luv_electric_piston')
        .itemInputs('12x gtceu:luv_electric_pump')
        .itemInputs('8x gtceu:extreme_combustion_engine')
        .itemInputs('2x #gtceu:circuits/uv')
        .EUt(32768 * 4)
        .duration(120)
    ctnh.fuel_refining("end_of_oil")
        .itemInputs('4x gtceu:trinium_dust')
        .inputFluids('gtceu:naquadah_based_liquid_fuel_excited 25')
        .inputFluids('gtceu:high_octane_gasoline 10000')
        .outputFluids('gtceu:nq_end_gasoline 20000')
        .EUt(23678 * 4)
        .duration(60).blastFurnaceTemp(7200)
        // ctnh.assembler('ctnhcore:mana_assembler')
        //     .itemOutputs('ctnhmana:mana_assembler')
        //     .itemInputs('6x #gtceu:circuits/luv')
        //     .itemInputs('16x gtceu:alfsteel_gear')
        //     .itemInputs('8x gtceu:ev_robot_arm')
        //     .itemInputs('4x gtceu:ev_circuit_assembler')
        //     .inputFluids('gtceu:mana_stable_cooldown 1000')
        //     .EUt(8192 / 4)
        //     .duration(100)
    ctnh.silica_rock_fuel_refinery('gtceu:compressed_aether_plasma_1')
        .outputFluids('gtceu:compressed_aether_plasma 4000')
        .inputFluids('gtceu:charged_silica_rock_based_fluid_fuel_mk_i 100')
        .inputFluids('gtceu:aether_plasma 4000')
        .duration(100)
        .EUt(32768 * 4)
    ctnh.silica_rock_fuel_refinery('gtceu:compressed_aether_plasma_2')
        .outputFluids('gtceu:compressed_aether_plasma 6000')
        .inputFluids('gtceu:charged_silica_rock_based_fluid_fuel_mk_ii 50')
        .inputFluids('gtceu:aether_plasma 4000')
        .duration(25)
        .EUt(32768 * 4 * 4)
    ctnh.silica_rock_fuel_refinery('gtceu:compressed_aether_plasma_3')
        .outputFluids('gtceu:compressed_aether_plasma 8000')
        .inputFluids('gtceu:charged_silica_rock_based_fluid_fuel_mk_iii 25')
        .inputFluids('gtceu:aether_plasma 4000')
        .duration(25)
        .EUt(32768 * 4 * 4)
    ctnh.assembly_line('kubejs:strongly_interacting_neutron_refector')
        .itemOutputs('kubejs:strongly_interacting_neutron_refector')
        .itemInputs('8x gtceu:neutron_reflector')
        .itemInputs('8x gtceu:double_bedrock_neutronium_plate')
        .itemInputs('8x gtceu:naquadria_plate')
        .itemInputs('8x ctnhcore:plate_radiation_protection')
        .inputFluids('gtceu:molten_naquadah_alloy 1024')
        .inputFluids('gtceu:lubricant 1024')
        .EUt(114514)
        .duration(1000)
        .stationResearch(b => b.researchStack(Item.of('gtceu:dense_iridium_plate'))
            .dataStack(Item.of("gtceu:data_orb"))
            .EUt(GTValues.VA[GTValues.UV])
            .CWUt(48))
    ctnh.assembly_line("ctnhcore:uhv_fluid_drilling_inf")
        .itemInputs('16x gtceu:aether_plate')
        .itemInputs("8x ctnhcore:neutronium_alloy_casing_block")
        .itemInputs('4x kubejs:strongly_interacting_neutron_refector')
        .itemInputs('4x #gtceu:circuits/uev')
        .itemInputs('gtceu:uhv_quantum_tank')
        .inputFluids("gtceu:bedrock_neutronium 16000")
        .inputFluids("gtceu:living_metal 4000")
        .itemOutputs("ctnhcore:uhv_fluid_drilling_inf")
        .itemInputs('16x gtceu:uhv_electric_pump')
        .itemInputs('8x gtceu:uhv_electric_piston')
        .EUt(GTValues.VA[GTValues.UEV])
        .duration(100 * 20)
        .stationResearch(b => b.researchStack(Item.of('gtceu:ev_fluid_drilling_rig'))
            .dataStack(Item.of("gtceu:data_data"))
            .EUt(GTValues.VA[GTValues.UHV])
            .CWUt(64))
        //    ctnh.assembly_line('ctnhcore:inf_large_miner')
        //        .itemOutputs('ctnhcore:inf_large_miner')
        //        .itemInputs('16x gtceu:aether_plate')
        //        .itemInputs("8x ctnhcore:neutronium_alloy_casing_block")
        //        .itemInputs('4x kubejs:strongly_interacting_neutron_refector')
        //        .itemInputs('gtceu:neutronium_drill_head')
        //        .itemInputs('gtceu:uhv_quantum_chest')
        //        .itemInputs('4x #gtceu:circuits/uev')
        //        .itemInputs('8x gtceu:uhv_electric_piston')
        //        .itemInputs('8x gtceu:uhv_electric_motor')
        //        .inputFluids("gtceu:bedrock_neutronium 16000")
        //        .inputFluids("gtceu:living_metal 4000")
        //        .EUt(GTValues.VA[GTValues.UEV])
        //        .duration(100 * 20)
        //        .stationResearch(b => b.researchStack(Item.of('gtceu:luv_large_miner'))
        //            .dataStack(Item.of("gtceu:data_data"))
        //            .EUt(GTValues.VA[GTValues.UHV])
        //            .CWUt(64))



})