ServerEvents.recipes(event =>{
    //根据物品输出删除配方
    const remove_by_output = [
        'ae2:certus_quartz_pickaxe',
        'ae2:fluix_pickaxe',
        'ae2:certus_quartz_crystal',
        'ae2:fluix_crystal',
        'minecraft:yellow_dye',
        'minecraft:black_dye',
        'minecraft:light_blue_dye',
        'ae2:sky_stone_block',
        'realmofdestiny:pedestal',
        'minecraft:purple_dye',
        'minecraft:light_blue_dye',
        'ae2:condenser',
        'minecraft:gold_nugget',
        'minecraft:white_dye',
        'ars_nouveau:water_essence',
        'ars_nouveau:sourcestone',
        'ifeu:fluid_crafting_table',
        'ae2:charger',
        'ae2:crystal_resonance_generator',
        'aeinfinitybooster:infinity_card',
        'ae2:io_port',
        'ae2:me_p2p_tunnel',
        'expatternprovider:active_formation_plane',
        'ae2:conversion_monitor',
        'ae2:inverted_toggle_bus',
        'ae2:crafting_terminal',
        'ae2:storage_bus',
        'ae2:storage_monitor',
        'ae2:interface',
        'ae2:controller',
        'ae2:wireless_access_point',
        'expatternprovider:wireless_connect',
        'expatternprovider:wireless_tool',
        'ae2:pattern_provider',
        'ae2:pattern_access_terminal',
        'ae2:molecular_assembler',
        'ae2:growth_accelerator',
        'ae2:drive',
        'ae2:export_bus',
        'ae2:import_bus',
        'ae2:toggle_bus',
        'ae2:chest',
        'ae2:annihilation_plane',
        'ae2:pattern_encoding_terminal',
        'ae2:creative_energy_cell',
        'ae2:crafting_unit',
        'ae2:crafting_monitor',
        'ae2:quartz_fiber',
        'ae2:fluix_glass_cable',
        'ae2:spatial_io_port',
        'ae2:spatial_pylon',
        'ae2:spatial_anchor',
        'ae2:dense_energy_cell',
        'ae2:energy_acceptor',
        'ae2:cable_anchor',
        'advanced_ae:throughput_monitor_configurator',
        'ae2:item_cell_housing',
        'minecraft:bone_meal',
        'minecraft:green_dye',
        '#forge:chests',
        /.*:.*_chest_boat/,
        'minecraft:chest_minecart',
        'minecraft:barrel',
        'createutilities:void_chest',
        'mekanism:personal_chest',
        'ae2:sky_stone_chest',
        'ae2:smooth_sky_stone_chest',
        'advanced_ae:throughput_monitor',
        'throughput_quest:throughput_detection_monitor',
        'ae2:formation_plane',
        'ae2:blank_pattern',
        'functionalstorage:oak_1',
        'functionalstorage:oak_2',
        'functionalstorage:oak_4',
        "/botanypots:.*\_terracotta_botany_pot/",
        "/botanypots:.*\_terracotta_hopper_botany_pot/",
        "/botanypots:.*\_concrete_botany_pot/",
        "/botanypots:.*\_concrete_hopper_botany_pot/",
        'industrialforegoing:dissolution_chamber',
        'actuallyadditions:black_quartz',
        'actuallyadditions:lava_factory_casing',
        'actuallyadditions:iron_casing',
        'thermal:machine_press',
        'thermal:press_packing_2x2_die',
        'thermal:press_unpacking_die',
        'mekanism:basic_fluid_tank',
        '#forge:plates/iron',
        '#forge:plates/gold',
        'functionalstorage:fluid_1',
        'functionalstorage:fluid_2',
        'functionalstorage:fluid_4',
        'industrialforegoing:fluid_placer',
        'functionalstorage:collector_upgrade',
        'functionalstorage:linking_tool',
        'functionalstorage:configuration_tool',
        'mekanism:basic_universal_cable',
        'create:andesite_funnel',
        'minecraft:tnt',
        'ars_nouveau:conjuration_essence',
        'ars_nouveau:abjuration_essence',
        'ars_nouveau:earth_essence',
        'ars_nouveau:air_essence',
        'ars_nouveau:fire_essence',
        'ars_nouveau:manipulation_essence',
        'ars_nouveau:purple_archwood_sapling',
        'ars_nouveau:source_jar',
        'mekanism:bio_fuel',
        'minecraft:dirt',
        'ars_nouveau:magebloom_crop',
        'powah:dielectric_paste',
        /ars_nouveau:.*_sourcelink/,
        'ironfurnaces:copper_furnace',
        'ironfurnaces:silver_furnace',
        'createaddition:straw',
        'ifeu:infuser',
        'cagedmobs:hopping_mob_cage',
        'cagedmobs:mob_cage',
        "projecte:alchemical_chest",
		"projecte:alchemical_coal_block",
		"projecte:mobius_fuel_block",
		"projecte:aeternalis_fuel_block",
		"projecte:collector_mk1",
		"projecte:collector_mk2",
		"projecte:collector_mk3",
		"projecte:condenser_mk1",
		"projecte:condenser_mk2",
		"projecte:dm_pedestal",
		"projecte:dm_furnace",
		"projecte:rm_furnace",
		"projecte:dark_matter_block",
		"projecte:red_matter_block",
		"projecte:interdiction_torch",
		"projecte:nova_catalyst",
		"projecte:nova_cataclysm",
		"projecte:transmutation_table",
		"projecte:relay_mk1",
		"projecte:relay_mk2",
		"projecte:relay_mk3",
		"projecte:philosophers_stone",
		"projecte:repair_talisman",
		"projecte:low_covalence_dust",
		"projecte:medium_covalence_dust",
		"projecte:high_covalence_dust",
		"projecte:white_alchemical_bag",
		"projecte:orange_alchemical_bag",
		"projecte:magenta_alchemical_bag",
		"projecte:light_blue_alchemical_bag",
		"projecte:yellow_alchemical_bag",
		"projecte:lime_alchemical_bag",
		"projecte:pink_alchemical_bag",
		"projecte:gray_alchemical_bag",
		"projecte:light_gray_alchemical_bag",
		"projecte:cyan_alchemical_bag",
		"projecte:purple_alchemical_bag",
		"projecte:blue_alchemical_bag",
		"projecte:brown_alchemical_bag",
		"projecte:green_alchemical_bag",
		"projecte:red_alchemical_bag",
		"projecte:black_alchemical_bag",
		"projecte:klein_star_ein",
		"projecte:klein_star_zwei",
		"projecte:klein_star_drei",
		"projecte:klein_star_vier",
		"projecte:klein_star_sphere",
		"projecte:klein_star_omega",
		"projecte:alchemical_coal",
		"projecte:mobius_fuel",
		"projecte:aeternalis_fuel",
		"projecte:dark_matter",
		"projecte:red_matter",
		"projecte:dm_pick",
		"projecte:dm_axe",
		"projecte:dm_shovel",
		"projecte:dm_sword",
		"projecte:dm_hoe",
		"projecte:dm_shears",
		"projecte:dm_hammer",
		"projecte:rm_pick",
		"projecte:rm_axe",
		"projecte:rm_shovel",
		"projecte:rm_sword",
		"projecte:rm_hoe",
		"projecte:rm_shears",
		"projecte:rm_hammer",
		"projecte:rm_katar",
		"projecte:rm_morning_star",
		"projecte:dm_helmet",
		"projecte:dm_chestplate",
		"projecte:dm_leggings",
		"projecte:dm_boots",
		"projecte:rm_helmet",
		"projecte:rm_chestplate",
		"projecte:rm_leggings",
		"projecte:rm_boots",
		"projecte:gem_helmet",
		"projecte:gem_chestplate",
		"projecte:gem_leggings",
		"projecte:gem_boots",
		"projecte:iron_band",
		"projecte:black_hole_band",
		"projecte:archangel_smite",
		"projecte:harvest_goddess_band",
		"projecte:ignition_ring",
		"projecte:zero_ring",
		"projecte:swiftwolf_rending_gale",
		"projecte:watch_of_flowing_time",
		"projecte:evertide_amulet",
		"projecte:volcanite_amulet",
		"projecte:gem_of_eternal_density",
		"projecte:mercurial_eye",
		"projecte:void_ring",
		"projecte:arcana_ring",
		"projecte:body_stone",
		"projecte:soul_stone",
		"projecte:mind_stone",
		"projecte:life_stone",
		"projecte:divining_rod_1",
		"projecte:divining_rod_2",
		"projecte:divining_rod_3",
		"projecte:destruction_catalyst",
		"projecte:hyperkinetic_lens",
		"projecte:catalytic_lens",
		"projecte:tome",
		"projecte:transmutation_tablet",
        'minecraft:lime_dye',
        'minecraft:red_dye',
        'industrialforegoing:dye_mixer',
        'mekanism:combiner',
        'mekanism:basic_tier_installer',
        'mekanismcovers:empty_cover',
        'ae2:memory_card',
        'starbunclemania:fluid_sourcelink',
        'starbunclemania:source_condenser',
        'arseng:me_source_jar',
        'createaddition:electric_motor',
        'ifeu:precision_crafting_table',
        'ars_nouveau:glyph_crush',
        'createoreexcavation:drilling_machine',
        'thermal:copper_dust',
        'thermal:iron_dust',
        'alltheores:brass_dust',
        'createoreexcavation:drill',
        'ifeu:chance_addon_1',
        'alltheores:brass_gear',
        'thermal:press_gear_die',
        'ars_nouveau:glyph_sensitive',
        'mekanism:dust_obsidian',
        'thermal:obsidian_glass',
        'minecraft:glass',
        'hostilenetworks:sim_chamber',
        'create:encased_fan',
        'thermal:blizz_powder',
        'thermal:enderium_dust',
        'thermal:lumium_dust',
        'thermal:lumium_glass',
        'mekanism:advanced_tier_installer',
        'mekanism:crusher',
        'hostilenetworks:prediction_matrix',
        'mekanism:upgrade_speed',
        'mekanism:upgrade_energy',
        'thermal:diamond_dust',
        'create:deployer',
        'thermal:diamond_gear',
        'alltheores:diamond_plate',
        'ifeu:chance_addon_2',
        'minecraft:diorite',
        'minecraft:pumpkin_seeds',
        'industrialforegoing:machine_frame_pity',
        'industrialforegoing:block_placer',
        'industrialforegoing:block_breaker',
        'thermal:machine_smelter',
        'thermal:gold_dust',
        'minecraft:glowstone',
        'minecraft:blaze_rod',
        'minecraft:ender_pearl',
        'minecraft:blaze_powder',
        'minecraft:ender_eye',
        'mekanism_extras:upgrade_stack',
        'ironfurnaces:diamond_furnace',
        "modularrouters:blank_module",
		"modularrouters:blank_upgrade",
		"modularrouters:override_card",
		"modularrouters:augment_core",
		"modularrouters:activator_module",
		"modularrouters:breaker_module",
		"modularrouters:creative_module",
		"modularrouters:detector_module",
		"modularrouters:distributor_module",
		"modularrouters:dropper_module",
		"modularrouters:energy_distributor_module",
		"modularrouters:energy_output_module",
		"modularrouters:extruder_module_1",
		"modularrouters:extruder_module_2",
		"modularrouters:flinger_module",
		"modularrouters:fluid_module",
		"modularrouters:fluid_module_2",
		"modularrouters:placer_module",
		"modularrouters:player_module",
		"modularrouters:puller_module_1",
		"modularrouters:puller_module_2",
		"modularrouters:sender_module_1",
		"modularrouters:sender_module_2",
		"modularrouters:sender_module_3",
		"modularrouters:vacuum_module",
		"modularrouters:void_module",
		"modularrouters:blast_upgrade",
		"modularrouters:camouflage_upgrade",
		"modularrouters:energy_upgrade",
		"modularrouters:fluid_upgrade",
		"modularrouters:muffler_upgrade",
		"modularrouters:security_upgrade",
		"modularrouters:speed_upgrade",
		"modularrouters:stack_upgrade",
		"modularrouters:sync_upgrade",
		"modularrouters:fast_pickup_augment",
		"modularrouters:filter_round_robin_augment",
		"modularrouters:mimic_augment",
		"modularrouters:pickup_delay_augment",
		"modularrouters:pushing_augment",
		"modularrouters:range_down_augment",
		"modularrouters:range_up_augment",
		"modularrouters:redstone_augment",
		"modularrouters:regulator_augment",
		"modularrouters:stack_augment",
		"modularrouters:xp_vacuum_augment",
		"modularrouters:bulk_item_filter",
		"modularrouters:inspection_filter",
		"modularrouters:mod_filter",
		"modularrouters:regex_filter",
		"modularrouters:tag_filter",
		"modularrouters:modular_router",
        'mekanism:enrichment_chamber',
        'ars_nouveau:archmage_spell_book',
        'ae2:fluid_cell_housing',
        'ars_nouveau:dominion_wand',
        'ars_nouveau:relay_splitter',
        'ars_nouveau:relay_warp',
        'thermal:redstone_servo',
        'thermal:device_rock_gen',
        'industrialforegoing:machine_frame_simple',
        'thermal:machine_frame',
        'mekanism:metallurgic_infuser',
        'mekanism:atomic_disassembler',
        'mekanism:energy_tablet',
        'cagedmobs:looting_upgrade',
        'thermal:rf_coil',
        'thermal:machine_crucible',
        'powah:blazing_crystal_block',
        'ars_nouveau:enchanting_apparatus',
        'ars_nouveau:arcane_core',
        'thermal:tin_dust',
        'ars_nouveau:magebloom_block',
        'industrialforegoing:fluid_extractor',
        'industrialforegoing:plastic',
        'ifeu:empty_nether_star',
        'powah:thermo_generator_starter',
        'powah:dielectric_casing',
        'powah:energizing_rod_starter',
        'powah:energizing_orb',
        'mekanism:pigment_extractor',
        'industrialforegoing:fluid_laser_base',
        'industrialforegoing:laser_drill',
        'mekanism:painting_machine',
        'ifeu:hydroponic_simulation_processor',
        'industrialforegoing:hydroponic_bed',
        'ifeu:simulated_hydroponic_bed',
        'minecraft:comparator',
        'ae2:cell_workbench',
        'mekanism:enriched_diamond',
        'rechiseled:chisel',
        'minecraft:scaffolding',
        'create:electron_tube',
        'experienceobelisk:cognitive_flux',
        'laserio:logic_chip',
        'ironfurnaces:netherite_furnace',
        'ironfurnaces:rainbow_plating',
        'mekanism:elite_tier_installer',
        'mekanismgenerators:fission_reactor_casing',
        'mekanismgenerators:control_rod_assembly',
        'mekanismgenerators:fission_fuel_assembly',
        'mekanismgenerators:fission_reactor_port',
        'mekanism:personal_barrel',
        'mekanism:chemical_oxidizer',
        'mekanism:reprocessed_fissile_fragment',
        'appflux:fe_cell_housing',
        'mekanism:thermal_evaporation_block',
        'createcasing:chorium_ingot',
        'mekanism_extras:infinite_tier_installer',
        'arseng:source_cell_housing',
        'minecraft:crying_obsidian',
        'createutilities:void_motor',
        'createutilities:void_steel_ingot',
        'ars_nouveau:timer_spell_turret',
        'ars_nouveau:spell_turret',
        'powah:thermo_generator_basic',
        'ae2:crafting_accelerator'
    ]

    //根据配方id删除配方
    const remove_by_id = [
        'realmofdestiny:pedestal_generator/dirt',
        'realmofdestiny:pedestal_generator/cobblestone',
        'hostilenetworks:living_matter/hellish/gold_ingot',
        'mekanism:processing/gold/ingot/from_dust_blasting',
        'alltheores:gold_ingot_from_dust_blasting',
        'thermal:smelting/gold_ingot_from_dust_blasting',
        'minecraft:gold_ingot_from_blasting_raw_gold',
        'minecraft:gold_ingot_from_blasting_nether_gold_ore',
        'minecraft:gold_ingot_from_blasting_gold_ore',
        'create:blasting/gold_ingot_from_crushed',
        'minecraft:gold_ingot_from_blasting_deepslate_gold_ore',
        'minecraft:gold_ingot_from_smelting_deepslate_gold_ore',
        'create:smelting/gold_ingot_from_crushed',
        'mekanism:processing/gold/ingot/from_dust_smelting',
        'minecraft:gold_ingot_from_smelting_raw_gold',
        'minecraft:gold_ingot_from_smelting_gold_ore',
        'alltheores:gold_ingot_from_dust',
        'minecraft:gold_ingot_from_smelting_nether_gold_ore',
        'thermal:smelting/gold_ingot_from_dust_smelting',
        'thermal:machines/smelter/smelter_gold_dust',
        'thermal:machines/smelter/smelter_gold_dust',
        'thermal:machines/smelter/smelter_copper_ore',
        'thermal:machines/smelter/smelter_raw_gold',
        'thermal:machines/smelter/smelter_gold_ore',
        'quark:tweaks/blasting/raw_gold_block_blast',
        'quark:tweaks/blasting/raw_gold_bricks_blast',
        'quark:tweaks/smelting/raw_gold_bricks_smelt',
        'quark:tweaks/smelting/raw_gold_block_smelt',
        'minecraft:bucket',
        /ae2:tools\/paintballs_.*/,
        'minecraft:glass',
        'ars_nouveau:crush_sandstone_to_sand',
        'ars_nouveau:crush_gravel',
        'create:crushing/gravel',
        'create:milling/sandstone',
        'create:milling/sandstone',
        'mekanism:crushing/gravel_to_sand',
        'mekanism:crushing/sandstone_to_sand',
        'thermal:machines/press/unpacking/press_sandstone_unpacking',
        'thermal:machines/pulverizer/pulverizer_gravel',
        'thermal:machines/pulverizer/pulverizer_cobblestone',
        'thermal:machines/pulverizer/pulverizer_sandstone',
        'thermal:machines/pulverizer/pulverizer_sandstone_slab',
        'minecraft:gold_ingot_from_nuggets',
        'thermal:machines/press/packing3x3/press_gold_nugget_packing',
        'thermal:machines/smelter/smelter_gold_plate_to_ingot',
        'thermal:machines/smelter/smelter_gold_armor',
        'thermal:machines/smelter/smelter_gold_tools',
        'expatternprovider:water_cell',
        'ae2:decorative/quartz_block',
        'ae2:smelting/smooth_sky_stone_block',
        'ae2:decorative/fluix_block',
        'quark:tweaks/blasting/raw_iron_block_blast',
        'quark:tweaks/blasting/raw_iron_bricks_blast',
        'quark:tweaks/smelting/raw_iron_block_smelt',
        'quark:tweaks/smelting/raw_iron_bricks_smelt',
        'thermal:machines/press/packing3x3/press_iron_packing',
        'thermal:furnace_767304216',
        'thermal:furnace_677360677',
        'actuallyadditions:basic_coil',
        /thermal:machines\/press\/.*/,
        /thermalendergy:machine\/press\/.*/,
        "quark:tweaks/crafting/slab_to_block",
        'mekanism:compat/ae2/decorative/certus_quartz/crushing/pillar_to_block',
        'mekanism:compat/ae2/decorative/certus_quartz/enriching/chiseled_block_to_block',
        'quark:tweaks/crafting/slab_to_block',
        'ae2:entropy/cool/stone_cobblestone',
        'create:milling/andesite',
        'mekanism:crushing/stone/to_cobblestone',
        'mekanism:enriching/conversion/mossy/cobblestone',
        'thermal:machines/pulverizer/pulverizer_andesite',
        'thermal:machines/pulverizer/pulverizer_granite',
        'thermal:machines/pulverizer/pulverizer_diorite',
        'create:crafting/materials/andesite_alloy',
        'create:crafting/materials/andesite_alloy_from_zinc',
        'create:mixing/andesite_alloy',
        'create:mixing/andesite_alloy_from_zinc',
        'ars_nouveau:magebloom_fiber',
        'starbunclemania:fluid/create_choco_to_source',
        'starbunclemania:fluid/milk_to_source',
        'starbunclemania:fluid/lava_to_source',
        'starbunclemania:fluid/create_honey_to_source',
        'ars_nouveau:imbuement_amethyst',
        'ars_nouveau:imbuement_lapis',
        'ars_nouveau:imbuement_amethyst_block',
        'minecraft:shears',
        'mekanism:injecting/terracotta_to_clay',
        'mekanism:enriching/conversion/mud/to_clay',
        'ifeu:infuser/mud_clay',
        'mekanism:injecting/brick_to_clay_ball',
        'create:milling/clay',
        'create:milling/dripstone_block',
        'create:splashing/sand',
        'create:splashing/crushed_raw_copperee',
        'createsifter:sifting/dirt_string_mesh_waterlogged',
        'create:crushing/diamond_horse_armor',
        'create:crushing/wool',
        'create:crushing/iron_horse_armor',
        'create:milling/wool',
        'mekanism:crushing/wool_to_string',
        'mekanism:enriching/string',
        'ars_nouveau:arcane_pedestal',
        'thermal:machines/smelter/smelter_redstone_ore',
        'thermal:machines/pulverizer/pulverizer_redstone_ore',
        'thermal:furnace_696205463',
        'mekanism:sawing/note_block',
        'mekanism:sawing/redstone_torch',
        'mekanism:processing/redstone/from_ore',
        'minecraft:redstone_from_smelting_redstone_ore',
        'minecraft:redstone_from_smelting_deepslate_redstone_ore',
        'create:filling/redstone',
        'createoreexcavation:milling/redstone_milling',
        'create:splashing/crushed_raw_iron',
        'minecraft:redstone_from_blasting_redstone_ore',
        'minecraft:redstone_from_blasting_deepslate_redstone_ore',
        'create:crushing/redstone_ore',
        'create:crushing/deepslate_redstone_ore',
        'createoreexcavation:crushing/redstone_crushing',
        'minecraft:redstone_from_smelting_redstone_ore',
        'minecraft:redstone_from_smelting_deepslate_redstone_ore',
        'actuallyadditions:crushing/redstone_ore',
        'thermal:furnace_370808105',
        'createaddition:mixing/netherrack',
        'create:mixing/lava_from_cobble',
        'thermal:machines/crucible/crucible_cobblestone_to_lava',
        'thermal:machines/crucible/crucible_obsidian_to_lava',
        'thermal:machines/crucible/crucible_netherrack_to_lava',
        'thermal:machines/crucible/crucible_stone_to_lava',
        'thermal:machines/crucible/crucible_magma_block_to_lava',
        'minecraft:hopper',
        'quark:tweaks/crafting/utility/misc/easy_hopper',
        'quark:tweaks/blasting/raw_copper_bricks_blast',
        'quark:tweaks/blasting/raw_copper_block_blast',
        'quark:tweaks/smelting/raw_copper_bricks_smelt',
        'quark:tweaks/smelting/raw_copper_block_smelt',
        'mekanism:crushing/dewax/copper_block',
        'mekanism:enriching/deoxidizing/copper_block',
        'thermal:furnace_93639513',
        'thermal:furnace_1985165423',
        'createaddition:charging/copper_block',
        'create:deploying/copper_block_from_removing_wax',
        'create:deploying/copper_block_from_deoxidising',
        'mekanism:processing/copper/ingot/from_dust_blasting',
        'alltheores:copper_ingot_from_dust_blasting',
        'alltheores:copper_ingot_from_dust',
        'create:smelting/copper_ingot_from_crushed',
        'thermal:furnace_18057594',
        'thermal:machines/smelter/smelter_copper_dust',
        'thermal:storage/copper_ingot_from_nuggets',
        'thermal:furnace_86358067',
        'thermal:furnace_1401340623',
        'minecraft:copper_ingot_from_blasting_copper_ore',
        'thermal:smelting/copper_ingot_from_dust_blasting',
        'create:blasting/copper_ingot_from_crushed',
        'minecraft:copper_ingot_from_blasting_deepslate_copper_ore',
        'minecraft:copper_ingot_from_blasting_raw_copper',
        'minecraft:copper_ingot_from_smelting_deepslate_copper_ore',
        'mekanism:processing/copper/ingot/from_dust_smelting',
        'thermal:smelting/copper_ingot_from_dust_smelting',
        'minecraft:copper_ingot_from_smelting_raw_copper',
        'minecraft:copper_ingot_from_smelting_copper_ore',
        'thermal:furnace_1337312334',
        'thermal:furnace_346336152',
        'thermal:furnace_1804638314',
        'thermal:furnace_597170621',
        'thermal:furnace_341076390',
        'thermal:furnace_1951750042',
        'thermal:furnace_1351579164',
        'thermal:furnace_1009840893',
        'thermal:furnace_1724288637',
        'thermal:furnace_595305165',
        'thermal:furnace_1360217955',
        'thermal:furnace_425996078',
        'thermal:machines/smelter/smelter_copper_plate_to_ingot',
        'thermal:machines/smelter/smelter_nickel_ore',
        'create:crafting/materials/copper_ingot',
        'ironfurnaces:furnaces/iron_furnace2',
        'ironfurnaces:furnaces/gold_furnace2',
        'ironfurnaces:furnaces/gold_furnace',
        'industrialforegoing:stonework_generate/netherrack',
        'create:crushing/nether_quartz_ore',
        'create:crafting/kinetics/empty_blaze_burner',
        'create:haunting/blackstone',
        'mekanism:crushing/blackstone/from_polished',
        'thermal:devices/rock_gen/rock_gen_blackstone',
        'mekanism:steel_casing',
        'create:crafting/kinetics/basin',
        'create:crafting/kinetics/whisk',
        'thermal:furnace_1087413507',
        'create:mixing/brass_ingot',
        'alltheores:brass_ingot_from_dust_blasting',
        'alltheores:brass_ingot_from_dust',
        'thermal:furnace_2042393459',
        'thermal:furnace_1843275854',
        'createoreexcavation:drilling/gold',
        'createoreexcavation:drilling/lapis',
        'createoreexcavation:drilling/quartz',
        'createoreexcavation:drilling/emerald',
        'createoreexcavation:drilling/hardened_diamond',
        'createoreexcavation:drilling/iron',
        'createoreexcavation:drilling/zinc',
        'createoreexcavation:drilling/glowstone',
        'createoreexcavation:drilling/diamond',
        'createoreexcavation:drilling/coal',
        'createoreexcavation:drilling/redstone',
        'createoreexcavation:drilling/copper',
        'createoreexcavation:ore_vein_type/lapis',
        'createoreexcavation:ore_vein_type/redstone',
        'createoreexcavation:ore_vein_type/glowstone',
        'createoreexcavation:ore_vein_type/quartz',
        'createoreexcavation:ore_vein_type/coal',
        'createoreexcavation:ore_vein_type/netherite',
        'createoreexcavation:ore_vein_type/diamond',
        'createoreexcavation:ore_vein_type/gold',
        'createoreexcavation:ore_vein_type/copper',
        'createoreexcavation:ore_vein_type/zinc',
        'createoreexcavation:ore_vein_type/water',
        'createoreexcavation:ore_vein_type/emerald',
        'createoreexcavation:ore_vein_type/iron',
        'createoreexcavation:ore_vein_type/hardened_diamond',
        'ifeu:infuser/sculk',
        'industrialforegoingsouls:laser_drill_ore/echo_shard',
        'projecte:conversions/iron_ingot_to_ender_pearl',
        'projecte:conversions/coal_to_charcoal',
        'projecte:conversions/gold_ingot_to_diamond',
        'projecte:conversions/emerald_to_diamond',
        'projecte:conversions/diamond_to_emerald',
        'projecte:conversions/diamond_to_gold_ingot',
        'projecte:conversions/iron_ingot_to_gold_ingot',
        'projecte:conversions/charcoal_to_coal',
        'projecte:conversions/gold_ingot_to_iron_ingot',
        'projecte:conversions/alchemical_coal_to_coal',
        'mekanism:nucleosynthesizing/crying_obsidian',
        'thermal:furnace_2145905799',
        'thermal:furnace_1379538200',
        'thermal:furnace_564204958',
        'thermal:furnace_947914571',
        'thermal:furnace_1199751873',
        'ars_nouveau:conjuration_essence_to_soul_sand',
        'hostilenetworks:living_matter/hellish/soul_sand',
        'create:haunting/soul_sand',
        'mekanism:crushing/soul_soil_to_soul_sand',
        'actuallyadditions:laser/soul_sand',
        'mekanism:processing/refined_glowstone/ingot/from_dust',
        'powah:energizing/blazing_crystal',
        'powah:energizing/blazing_crystal_2',
        'mekanismtools:refined_glowstone/nugget_from_blasting',
        'mekanismtools:refined_glowstone/nugget_from_smelting',
        'thermal:furnace_1986295755',
        'thermal:fire_charge/enderium_ingot_2',
        'thermal:smelting/enderium_ingot_from_dust_blasting',
        'thermal:smelting/enderium_ingot_from_dust_smelting',
        'thermal:furnace_754731900',
        'thermal:machines/smelter/smelter_enderium_plate_to_ingot',
        'thermal:machines/smelter/smelter_alloy_enderium',
        'thermal:machines/smelter/smelter_enderium_dust',
        'thermal:furnace_1557536546',
        'thermal:furnace_965214942',
        'thermal:fire_charge/lumium_ingot_4',
        'thermal:smelting/lumium_ingot_from_dust_blasting',
        'thermal:smelting/lumium_ingot_from_dust_smelting',
        'thermal:furnace_1677558746',
        'thermal:machines/smelter/smelter_alloy_lumium',
        'thermal:machines/smelter/smelter_lumium_plate_to_ingot',
        'thermal:machines/smelter/smelter_lumium_dust',
        'ars_nouveau:crush_glowstone_block_to_dust',
        'create:crushing/glowstone',
        'create:crushing/prismarine_crystals',
        'create:filling/glowstone',
        'mekanism:enriching/glowstone_dust',
        'thermal:machines/pulverizer/pulverizer_glowstone_block',
        'actuallyadditions:crushing/glowstone',
        'industrialforegoing:laser_drill_ore/glowstone',
        'mekanism:nucleosynthesizing/glowstone_block',
        'minecraft:diamond_from_blasting_diamond_ore',
        'minecraft:diamond_from_blasting_deepslate_diamond_ore',
        'minecraft:diamond_from_smelting_deepslate_diamond_ore',
        'minecraft:diamond_from_smelting_diamond_ore',
        'create:crushing/diamond_ore',
        'create:crushing/deepslate_diamond_ore',
        'createoreexcavation:cutting/diamond_cutting',
        'createsifter:sifting/gravel_advanced_brass_mesh',
        'mekanism:nucleosynthesizing/diamond',
        'mekanism:processing/diamond/from_ore',
        'mekanism:processing/diamond/from_dust',
        'mekanism:sawing/jukebox',
        'thermal:machines/crystallizer/crystallizer_diamond',
        'thermal:furnace_38960033',
        'thermal:furnace_1105251577',
        'thermal:machines/pulverizer/pulverizer_diamond_ore',
        'thermal:machines/pulverizer/pulverizer_diamond_armor',
        'thermal:machines/pulverizer/pulverizer_diamond_tools',
        'thermal:machines/smelter/smelter_diamond_ore',
        'actuallyadditions:crushing/diamond_horse_armor',
        'actuallyadditions:crushing/diamond_ore',
        'thermal:furnace_747251681',
        'thermal:furnace_1483314017',
        'minecraft:emerald_from_blasting_emerald_ore',
        'minecraft:emerald_from_blasting_deepslate_emerald_ore',
        'minecraft:emerald_from_smelting_deepslate_emerald_ore',
        'minecraft:emerald_from_smelting_emerald_ore',
        'create:crushing/emerald_ore',
        'create:crushing/deepslate_emerald_ore',
        'createoreexcavation:cutting/emerald_cutting',
        'mekanism:nucleosynthesizing/emerald',
        'mekanism:processing/emerald/from_dust',
        'mekanism:processing/emerald/from_ore',
        'thermal:machines/crystallizer/crystallizer_emerald',
        'thermal:furnace_900623039',
        'thermal:machines/pulverizer/pulverizer_emerald_ore',
        'thermal:machines/smelter/smelter_emerald_ore',
        'actuallyadditions:crushing/emerald_ore',
        'thermal:furnace_1048645216',
        'thermal:furnace_61611796',
        'hostilenetworks:living_matter/overworld_to_nether',
        'hostilenetworks:living_matter/nether_to_ender',
        'functionalstorage:custom_compacting/glowstone',
        'thermal:smelting/tin_ingot_from_deepslate_ore_blasting',
        'thermal:smelting/tin_ingot_from_raw_blasting',
        'thermal:smelting/tin_ingot_from_dust_blasting',
        'thermal:smelting/tin_ingot_from_ore_blasting',
        'create:blasting/tin_ingot_compat_thermal',
        'create:smelting/tin_ingot_compat_thermal',
        'thermal:smelting/tin_ingot_from_dust_smelting',
        'thermal:smelting/tin_ingot_from_deepslate_ore_smelting',
        'thermal:smelting/tin_ingot_from_raw_smelting',
        'thermal:smelting/tin_ingot_from_ore_smelting',
        'thermal:furnace_1023925037',
        'thermal:furnace_1496774206',
        'thermal:furnace_1895020702',
        'thermal:furnace_1120482609',
        'thermal:furnace_2027130872',
        'thermal:machines/smelter/smelter_tin_ore',
        'thermal:machines/smelter/smelter_tin_dust',
        'thermal:machines/smelter/smelter_tin_plate_to_ingot',
        'thermal:machines/smelter/smelter_raw_tin',
        'thermal:furnace_778190485',
        'thermal:furnace_1196061566',
        'thermal:furnace_1021061021',
        'thermal:furnace_997024425',
        'thermal:furnace_1320403547',
        'create:splashing/thermal/crushed_raw_tin',
        'create:blasting/ingot_osmium_compat_mekanism',
        'mekanism:processing/osmium/ingot/from_ore_blasting',
        'mekanism:processing/osmium/ingot/from_raw_blasting',
        'mekanism:processing/osmium/ingot/from_dust_blasting',
        'mekanism:processing/osmium/ingot/from_dust_smelting',
        'create:smelting/ingot_osmium_compat_mekanism',
        'mekanism:processing/osmium/ingot/from_raw_smelting',
        'mekanism:processing/osmium/ingot/from_ore_smelting',
        'thermal:furnace_1383012871',
        'thermal:furnace_1061456374',
        'thermal:furnace_30011515',
        'thermal:furnace_1429635908',
        'thermal:furnace_1704391211',
        'thermal:furnace_1899875631',
        'thermal:furnace_1321827668',
        'thermal:furnace_1175328346',
        'mekanismtools:osmium/nugget_from_blasting',
        'mekanismtools:osmium/nugget_from_smelting',
        'create:splashing/mekanism/crushed_raw_osmium',
        'thermal:furnace_951441966',
        'thermal:devices/rock_gen/rock_gen_stone',
        'thermal:devices/rock_gen/rock_gen_cobbled_deepslate',
        'thermal:devices/rock_gen/rock_gen_basalt',
        'thermal:devices/rock_gen/rock_gen_deepslate',
        'ars_nouveau:magebloom_block_to_magebloom',
        'powah:energizing/energized_steel',
        /industrialforegoing:fluid_extractor\/.*/,
        'thermal:furnace_452214483',
        'industrialforegoing:stasis_chamber',
        'ifeu:dissolution_chamber/nether_star',
        'cagedmobs:crafting/nether_star_from_fragments',
        'minecraft:netherite_ingot',
        'mekanism:processing/netherite/ingot_from_dust_blasting',
        'thermal:smelting/netherite_ingot_from_dust_blasting',
        'thermal:furnace_1696846495',
        'thermal:furnace_1219318853',
        'thermal:machines/smelter/smelter_alloy_netherite',
        'thermal:machines/smelter/smelter_netherite_plate_to_ingot',
        'thermal:furnace_2000617724',
        'thermal:furnace_1167827429',
        'thermal:furnace_508650184',
        'thermal:furnace_1115412582',
        'thermal:smelting/netherite_ingot_from_dust_smelting',
        'mekanism:processing/netherite/ingot_from_dust_smelting',
        'thermal:furnace_839919517',
        'thermal:furnace_1410678110',
        'ifeu:dissolution_chamber/liquid_malic_acid',
        'createoreexcavation:extractor/water',
        'createsifter:sifting/soul_sand_brass_mesh',
        'createsifter:sifting/soul_sand_advanced_brass_mesh',
        'mekanism:metallurgic_infusing/alloy/infused',
        'actuallyadditions:laser/crystalize_diamatine_crystal',
        'actuallyadditions:laser/crystalize_diamatine_crystal_block',
        'mekanism:infusion_conversion/diamond/from_dust',
        'mekanism:processing/steel/enriched_iron_to_dust',
        'mekanism:infusion_conversion/diamond/from_enriched',
        /create:crushing\/.*/,
        'actuallyadditions:crushing/lapis_ore',
        'thermal:machines/smelter/smelter_lapis_ore',
        'thermal:machines/pulverizer/pulverizer_lapis_ore',
        'industrialforegoing:dissolution_chamber/xp_bottles',
        'thermal:machines/bottler/bottler_experience_bottle',
        'mysticalagriculture:experience_bottle',
        'cagedmobs:crafting/experience_bottle_from_experience_orb',
        'ars_nouveau:greater_experience_gem',
        'mekanism:processing/refined_obsidian/ingot/from_dust',
        'mekanism:processing/refined_obsidian/dust/from_obsidian_dust',
        'mekanism:processing/refined_obsidian/dust/from_ingot',
        'mekanism:enriching/enriched/refined_obsidian',
        'mekanism:processing/uranium/fissile_fuel',
        "mekanism:processing/fissile_fuel",
        "jei:/experienceobelisk/metamorpher/netherite_ingot_metamorphosis",
        'mysticalagradditions:insanium_essence',
        'mysticalagradditions:insanium_block_combine',
        "jei:/mekanism_extras/evaporating/polonium-208",
        "jei:/mekanism/evaporating/brine",
        "jei:/mekanism/evaporating/lithium",
        "jei:/mekanism/enriching/hdpe_sheet",
        "create:compacting/ice",
        "create:compacting/honey",
        "createaddition:compacting/biomass_pellet",
        "create:compacting/chocolate",
        "create:compacting/granite_from_flint",
        "create:compacting/andesite_from_flint",
        "minecraft:quartz_from_blasting",
        "thermal:earth_charge/quartz_from_quartz_block",
        "minecraft:quartz",
        "ars_nouveau:crush_quartz_block_to_quartz",
        "minecraft:quartz",
        "mekanism:enriching/conversion/quartz/to_item",
        "mekanism:processing/quartz/from_dust",
        "thermal:machines/crystallizer/crystallizer_quartz",
        "thermal:machines/pulverizer/pulverizer_quartz_block",
        "thermal:machines/pulverizer/pulverizer_quartz_ore",
        "thermal:machines/smelter/smelter_quartz_ore",
        "actuallyadditions:crushing/nether_quartz_ore",
        "thermal:furnace_1108568987",
        "appflux:transform/redstone_crystal"
    ]

    //根据配方类型删除配方
    const remove_by_type = [
        "cagedmobs:entity_data",
        "jeresources:dungeon",
        "jeresources:villager",
        "jeresources:worldgen",
        'actuallyadditions:mining_lens',
        'ars_nouveau:scry_ritual',
        'botanypots:crop',
        'createaddition:liquid_burning',
        'create:mystery_conversion',
        'projecte:world_transmutation',
        "hostilenetworks:loot_fabricator",
        "mysticalagriculture:reprocessor"
    ]

    remove_by_output.forEach(output =>{
        event.remove({output:output})
    })
    
    remove_by_id.forEach(recipeId =>{
        if(typeof recipeId == "string"){
            /**
            * @type {String}
            */
            let s = recipeId
            let index = s.indexOf("jei:/")
            if(index !== -1){
                let sub = s.substring(index + 5)
                event.remove({id:sub.replace("/",":")})
            }else{
                event.remove({id:s})
            }
        }else{
            event.remove({id:recipeId})
        }
    })

    remove_by_type.forEach(recipeType =>{
        event.remove({type:recipeType})
    })


    const drawers = ["cherry", "mangrove", "warped", "crimson", "dark_oak", "acacia", "jungle", "birch", "spruce"]
    const tiers = [1,2,4]

    drawers.forEach(drawer =>{
        tiers.forEach(tier =>{
            event.remove({output: "functionalstorage:" + drawer + "_" + tier})
        })
    })

    const infinity = readConst("./kubejs/const.json","infinity")
    const hides = readConst("./kubejs/const.json","hides")
    const packages = readConst("./kubejs/const.json","packages")
    const decoration = readConst("./kubejs/const.json","decoration")
    infinity.forEach(item =>{
        event.remove({output:item})
    })

    hides.forEach(item =>{
        if(!item.startsWith("=")){
            event.remove({output:item})
        }
    })

    packages.forEach(item =>{
        event.remove({output:item})
    })

    decoration.forEach(item =>{
        event.remove({input:item})
        event.remove({output:item})
    })

    essences.forEach(item =>{
        event.remove({input:item})
    })
})

