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


      //=== 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',
      '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',
      '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',
      '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',
      /^exdeorum:.+_pebble$/,
      'strainers:deepslate_pebble',
      'strainers:stone_pebble',
      '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',
      'moremekanismprocessing:dust_draconium',
      'moremekanismprocessing:draconium_ingot',
      'moremekanismprocessing:draconium_nugget',
      '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',
      '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',
      'opolisutilities:ender_pearl_fragment',
      'enderio:xp_juice_bucket',
      'pneumaticcraft:memory_essence_bucket',
      'sophisticatedstorage:pump_upgrade',
      'sophisticatedstorage:advanced_pump_upgrade',
      'sophisticatedstorage:xp_pump_upgrade',
      'sophisticatedstorage:infinity_upgrade',
      'sophisticatedstorage:survival_infinity_upgrade',
      'sophisticatedbackpacks:survival_infinity_upgrade',
      'sophisticatedbackpacks:infinity_upgrade',
      Ingredient.of(/boron/),
      Ingredient.of(/crimson_iron/),
      Ingredient.of(/tungsten/),
      /^moremekanismprocessing:.+thorium+$/,
      Ingredient.of(/titanium/),
      Ingredient.of(/lithium/),
      Ingredient.of(/bismuth/),
      Ingredient.of(/magnesium/),
      Ingredient.of(/azure_silver/),
      /^moremekanismprocessing:.+coal+$/,

      //=== 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',
      '@obtrophies',
      '@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_.+/
   ]
    const oPlenty = [
      'fir',
      'redwood',
      'mahogany',
      'jacaranda',
      'palm',
      'willow',
      'dead',
      'magic',
      'umbran',
      'hellbark'
    ]
    const weveGone = [
      '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'
    ]

   hide.forEach((id) => {
      event.hide(id)
   })
   oPlenty.forEach((woodType) => {
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_full_drawers_1`)
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_full_drawers_2`) 
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_full_drawers_4`) 
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_half_drawers_1`) 
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_half_drawers_2`) 
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_half_drawers_4`)
      event.hide(`storagedrawersextra:biomesoplenty_${woodType}_trim`)
   })
   weveGone.forEach((woodType) => {
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_full_drawers_1`)
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_full_drawers_2`) 
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_full_drawers_4`) 
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_half_drawers_1`) 
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_half_drawers_2`) 
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_half_drawers_4`)
      event.hide(`storagedrawersextra:biomeswevegone_${woodType}_trim`)
   })

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



   event.hide('actuallyadditions:tiny_charcoal')
   event.hide('actuallyadditions:tiny_coal')
   event.hide('ironcoals:charcoal_chunk')
   event.hide('ironcoals:base_coal_chunk')
   event.hide('mobees:coal_bit')
   event.hide('opolisutilities:mini_coal')
    
})
