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.*/,
    /^aquaculture:.+_bucket$/,

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

    /^cfm:(?!.*spruce).+_(table|chair|cabinet|desk|blinds|fence|gate|crate|bench|mail_box|hedge|counter|drawer|sink_light|sink_dark)$/,
    /^cfm:(?!.*white).+_(sofa|cooler|grill|counter|fence|gate|drawer|kitchen_sink)$/,
    /^morecfm:(?!.*spruce).+_(table|chair|cabinet|desk|blinds|fence|gate|crate|bench|mail_box|hedge|counter|drawer|sink_light|sink_dark)$/,
    /^morecfm:(?!.*white).+_(sofa|cooler|grill|counter|fence|gate|drawer|kitchen_sink)$/,

    '@chipped',

    'croptopia:salt_ore',

    '@dungeons_gear',

    /^doggytalents:dog_bed$/,

    /^environmental:.+_bucket$/,
    'experienceobelisk:raw_experience_bucket',
    'hunterillager:spawnegg_hunterillager',

    'libraryferret:fake_iron_block',
    'libraryferret:fake_gold_block',
    'libraryferret:fake_emerald_block',
    'libraryferret:fake_diamond_block',
    'libraryferret:fake_netherite_block',

    /^mcwbridges:(?!.*spruce).+_(log_bridge_middle|bridge|bridge_pier|bridge_stair)$/,
    /^mcwdoors:(?!.*spruce).+_door$/,
    /^mcwfences:(?!.*spruce).+_(fence|gate|wall)$/,
    /^mcwfencesbop:.+_(fence|gate|wall)$/,
    /^mcwfurnitures:(?!.*spruce).+_(wardrobe|bookshelf|cupboard|drawer|desk|table|chair|counter)$/,
    /^mcwlights:(?!.*spruce).+_(lamp|torch|ceiling_light)$/,
    /^mcwroofs:(?!.*spruce).+_(awning|roof)$/,
    /^mcwroofs:gutter_(?!.*base).+/,
    /^mcwwindows:(?!.*spruce).+_(window|window2|parapet|blinds)$/,

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

    /^minecolonies:.+egg/,

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

    /^quark:.+_ore$/,
    /^quark:ancient_tome$/,
    /^quark:backpack$/,
    /^quark:.+_bucket$/,
    /^quark:.+_pouch$/,
    /^quark:.+_shard$/,
    /^quark:.+_crystal_cluster$/,
    /^quark:.+_leaves$/,
    'quark:magnet',
    'quark:pipe',
    'quark:soul_compass',
    'quark:bottled_cloud',
    'quark:matrix_enchanter',
    'quark:chorus_weeds',
    'quark:chorus_twist',
    'quark:crate',
    'quark:bonded_ravager_hide',
    'quark:ravager_hide',
    'quark:music_disc_endermosh',
    'quark:abacus',
    'quark:glowcelium',

    '@rechiseled',


    /^structurize:.+timber_frame$/,
    /^structurize:.+shingle$/,
    /^structurize:.+shingle_slab$/,
    /supplementaries:bamboo_spikes_tipped/,

    /^tofucraft:.+egg/,
    '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:death_tome_spawner',
    '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',

    /^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())
