const jei_to_hide = [
    'excompressum:dark_oak_crucible',
    'excompressum:auto_hammer',
    'excompressum:auto_compressed_hammer',
    'excompressum:auto_sieve',
    'excompressum:auto_heavy_sieve',
    'excompressum:auto_compressor',
    'excompressum:rationing_auto_compressor',
    'excompressum:compressed_cobblestone',
    'excompressum:compressed_gravel',
    'excompressum:compressed_sand',
    'excompressum:compressed_dirt',
    'excompressum:compressed_flint',
    'excompressum:compressed_nether_gravel',
    'excompressum:compressed_ender_gravel',
    'excompressum:compressed_soul_sand',
    'excompressum:compressed_netherrack',
    'excompressum:compressed_end_stone',
    'excompressum:compressed_diorite',
    'excompressum:compressed_andesite',
    'excompressum:compressed_granite',
    'excompressum:compressed_crushed_diorite',
    'excompressum:compressed_crushed_andesite',
    'excompressum:compressed_crushed_granite',
    'excompressum:oak_heavy_sieve',
    'excompressum:spruce_heavy_sieve',
    'excompressum:birch_heavy_sieve',
    'excompressum:jungle_heavy_sieve',
    'excompressum:acacia_heavy_sieve',
    'excompressum:dark_oak_heavy_sieve',
    'excompressum:oak_crucible',
    'excompressum:spruce_crucible',
    'excompressum:birch_crucible',
    'excompressum:jungle_crucible',
    'excompressum:acacia_crucible',
    'excompressum:compressed_dust',
    'excompressum:ugly_steel_plating',
    'excompressum:uncompressed_coal',
    'excompressum:wood_chippings',
    'iceandfire:silver_sword',
    'iceandfire:silver_shovel',
    'iceandfire:silver_pickaxe',
    'iceandfire:silver_axe',
    'iceandfire:silver_hoe',
    'iceandfire:copper_sword',
    'iceandfire:copper_shovel',
    'iceandfire:copper_pickaxe',
    'iceandfire:copper_axe',
    'iceandfire:copper_hoe',
        //draconic evolution modules
    'draconicevolution:chaotic_flight_module',
    'draconicevolution:chaotic_undying_module',
    'draconicevolution:chaotic_jump_module',,
    'draconicevolution:chaotic_energy_module',
    'draconicevolution:chaotic_speed_module',
    'draconicevolution:chaotic_damage_module',
    'draconicevolution:chaotic_aoe_module',
    'draconicevolution:chaotic_proj_velocity_module',
    'draconicevolution:chaotic_proj_damage_module',
    'draconicevolution:chaotic_proj_penetration_module',
    'draconicevolution:chaotic_proj_grav_comp_module',
    'draconicevolution:chaotic_proj_accuracy_module',
    'draconicevolution:chaotic_shield_recovery_module',
    'draconicevolution:chaotic_large_shield_capacity_module',
    'draconicevolution:chaotic_shield_capacity_module',
    'draconicevolution:chaotic_shield_control_module',

    //draconic evolution tools and roba
    'draconicevolution:chaotic_shovel',
    'draconicevolution:chaotic_hoe',
    'draconicevolution:chaotic_pickaxe',
    'draconicevolution:chaotic_bow',
    'draconicevolution:large_chaos_frag',
    'draconicevolution:chaos_shard',
    'draconicevolution:chaotic_energy_core',
    'draconicevolution:chaotic_core',
    'draconicevolution:dislocator',
    'draconicevolution:advanced_magnet',
    'draconicevolution:magnet',
    'draconicevolution:reactor_prt_focus_ring',
    'draconicevolution:reactor_prt_rotor_full',
    'draconicevolution:reactor_prt_out_rotor',
    'draconicevolution:reactor_prt_in_rotor',
    'draconicevolution:reactor_prt_stab_frame',
    'draconicevolution:crystal_binder',
    'draconicevolution:info_tablet',
    'draconicevolution:mob_soul',
    'draconicevolution:chaotic_capacitor',
    'draconicevolution:creative_capacitor',
    'draconicevolution:chaotic_axe',
    'draconicevolution:chaotic_chestpiece',
    'draconicevolution:chaotic_staff',
    'draconicevolution:chaotic_sword',

    //draconic evolution modules
    'draconicevolution:chaotic_flight_module',
    'draconicevolution:chaotic_undying_module',,
    'draconicevolution:chaotic_jump_module',
    'draconicevolution:chaotic_energy_module',
    'draconicevolution:chaotic_speed_module',
    'draconicevolution:chaotic_damage_module',
    'draconicevolution:chaotic_aoe_module',
    'draconicevolution:chaotic_proj_velocity_module',
    'draconicevolution:chaotic_proj_damage_module',
    'draconicevolution:chaotic_proj_penetration_module',
    'draconicevolution:chaotic_proj_grav_comp_module',
    'draconicevolution:chaotic_proj_accuracy_module',
    'draconicevolution:chaotic_shield_recovery_module',
    'draconicevolution:chaotic_large_shield_capacity_module',
    'draconicevolution:chaotic_shield_capacity_module',
    'draconicevolution:chaotic_shield_control_module',

    //draconic evolution tools and roba
    'draconicevolution:chaotic_shovel',
    'draconicevolution:chaotic_hoe',
    'draconicevolution:chaotic_pickaxe',
    'draconicevolution:chaotic_bow',
    'draconicevolution:large_chaos_frag',
    'draconicevolution:chaos_shard',
    'draconicevolution:chaotic_energy_core',
    'draconicevolution:chaotic_core',
    'draconicevolution:advanced_magnet',
    'draconicevolution:magnet',
    'draconicevolution:reactor_prt_focus_ring',
    'draconicevolution:reactor_prt_rotor_full',
    'draconicevolution:reactor_prt_out_rotor',
    'draconicevolution:reactor_prt_in_rotor',
    'draconicevolution:reactor_prt_stab_frame',
    'draconicevolution:crystal_binder',
    'draconicevolution:info_tablet',
    'draconicevolution:mob_soul',
    'draconicevolution:chaotic_capacitor',
    'draconicevolution:creative_capacitor',
    'draconicevolution:chaotic_axe',
    'draconicevolution:chaotic_chestpiece',
    'draconicevolution:chaotic_staff',
    'draconicevolution:chaotic_sword',

    //draconic evolution blocks anc machines
    'draconicevolution:basic_relay_crystal',
    'draconicevolution:wyvern_relay_crystal',
    'draconicevolution:draconic_relay_crystal',
    'draconicevolution:basic_wireless_crystal',
    'draconicevolution:wyvern_wireless_crystal',
    'draconicevolution:draconic_wireless_crystal',
    'draconicevolution:particle_generator',
    'draconicevolution:draconium_chest',
    'draconicevolution:potentiometer',
    'draconicevolution:stabilized_spawner',
    'draconicevolution:creative_op_capacitor',
    'draconicevolution:energy_transfuser',
    'draconicevolution:grinder',
    'draconicevolution:generator',
    'draconicevolution:flux_gate',
    'draconicevolution:fluid_gate',
    'draconicevolution:basic_crafting_injector',
    'draconicevolution:wyvern_crafting_injector',
    'draconicevolution:awakened_crafting_injector',
    'draconicevolution:chaotic_crafting_injector',
    'draconicevolution:crafting_core',
    'draconicevolution:energy_core', 
    'draconicevolution:energy_core_stabilizer',
    'draconicevolution:energy_pylon',
    'draconicevolution:reactor_core',
    'draconicevolution:reactor_stabilizer',
    'draconicevolution:reactor_injector',
    'draconicevolution:awakened_draconium_block',
    'draconicevolution:basic_io_crystal',
    'draconicevolution:wyvern_io_crystal',
    'draconicevolution:draconic_io_crystal',
    'draconicevolution:dislocation_inhibitor',
    'draconicevolution:medium_chaos_frag',
    'draconicevolution:small_chaos_frag',
    'createautomated:drill_head',
    'rats:rat_upgrade_basic_energy',
    'rats:rat_upgrade_advanced_energy',
    'rats:rat_upgrade_elite_energy',
    'rats:rat_upgrade_extreme_energy',
    'rats:rat_upgrade_ore_doubling',
    'rats:rat_upgrade_tick_accelerator',
    'createdeco:zinc_sheet'
]

