//Priority: 1
/**

  █▀▄▀█ █▀█ █▄░█ █░█ █▀▄▀█ █▀▀ █▄░█ ▀█▀ ▄▀█ █░░   █▀▀ ▀▄▀ █▀█ █▀▀ █▀█ █ █▀▀ █▄░█ █▀▀ █▀▀
  █░▀░█ █▄█ █░▀█ █▄█ █░▀░█ ██▄ █░▀█ ░█░ █▀█ █▄▄   ██▄ █░█ █▀▀ ██▄ █▀▄ █ ██▄ █░▀█ █▄▄ ██▄

  ☻/  * @file JEI script to hide Items
  /▌  * @copyright KnightDexx's Modded Minecraft World | ModernGamingWorld | GeekTechMedia
  /▌  * Modified by @Cyn-SolveroftheAbsoluteGremlins on Discord
  /\

*/
JEIEvents.hideItems(event => {


   const hide = [
      //=== Mod Misc Hidden ===
      /ae2:facade/,
      /^doggytalents:dog_bed$/,
      /^ftbquests:.+/,
      /^forcecraft:.+_flask$/,
      /^gendustry:.+gene_$/,
      /^iron_bushes:.+_fragment$/,
      /^iron_bushes:.+_bush_seed$/,
      /^iron_bushes:.+_covered_leaves$/,
      /^immersiveposts:(stick)_(copper|gold|lead|silver|nickel|constantan|electrum|uranium)$/,
      /^majruszsdifficulty:.+_treasure_bag$/,
      /^quark:ancient_tome$/,
      /^quark:backpack$/,
      /^quark:.+_pouch$/,
      /^quark:.+_shard$/,
      /^quark:.+_crystal_cluster$/,
      /^quark:.+_leaves$/,
      /^reliquary:bullets\/neutral_bullet$/,
      /^reliquary:magazines\/neutral_magazine$/,
      /supplementaries:bamboo_spikes_tipped/,
      /^tombstone:.*_of_/,
      /^twilightforest:.*_force_field$/,
      /^twilightforest:.*_castle_door$/,
      /^twilightforest:.*_cloud$/,
      /^tconstruct:.*potion$/,
      'actuallyadditions:tiny_charcoal',
      'actuallyadditions:tiny_coal',
      'ironcoals:charcoal_chunk',
      'ironcoals:base_coal_chunk',
      'mobees:coal_bit',

      //=== Mod Items Hidden ===
      'ars_caelum:ritual_conjure_island_village',
      'ars_caelum:ritual_conjure_island_end_portal',
      'ad_astra:steel_ingot',
      'actuallyadditions:canola_oil',
      'actuallyadditions:refined_canola_oil',
      'actuallyadditions:crystallized_oil',
      'actuallyadditions:empowered_oil',
      'biomesoplenty:rose_quartz_cluster',
      'biomesoplenty:large_rose_quartz_cluster',
      'biomesoplenty:medium_rose_quartz_cluster',
      'biomesoplenty:small_quartz_cluster',
      'biomesoplenty:rose_quartz_block',
      'culturaldelights:eggplant_crate',
      'eidolon:silver_helmet',
      'eidolon:silver_chestplate',
      'eidolon:silver_leggings',
      'eidolon:silver_boots',
      'eidolon:silver_sword',
      'eidolon:silver_axe',
      'eidolon:silver_hoe',
      'eidolon:silver_pickaxe',
      'eidolon:silver_shovel',
      'extendedcrafting:handheld_table',
      'farmersdelight:potato_crate',
      'farmersdelight:beetroot_crate',
      'farmersdelight:onion_crate',
      'farmersdelight:tomato_crate',
      'inventorypets:pet_nether_portal',
      'inventorypets:pet_end_portal',
      'minecraft:bedrock',
      'minecraft:end_portal_frame',
      'minecraft:damaged_anvil',
      'minecraft:ender_chest',
      'minecraft:suspicious_sand',
      'minecraft:suspicious_gravel',
      'majruszsdifficulty:enderium_shard_ore',
      'majruszsdifficulty:enderium_ingot',
      'majruszsdifficulty:fragile_end_stone',
      'majruszsdifficulty:infested_end_stone',
      'mysticalagriculture:mithril_seeds',
      'mysticalagriculture:mithril_essence',
      'mysticalagriculture:chrome_seeds',
      'mysticalagriculture:chrome_essence',
      'mysticalagriculture:yellorium_seeds',
      'mysticalagriculture:yellorium_essence',
      'prefab:block_compressed_dirt',
      'prefab:block_double_compressed_dirt',
      'prefab:block_compressed_stone',
      'prefab:block_double_compressed_stone',
      'prefab:block_triple_compressed_stone',
      'prefab:block_compressed_obsidian',
      'prefab:block_double_compressed_obsidian',
      'prefab:block_compressed_quartz_crete',
      'prefab:block_doubled_compressed_quartz_crete',
      'prefab:item_nether_gate',
      'prefab:item_welcome_center',
      'prefab:item_ender_gateway',
      'prefab:item_creative_bulldozer',
      'prefab:item_crate_of_potatoes',
      'prefab:item_crate_of_carrots',
      'prefab:item_crate_of_beets',
      'quark:apple_crate',
      'quark:beetroot_crate',
      'quark:potato_crate',
      'twilightforest:castle_brick',
      'twilightforest:uncrafting_table',
      'tombstone:grave_key',
      'tombstone:ghostly_shape',
      'tombstone:preservation',
      'tombstone:unstable_intangibleness',
      'tombstone:diversion',
      'tombstone:feather_fall',
      'tombstone:purification',
      'tombstone:true_sight',
      'tombstone:prayer',
      'tombstone:reach',
      'tombstone:lighting_aquatic_liferesistance',
      'tombstone:frost_resistance',
      'tombstone:bone_shield',
      'tombstone:bait',
      'tombstone:aquatic_life',
      'upgrade_aquatic:chrome_coralstone',
      /^upgrade_aquatic:.+_coral$/,
      /^upgrade_aquatic:.+_coral_fan$/,
      'vinery:apple_bag',
      'immersiveengineering:coal_coke',
      'ad_astra:etrium_ingot',
      'ad_astra:etrium_nugget',
      'ad_astra:etrium_plate',
      'ad_astra:etrium_rod',
      'ad_astra:etrium_factory_block',
      'ad_astra:encased_etrium_block',
      'ad_astra:etrium_plateblock',
      'ad_astra:etrium_panel',
      'ad_astra:etrium_block',
      'bigreactors:yellorium_nugget',
      'mysticalagriculture:yellorium_essence',
      'mysticalagriculture:yellorium_seeds',
      'bygonenether:netherite_scrap_ingot',
      'bygonenether:netherite_scrap_nugget',
      'bygonenether:soul_stone',
      'thermal:ruby_gear',
      'thermal:sapphire_gear',
      'thermal:netherite_gear',
      'thermal:rose_gold_gear',
      'forbidden_arcanus:ender_pearl_fragment',
      'enderio:xp_juice_bucket',
      'pneumaticcraft:memory_essence_bucket',
      'sophisticatedstorage:pump_upgrade',
      'sophisticatedstorage:advanced_pump_upgrade',
      'sophisticatedstorage:xp_pump_upgrade',
      'forestry:wood_pulp',
      'mekanism:sawdust',
      'immersiveengineering:dust_wood',
      'exdeorum:wood_chippings',
      'bigreactors:ridiculite_dust',
      'bigreactors:inanite_dust',
      'forestry:pulsating_dust',
      'bigreactors:ludicrite_dust',
      'alltheores:netherite_dust',
      /mysticalagriculture:tungsten_seed/,
      /mysticalagriculture:titanium_seed/,
      /mysticalagriculture:tungsten_essence/,
      /mysticalagriculture:titanium_essence/,

      //=== Creative Items ===
      'ae2:creative_energy_cell',
      'ars_nouveau:creative_source_jar',
      'botania:infrangible_platform',
      'botania:corporea_spark_creative',
      'buildinggadgets:construction_paste_container_creative',
      'create:creative_fluid_tank',
      'create:creative_crate',
      'create:handheld_worldshaper',
      'cyclic:battery_infinite',
      'mekanism:creative_chemical_tank',
      'mekanism:creative_fluid_tank',

      //=== Sky Exclusives ===
      'bygonenether:withered_quartz_block',
      'bygonenether:withered_debris',
      'bygonenether:withered_basalt',
      'bygonenether:withered_blackstone',
      'bygonenether:withered_coal_block',
      'bygonenether:crushed_withered_debris',
      'bygonenether:withered_blackstone_stairs',
      'bygonenether:cracked_withered_blackstone',
      'bygonenether:cracked_withered_blackstone_stairs',
      'bygonenether:chiseled_withered_blackstone',
      'bygonenether:cracked_withered_blackstone_vertical_slab',
      'bygonenether:withered_blackstone_slab',
      'bygonenether:cracked_withered_blackstone__slab',
      'bygonenether:withered_blackstone_vertical_slab',
      'bygonenether:cobbled_blackstone',
      'bygonenether:cracked_withered_blackstone_slab',
      /^exdeorum:.+_pebble$/,
      'opolisutilities:block_breaker',
      'opolisutilities:block_placer',
      'opolisutilities:crafter',
      'opolisutilities:basic_loot_box',
      'opolisutilities:advanced_loot_box',
      'opolisutilities:elite_loot_box',
      'opolisutilities:redstone_clock',
      'opolisutilities:deepslate_ender_ore',
      'opolisutilities:ender_ore',
      'opolisutilities:animal_net',
      'opolisutilities:wallet',
      'opolisutilities:b_bucks',
      'opolisutilities:wooden_shears',
      'opolisutilities:crook',
      'opolisutilities:mini_coal',
      'opolisutilities:ender_pearl_fragment',
      /skyblock_resources:stone_.*_generator/,
      /skyblock_resources:iron_.*_generator/,
      /skyblock_resources:gold_.*_generator/,
      /skyblock_resources:diamond_.*_generator/,
      /skyblock_resources:netherite_.*_generator/,
      'strainers:deepslate_pebble',
      'strainers:stone_pebble',
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_full_drawers_1/,
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_full_drawers_2/,
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_full_drawers_4/,
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_half_drawers_1/,
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_half_drawers_2/,
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_half_drawers_4/,
      /storagedrawersextra:biomesoplenty_(fir||redwood||mahogany||jacaranda||palm||willow||dead||magic||umbran||hellbark)_trim/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_full_drawers_1/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_full_drawers_2/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_full_drawers_4/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_half_drawers_1/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_half_drawers_2/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_half_drawers_4/,
      /storagedrawersextra:biomeswevegone_(aspen||baobab||blue_enchanted||cika||cypress||ebony||fir||florus||green_enchanted||holly||ironwood||jacaranda||mahogany||maple||palm||pine||rainbow_eucalyptus||redwood||sakura||skyris||white_mangrove||willow||witch_hazel||zelkova)_trim/,

      //=== JEI Clog ===
      /tconstruct:repair_kit/,
      /tconstruct:.*_axe/,
      /tconstruct:.*_head/,
      /tconstruct:.*_blade/,
      /tconstruct:large_plate/,
      /tconstruct:tool_.*/,
      /tconstruct:tough_.*/,
      /tconstruct:.*bow.*/,
      /tconstruct:arrow_.*/,
      /tconstruct:fletching/,
      /tconstruct:.*_plating/,
      /tconstruct:maille/,
      /tconstruct:shield_core/,
      /tconstruct:.*_staff/,
      /tconstruct:pickaxe/,
      /tconstruct:pickadze/,
      /tconstruct:mattock/,
      /tconstruct:kama/,
      /tconstruct:dagger/,
      /tconstruct:sword/,
      /tconstruct:.*_hammer/,
      /tconstruct:excavator/,
      /tconstruct:scythe/,
      /tconstruct:cleaver/,
      /tconstruct:fishing_rod/,
      /tconstruct:javelin/,
      /tconstruct:arrow/,
      /tconstruct:shuriken/,
      /tconstruct:melting_pan/,
      /tconstruct:war_pick/,
      /tconstruct:battlesign/,
      /tconstruct:swasher/,
      /tconstruct:travelers_.*/,
      /tconstruct:plate_.*/,
      /tconstruct:slime_helmet/,
      /tconstruct:.*_red_sand_cast/,
      'forestry:can',
      'forestry:capsule',
      'forestry:refractory',
      'reliquary:mob_charm',
      'reliquary:mob_charm_fragment',
      'reliquary:potion',
      'reliquary:splash_potion',
      'reliquary:lingering_potion',
      'reliquary:potion_essence',
      /.*:.*tipped_arrow.*/,
      /enderio:broken_spawner/,
      /enderio:filled_soul_vial/,
      /securitycraft:reinforced.*/,
      /securitycraft:.*_mine/,
      /.*:.*bucket.*/,

      //=== Mod Ores ===
      /^ad_astra:.+_ore$/,
      'alltheores:other_platinum_ore',
      'alltheores:deepslate_iridium_ore',
      'alltheores:end_iridium_ore',
      'alltheores:end_platinum_ore',
      'alltheores:deepslate_peridot_ore',
      /^blue_skies:.+_ore$/,
      /^bigreactors:.+_ore$/,
      /^forcecraft:.+_ore$/,
      'forbidden_arcanus:deepslate_arcane_crystal_ore',
      /^mysticalagriculture:.+_ore$/,
      /^mysticalagradditions:.+_ore$/,
      /^mythicbotany:.+_ore$/,
      'occultism:iesnium_ore_natural',
      /^rftoolsbase:dimensionalshard_.+/,
      'thermal:apatite_ore',
      'thermal:deepslate_apatite_ore',
      'thermal:deepslate_cinnabar_ore',
      'thermal:deepslate_niter_ore',
      'thermal:deepslate_sulfur_ore',
      /^undergarden:.+_ore$/,
      'gobber2:gobber2_ore',
      'gobber2:gobber2_ore_end',
      'gobber2:gobber2_lucky_block',
      'gobber2:gobber2_lucky_block_deepslate',
      'gobber2:gobber2_lucky_block_nether',
      'gobber2:gobber2_lucky_block',

      //=== Ore Processing Stuff ===
      /^moremekanismprocessing:.*amethyst.*$/,
      /^moremekanismprocessing:.*coal$/,
      /^moremekanismprocessing:.*lapis$/,
      /^moremekanismprocessing:.*diamond$/,
      /^moremekanismprocessing:.*redstone$/,
      /^moremekanismprocessing:.*emerald$/,
      /^moremekanismprocessing:.*quartz$/,
      /^moremekanismprocessing:.*azure_silver.*$/,
      /^moremekanismprocessing:.*bismuth.*$/,
      /^moremekanismprocessing:.*boron.*$/,
      /^moremekanismprocessing:.*bort.*$/,
      /^moremekanismprocessing:.*crimson_iron.*$/,
      /^moremekanismprocessing:.*dilithium.*$/,
      /^moremekanismprocessing:.*electrotine.*$/,
      /^moremekanismprocessing:.*green_sapphire.*$/,
      /^moremekanismprocessing:.*lithium.*$/,
      /^moremekanismprocessing:.*magnesium.*$/,
      /^moremekanismprocessing:.*titanium.*$/,
      /^moremekanismprocessing:.*tungsten.*$/,
      /^moremekanismprocessing:.*thorium.*$/,
      'moremekanismprocessing:dust_niter',
      'moremekanismprocessing:gem_niter',
      'moremekanismprocessing:dust_draconium',
      'moremekanismprocessing:draconium_ingot',
      'moremekanismprocessing:draconium_nugget',
      /alltheores:dirty_(copper||nickel||osmium||platinum||tin||uranium||zinc)_dust/,
      /alltheores:(copper||nickel||osmium||platinum||tin||uranium||zinc)_shard/,
      /alltheores:(copper||nickel||osmium||platinum||tin||uranium||zinc)_crystal/,
      /alltheores:(copper||nickel||osmium||platinum||tin||uranium||zinc)_clump/,
      /mekanism:crystal_lead/,
      /mekanism:shard_lead/,
      /mekanism:clump_lead/,
      /mekanism:dirty_dust_lead/,
      /moremekanismprocessing:crystal_(aluminum||draconium||iridium||silver)/,
      /moremekanismprocessing:shard_(aluminum||draconium||iridium||silver)/,
      /moremekanismprocessing:clump_(aluminum||draconium||iridium||silver)/,
      /moremekanismprocessing:dirty_dust_(aluminum||draconium||iridium||silver)/,


      //=== Mods Hidden (Use jei_additions.js script to add something if u don't want it hidden) ===

      '@additionalbanners',
      '@conjurer_illager',
      '@chipped',
      '@rechiseled',
      '@pickletweaks',
      '@obtrophies',
      '@wandering_trapper',

      //=== Spawners, Eggs, and more ===
      /.*:.*spawn_egg.*/,
      /occultism:.*debug.*/,
      /^cnb:.+_egg$/,
      'hunterillager:spawnegg_hunterillager',
      'inventorypets:easter_egg',
      /twilightforest:.*boss_spawner/,
      /ars_nouveau:.*_se/,
      /eidolon:spawn_.*/
   ]
   hide.forEach((id) => {
      event.hide(id)
   })

   Color.DYE.forEach(color => {
      ['controller', 'creative_controller', 'grid', 'crafting_grid', 'pattern_grid', 'fluid_grid', 'network_receiver', 'network_transmitter', 'relay', 'detector', 'security_manager', 'wireless_transmitter', 'disk_manipulator', 'crafter', 'crafter_manager', 'crafting_monitor'].forEach(machine => {
         event.hide(`refinedstorage:${color}_${machine}`)
      })
   })

})
