JEIEvents.hideItems(event => {
    function seeds(id){
        event.hide('mysticalagriculture:' + id + 'seeds')
        event.hide('mysticalagriculture:' + id + 'essence')
    }
    seeds('limestone')
    seeds('tungsten')
    seeds('titanium')
    seeds('iridium')
    seeds('yellorium')
    seeds('mithril')
    seeds('chrome')

    function genericbees(id){
        event.hide(Item.of('productivebees:' + id + '_bee'))
        event.hide(Item.of('productivebees:spawn_egg_' + id + '_bee'))
    }
    genericbees('dye')
    genericbees('lumber')
    genericbees('quarry')
    genericbees('rancher')
    genericbees('collector')
    genericbees('hoarder')
    genericbees('farmer')
    genericbees('cupid')
    genericbees('neon_cuckoo')
    genericbees('mason')
    genericbees('leafcutter')
    genericbees('digger')
    genericbees('chocolate_mining')
    genericbees('yellow_black_carpenter')
    genericbees('green_carpenter')
    genericbees('blue_banded')
    genericbees('ashy_mining')
    genericbees('nomad')
    genericbees('reed')
    genericbees('resin')
    genericbees('sweat')
    genericbees('bumble')

    function bees(id){
        // Base configurable bee item (if present)
        event.hide(Item.of('productivebees:' + id).strongNBT())

        // Spawn egg (configurable bee variants)
        // Commonly uses EntityTag.type in JEI subtypes, but some builds expose a simple 'type' NBT
        event.hide(Item.of('productivebees:spawn_egg_configurable_bee', '{EntityTag:{type:"productivebees:' + id + '"}}').strongNBT())
        event.hide(Item.of('productivebees:spawn_egg_configurable_bee', '{type:"productivebees:' + id + '"}').strongNBT())

        // Combs/honeycombs (configurable items) – cover both NBT styles
        event.hide(Item.of('productivebees:configurable_honeycomb', '{EntityTag:{type:"productivebees:' + id + '"}}').strongNBT())
        event.hide(Item.of('productivebees:configurable_honeycomb', '{type:"productivebees:' + id + '"}').strongNBT())
        event.hide(Item.of('productivebees:configurable_comb', '{EntityTag:{type:"productivebees:' + id + '"}}').strongNBT())
        event.hide(Item.of('productivebees:configurable_comb', '{type:"productivebees:' + id + '"}').strongNBT())

        // Fallbacks for older fixed-name variants (no-op if they don’t exist)
        event.hide('productivebees:' + id + '_bee')
        event.hide('productivebees:spawn_egg_' + id + '_bee')
        event.hide('productivebees:honeycomb_' + id)
        event.hide('productivebees:comb_' + id)

        console.info(id + ' bee hidden!')
    }

    bees('experience')
    bees('insanium')
    bees('cinnabar')
    bees('prismarine')
    bees('sculk')
    bees('rune')
    bees('ostrum')
    bees('sponge')
    bees('imperium')
    bees('sussy')
    bees('sulfur')
    bees('warped')
    bees('ruby')
    bees('kamikaz')
    bees('brown_shroom')
    bees('arcane_debris')
    bees('prudentium')
    bees('frosty')
    bees('red_shroom')
    bees('inferium')
    bees('iridium')
    bees('calorite')
    bees('sapphire')
    bees('cheese')
    bees('cobalt')
    bees('pure')
    bees('oily')
    bees('sugarbag')
    bees('zombie')
    bees('pewter')
    bees('pink_slimy')
    bees('pepto_bismol')
    bees('niter')
    bees('soulium')
    bees('silky')
    bees('slimy')
    bees('desh')
    bees('salty')
    bees('etherium_ore')
    bees('peridot')
    bees('amber')
    bees('grave')
    bees('crimson')
    bees('graphite')
    bees('spatial')
    bees('spacial')
    bees('ether_gas')
    bees('arcane_crystal')
    bees('rose_quartz')
    bees('sky_steel')
    bees('tea')
    bees('magmatic')
    bees('fluix')
    bees('supremium')
    bees('apatite')
    bees('menril')
    bees('water')
    bees('tertium')
    bees('wasted_radioactive')
    bees('chocolate')
    bees('fluorite')
    bees('awakened_supremium')

    //Energy Conduit
    event.hide('enderio:energy_conduit')
    
})

ItemEvents.tooltip(event => {
  function beesTip(id){
  event.add('productivebees:' + id, [
    Text.of('This bee has been disabled.').red()
  ])
  }
  
  beesTip('ametrine')
  beesTip('apatite')
  beesTip('ashy_mining_bee')
  beesTip('awakened_supremium')
  beesTip('blue_banded_bee')
  beesTip('chocolate')
  beesTip('chocolate_mining_bee')
  beesTip('cinnabar')
  beesTip('collector_bee')
  beesTip('cupid_bee')
  beesTip('digger_bee')
  beesTip('emeraldite')
  beesTip('experience')
  beesTip('farmer_bee')
  beesTip('fluorite')
  beesTip('frosty')
  beesTip('geode')
  beesTip('grave')
  beesTip('green_carpenter_bee')
  beesTip('hoarder_bee')
  beesTip('imperium')
  beesTip('inferium')
  beesTip('insanium')
  beesTip('iridium')
  beesTip('kamikaz')
  beesTip('leafcutter_bee')
  beesTip('magmatic')
  beesTip('mason_bee')
  beesTip('neon_cuckoo_bee')
  beesTip('niter')
  beesTip('nomad_bee')
  beesTip('brown_shroom')
  beesTip('pendorite')
  beesTip('pepto_beesTipmol')
  beesTip('peridot')
  beesTip('pink_slimy')
  beesTip('prismarine')
  beesTip('prosperibee')
  beesTip('prudentium')
  beesTip('pure')
  beesTip('crimson')
  beesTip('dye_bee')
  beesTip('rancher_bee')
  beesTip('reed_bee')
  beesTip('resin_bee')
  beesTip('ruby')
  beesTip('sapphire')
  beesTip('sculk')
  beesTip('red_shroom')
  beesTip('silky')
  beesTip('slimy')
  beesTip('soulium')
  beesTip('sugarbag')
  beesTip('warped')
  beesTip('sponge')
  beesTip('sulfur')
  beesTip('supremium')
  beesTip('sweat_bee')
  beesTip('tea')
  beesTip('tertium')
  beesTip('yellow_carpenter_bee')
})