onEvent('jei.hide.items', event => {
    for (i of jei_to_hide){
        event.hide(i)
    }
})

//Durability

const jei_durability_to_hide = [
    'create_stuff_additions:copper_armor_helmet',
    'create_stuff_additions:copper_armor_chestplate',
    'create_stuff_additions:copper_armor_leggings',
    'create_stuff_additions:copper_armor_boots',
    'excompressum:compressed_crook',
    'excompressum:compressed_hammer_netherite',
    'excompressum:compressed_hammer_diamond',
    'excompressum:compressed_hammer_gold',
    'excompressum:compressed_hammer_iron',
    'excompressum:compressed_hammer_stone',
    'excompressum:compressed_hammer_wood',
    'excompressum:iron_mesh',
    'excompressum:bat_zapper',
    'excompressum:chicken_stick',
    'excompressum:iron_mesh',
    'excompressum:bat_zapper',
    'excompressum:compressed_crook'
]

onEvent('jei.hide.items', event => {
    for (x of jei_durability_to_hide){
        event.hide(Item.of(x).ignoreNBT())
    }
})


//CRAFTING CATEGORY
    const jei_crafting_category_to_hide = [
    'ars_nouveau:apprentic_book_dye',
    'ars_nouveau:archmage_book_dye'
    ]
    onEvent('jei.remove.recipes', event => {
        for (c of jei_crafting_category_to_hide){
            event.remove('minecraft:crafting',(c)
            )}
        })
