//Priority: 1
/**

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

  ☻/  * @file JEI script to hide Items
  /▌  * @copyright KnightDexx's Modded Minecraft World | ModernGamingWorld | GeekTechMedia
  /\

*/
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$/,


      //=== Mod Items Hidden ===
      'ad_astra:steel_ingot',
      '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',
      'lootbundles:loot_bundle',
      'lootbundles:fragment',
      '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',

      //=== 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',

      //=== Mod Buckets Hidden ===
      /^ad_astra:.+_bucket$/,
      /^aquaculture:.+_bucket$/,
      'ars_nouveau:bucket_of_mana',
      'ars_nouveau:bucket_of_source',
      /^bigreactors:.+_bucket$/,
      /^blue_skies:ventium_.+_bucket$/,
      /^blue_skies:molten_.+_bucket$/,
      'cnb:cindershell_bucket',
      'createaddition:seed_oil_bucket',
      /^cyclic:.*_bucket$/,
      /^create:.*_bucket$/,
      /^createaddition:.*_bucket$/,
      /^createchromaticreturn:.*_bucket$/,
      /^earthmobsmod:.+_bucket$/,
      /^experienceobelisk:.+_bucket$/,
      /^fishofthieves:.+_bucket$/,
      /^forcecraft:.+_bucket$/,
      /^forbidden_arcanus:.+_bucket$/,
      /^hexerei:.+_bucket$/,
      /^immersive(engineering|petroleum):.+_bucket$/,
      /^industrialforegoing:.+_bucket$/,
      /^minecraft:.+_bucket$/,
      /^mekanismgenerators:.+_bucket$/,
      /^mekanism:.+_bucket$/,
      /^mysticalagradditions:.+_bucket$/,
      /^naturalist:.+_bucket$/,
      /^pneumaticcraft:.+_bucket$/,
      /^quark:.+_bucket$/,
      /^sushigocrafting:.+_bucket$/,
      /^thermal:.+_(bucket)$/,
      /^undergarden:.+_bucket$/,
      /^upgrade_aquatic:.+_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',


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

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

      //=== Spawners, Eggs, and more ===
      /^aquaculture:.+_spawn_egg$/,
      /^ad_astra:.+_spawn_egg$/,
      /^ars_nouveau:.+_se$/,
      /^blue_skies:.+_spawn_egg$/,
      /^buzzier_bees:.+_spawn_egg$/,
      /^creeperoverhaul:.+_spawn_egg$/,
      /^cataclysm:cataclysm:.+_spawn_egg$/,
      /^doom:.+_spawn_egg$/,
      /^enderzoology:.+_spawn_egg$/,
      /^environmental:.+_spawn_egg$/,
      /^extendedmushrooms:.+_spawn_egg$/,
      /^earthmobsmod:.+_spawn_egg$/,
      /^enchantwithmob:.+_spawn_egg$/,
      /^forcecraft:.+_spawn_egg$/,
      /^fishofthieves:.+_spawn_egg$/,
      /^goblintraders:.+_spawn_egg$/,
      /^guardvillagers:.+_spawn_egg$/,
      /^graveyard:.+_spawn_egg$/,
      /^hexerei:.+_spawn_egg$/,
      /^immersiveengineering:.+_spawn_egg$/,
      /^kobolds:.+_spawn_egg$/,
      /^takesapillage:.+_spawn_egg$/,
      /^the_bumblezone:.+_spawn_egg$/,
      /^monsterplus:.+_spawn_egg$/,
      /^minecraft:.+_spawn_egg$/,
      /^mobcompack:.+_egg$/,
      /^majruszsdifficulty:.+_spawn_egg$/,
      /^mutantmonsters:.+_spawn_egg$/,
      /^mythicbotany:.+_spawn_egg$/,
      /^nasty:.+_spawn_egg$/,
      /^naturalist:.+_spawn_egg$/,
      /^quark:.+_spawn_egg$/,
      /^raided:.+_spawn_egg$/,
      /^twilightforest:.+_spawn_egg$/,
      /^undergarden:.+_spawn_egg$/,
      /^upgrade_aquatic:.+_spawn_egg$/,
      /^snowpig:.+_spawn_egg$/,
      /^thermal:.+_spawn_egg$/,
      /^vinery:.+_spawn_egg$/,
      'occultism:spawn_egg/afrit',
      'occultism:spawn_egg/afrit_wild',
      'occultism:spawn_egg/djinni',
      'occultism:spawn_egg/familiar_bat',
      'occultism:spawn_egg/familiar_beaver',
      'occultism:spawn_egg/familiar_beholder',
      'occultism:spawn_egg/familiar_blacksmith',
      'occultism:spawn_egg/familiar_chimera',
      'occultism:spawn_egg/familiar_cthulhu',
      'occultism:spawn_egg/familiar_deer',
      'occultism:spawn_egg/familiar_devil',
      'occultism:spawn_egg/familiar_dragon',
      'occultism:spawn_egg/familiar_fairy',
      'occultism:spawn_egg/familiar_goat',
      'occultism:spawn_egg/familiar_greedy',
      'occultism:spawn_egg/familiar_guardian',
      'occultism:spawn_egg/familiar_headless',
      'occultism:spawn_egg/familiar_mummy',
      'occultism:spawn_egg/familiar_parrot',
      'occultism:spawn_egg/familiar_shub_niggurath',
      'occultism:spawn_egg/foliot',
      'occultism:spawn_egg/marid',
      'occultism:spawn_egg/otherworld_bird',
      'occultism:spawn_egg/possessed_enderman',
      'occultism:spawn_egg/possessed_endermite',
      'occultism:spawn_egg/possessed_skeleton',
      'occultism:spawn_egg/wild_hunt_skeleton',
      'occultism:spawn_egg/wild_hunt_wither_skeleton',
      'occultism:debug_foliot_lumberjack',
      'occultism:debug_foliot_transport_items',
      'occultism:debug_foliot_cleaner',
      'occultism:debug_foliot_trader',
      'occultism:debug_djinni_manage_machine',
      'occultism:debug_djinni_test',
      /^cnb:.+_egg$/,
      'hunterillager:spawnegg_hunterillager',
      'inventorypets:easter_egg',
      /^twilightforest:boss_spawner_.+/
   ]

   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}`)
      })
   })

})