var essences = [
		"mysticalagriculture:brass_essence",
		"mysticalagriculture:ruby_essence",
		"mysticalagriculture:bronze_essence",
		"mysticalagriculture:zinc_essence",
		"mysticalagriculture:uranium_essence",
		"mysticalagriculture:tungsten_essence",
		"mysticalagriculture:titanium_essence",
		"mysticalagriculture:electrum_essence",
		"mysticalagriculture:nickel_essence",
		"mysticalagriculture:constantan_essence",
		"mysticalagriculture:rubber_essence",
		"mysticalagriculture:lead_essence",
		"mysticalagriculture:silver_essence",
		"mysticalagriculture:sulfur_essence",
		"mysticalagriculture:silicon_essence",
		"mysticalagriculture:signalum_essence",
		"mysticalagriculture:peridot_essence",
		"mysticalagriculture:sapphire_essence",
		"mysticalagriculture:invar_essence",
		"mysticalagriculture:tin_essence",
		"mysticalagriculture:steel_essence",
		"mysticalagriculture:apatite_essence",
		"mysticalagriculture:enderium_essence",
		"mysticalagriculture:platinum_essence",
		"mysticalagriculture:lumium_essence",
		"mysticalagriculture:saltpeter_essence",
		"mysticalagriculture:aluminum_essence",
        "mysticalagriculture:iridium_essence",
		"mysticalagriculture:mithril_essence",
		"mysticalagriculture:chrome_essence",
		"mysticalagriculture:graphite_essence"
]