JEIEvents.hideItems( e => {
  let colors = ['cyan', 'purple', 'blue', 'brown', 'green', 'red', 'black', 'white', 'orange', 'magenta', 'light_blue', 'yellow', 'lime', 'pink', 'gray', 'light_gray']

  let itemsToHide = [
    /.*spawn_egg.*/,
    /ae2:facade/,
    /^aquaculture:.+_bucket$/,

    /^alexsmobs:.*_bucket$/,
    /^alexsmobs:.*_egg$/,
    /^alexsmobs:leafcutter_.+/,
    /^blue_skies:.+_ore$/,
    /^blue_skies:ventium_.+_bucket$/,
    /^blue_skies:molten_.+_bucket$/,
    /^betteranimalsplus:.*_bucket$/,

    '@chipped',

    /^cyclic:.*_bucket$/,
    'cyclic:uncrafter',
    'cyclic:compressed_cobblestone',
    'croptopia:salt_ore',
    'culturaldelights:eggplant_crate',

    '@dungeons_gear',

    /^doggytalents:dog_bed$/,

    /^environmental:.+_bucket$/,
    /^experienceobelisk:.+_bucket$/,
    /^forcecraft:.+_flask$/,
    /^forcecraft:.+_ore$/,
    /^forcecraft:.+_bucket$/,
    /^ftbquests:.+/,
    'hunterillager:spawnegg_hunterillager',
    /^inventorypets:.+_spawn$/,

    'libraryferret:fake_iron_block',
    'libraryferret:fake_gold_block',
    'libraryferret:fake_emerald_block',
    'libraryferret:fake_diamond_block',
    'libraryferret:fake_netherite_block',
    /^materialis:molten_.+_bucket$/,

    /^minecraft:.+_(ore|bucket)$/,
    /^minecraft:infested_.+/,
    'minecraft:bedrock',
    'minecraft:end_portal_frame',
    'minecraft:chorus_plant',
    'minecraft:chipped_anvil',
    'minecraft:damaged_anvil',
    'minecraft:ender_chest',

    /^minecolonies:.+egg/,
    /^mysticalagradditions:.+_(ore|bucket)$/,
    /^mysticalagriculture:.+_ore$/,

    /^quark:.+_ore$/,
    /^quark:ancient_tome$/,
    /^quark:backpack$/,
    /^quark:.+_bucket$/,
    /^quark:.+_pouch$/,
    /^quark:.+_shard$/,
    /^quark:.+_crystal_cluster$/,
    /^quark:.+_leaves$/,

    '@rechiseled',

    /^sushigocrafting:.+_bucket$/,

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

    /^twilightforest:force_field_.+/,
    /^twilightforest:boss_spawner_.+/,
    /^twilightforest:shader_bag_.+/,
    /^twilightforest:castle_door_.+/,
    /^twilightforest:castle_brick_.+/,
    /^twilightforest:fake_.+/,
    /^twilightforest:giant_.+/,
    /^twilightforest:.+_miniature_structure$/,
    /^twilightforest:.+door$/,
    /^twilightforest:.+_leaves$/,
    /^twilightforest:.+_trophy$/,
    /^twilightforest:.+_core$/,
    /^twilightforest:.+_cloud$/,
    'twilightforest:uncrafting_table',
    'twilightforest:cube_of_annihilation',
    'twilightforest:moon_dial',
    'twilightforest:cinder_furnace',
    'twilightforest:cinder_log',
    'twilightforest:cinder_wood',
    'twilightforest:slider',
    'twilightforest:hedge',
    'twilightforest:root',
    'twilightforest:liveroot_block',
    'twilightforest:moss_patch',
    'twilightforest:mayapple',
    'twilightforest:clover_patch',
    'twilightforest:fiddlehead',
    'twilightforest:mushgloom',
    'twilightforest:torchberry_plant',
    'twilightforest:root_strand',
    'twilightforest:firefly',
    'twilightforest:cicada',
    'twilightforest:moonworm',
    'twilightforest:ore_meter',
    'twilightforest:magic_map',
    'twilightforest:maze_map',
    'twilightforest:ore_map',
    'twilightforest:liveroot',
    'twilightforest:transformation_powder',
    'twilightforest:maze_wafer',
    'twilightforest:tower_key',
    'twilightforest:brown_thorns',
    'twilightforest:green_thorns',
    'twilightforest:burnt_thorns',
    'twilightforest:thorn_rose',
    'twilightforest:cube_talisman',
    'twilightforest:keepsake_casket',
    'twilightforest:huge_waterlily',
    'twilightforest:huge_lilypad',
    'twilightforest:auroralized_glass',
    'twilightforest:trollsteinn',
    'twilightforest:aurora_block',
    'twilightforest:trollvidr',
    'twilightforest:unripe_trollber',
    'twilightforest:aurora_block',
    'twilightforest:huge_mushgloom',
    'twilightforest:huge_mushgloom_stem',
    'twilightforest:uberous_soil',
    'twilightforest:huge_stalk',
    'twilightforest:trollber',
    'twilightforest:deadrock',
    'twilightforest:deadrock_cracked',
    'twilightforest:deadrock_weathered',
    'twilightforest:stone_twist',
    'twilightforest:stone_twist_thin',
    'twilightforest:mazestone',
    'twilightforest:underbrick_floor',

    /^undergarden:.+_bucket$/,
    /^undergarden:.+_ore$/,
    /^upgrade_aquatic:.+_bucket$/,
    /^upgrade_aquatic:.+_torch$/,
    'upgrade_aquatic:embedded_ammonite',
    'valhelsia_structures:special_spawner',
    /^viescraftmachines:.+_machine_remover$/,

    /^reliquary:bullets\/neutral_bullet$/,
    /^reliquary:magazines\/neutral_magazine$/
  ]

  itemsToHide.forEach(i => e.hide(i))
  colors.forEach(c => { if (c != 'light_blue') e.hide(`/^refinedstorage:${c}_.+/`) })
})

JEIEvents.hideFluids( e => e.hideAll())
