JEIEvents.hideItems((event) => {
  event.hide([
    "mysticalagriculture:end_steel_seeds",
    "mysticalagriculture:end_steel_essence",
    "mysticalagriculture:vibrant_alloy_seeds",
    "mysticalagriculture:sapphire_seeds",
    "mysticalagriculture:chrome_seeds",
    "mysticalagriculture:brass_seeds",
    "mysticalagriculture:redstone_alloy_seeds",
    "mysticalagriculture:mithril_seeds",
    "mysticalagriculture:refined_obsidian_seeds",
    "mysticalagriculture:iridium_seeds",
    "mysticalagriculture:enderium_seeds",
    "mysticalagriculture:steel_seeds",
    "mysticalagriculture:invar_seeds",
    "mysticalagriculture:quartz_enriched_iron_seeds",
    "mysticalagriculture:copper_alloy_seeds",
    "mysticalagriculture:compressed_iron_seeds",
    "mysticalagriculture:signalum_seeds",
    "mysticalagriculture:peridot_seeds",
    "mysticalagriculture:energetic_alloy_seeds",
    "mysticalagriculture:lumium_seeds",
    "mysticalagriculture:fluix_seeds",
    "mysticalagriculture:conductive_alloy_seeds",
    "mysticalagriculture:tungsten_seeds",
    "mysticalagriculture:flux_infused_ingot_seeds",
    "mysticalagriculture:energized_steel_seeds",
    "mysticalagriculture:refined_glowstone_seeds",
    "mysticalagriculture:electrum_seeds",
    "mysticalagriculture:pulsating_alloy_seeds",
    "mysticalagriculture:grains_of_infinity_seeds",
    "mysticalagriculture:rubber_seeds",
    "mysticalagriculture:soularium_seeds",
    "mysticalagriculture:titanium_seeds",
    "mysticalagriculture:dark_steel_seeds",
    "mysticalagriculture:ruby_seeds",
    "mysticalagriculture:constantan_seeds",
    "mysticalagriculture:bronze_seeds",
    "mysticalagriculture:silicon_seeds",
    "mysticalagriculture:platinum_seeds",
    "mysticalagriculture:flux_infused_gem_seeds",
    "mysticalagriculture:flux_infused_gem_essence",
    "mysticalagriculture:platinum_essence",
    "mysticalagriculture:silicon_essence",
    "mysticalagriculture:bronze_essence",
    "mysticalagriculture:constantan_essence",
    "mysticalagriculture:ruby_essence",
    "mysticalagriculture:dark_steel_essence",
    "mysticalagriculture:titanium_essence",
    "mysticalagriculture:soularium_essence",
    "mysticalagriculture:electrum_essence",
    "mysticalagriculture:rubber_essence",
    "mysticalagriculture:invar_essence",
    "mysticalagriculture:enderium_essence",
    "mysticalagriculture:refined_glowstone_essence",
    "mysticalagriculture:refined_obsidian_essence",
    "mysticalagriculture:iridium_essence",
    "mysticalagriculture:brass_essence",
    "mysticalagriculture:signalum_essence",
    "mysticalagriculture:peridot_essence",
    "mysticalagriculture:lumium_essence",
    "mysticalagriculture:conductive_alloy_essence",
    "mysticalagriculture:energetic_alloy_essence",
    "mysticalagriculture:copper_alloy_essence",
    "mysticalagriculture:compressed_iron_essence",
    "mysticalagriculture:vibrant_alloy_essence",
    "mysticalagriculture:sapphire_essence",
    "mysticalagriculture:chrome_essence",
    "mysticalagriculture:fluix_essence",
    "mysticalagriculture:redstone_alloy_essence",
    "mysticalagriculture:mithril_essence",
    "mysticalagriculture:tungsten_essence",
    "mysticalagriculture:flux_infused_ingot_essence",
    "mysticalagriculture:energized_steel_essence",
    "mysticalagriculture:pulsating_alloy_essence",
    "mysticalagriculture:steel_essence",
    "mysticalagriculture:quartz_enriched_iron_essence",
    "mysticalagriculture:grains_of_infinity_essence",
  ]);
  event.hide([
    "reliquary:rod_of_lyssa",
    "reliquary:destruction_catalyst",
    "reliquary:hole_hand_grenade",
    "reliquary:sojourner_staff",
    "reliquary:lantern_of_paranoia",
    "reliquary:alkahestry_tome",
  ]);
  event.hide("mekanism:upgrade_anchor");
  event.hide([
    "draconicevolution:item_wyvern_flight",
    "draconicevolution:item_draconic_flight",
    "draconicevolution:item_chaotic_flight",
    "draconicevolution:reactor_core",
    "draconicevolution:celestial_manipulator",
    "draconicevolution:draconium_chest",
    "draconicevolution:reactor_injector",
    "draconicevolution:reactor_stabilizer",
    "draconicevolution:reactor_prt_focus_ring",
    "draconicevolution:reactor_prt_in_rotor",
    "draconicevolution:reactor_prt_out_rotor",
    "draconicevolution:reactor_prt_rotor_full",
    "draconicevolution:reactor_prt_stab_frame",
  ]);
  event.hide("mekanism:upgrade_anchor");
  event.hide([
    "thermal:fluid_reservoir",
    "thermal:lightning_tnt",
    "thermal:phyto_tnt",
    "thermal:redstone_tnt",
    "thermal:earth_tnt",
    "thermal:nuke_grenade",
    "thermal:fire_tnt",
    "thermal:nuke_tnt",
    "thermal:earth_grenade",
    "thermal:redstone_grenade",
    "thermal:fire_grenade",
    "thermal:ender_grenade",
    "thermal:ice_grenade",
    "thermal:slime_grenade",
    "thermal:glowstone_grenade",
    "thermal:phyto_grenade",
    "thermal:slime_tnt",
    "thermal:ender_tnt",
    "thermal:lightning_grenade",
    "thermal:explosive_grenade",
    "thermal:glowstone_tnt",
    "thermal:ice_tnt",
    "thermal:glowstone_grenade",
    "thermal:ice_grenade",
    "thermal:earth_tnt",
    "thermal:fire_grenade",
  ]);
  event.hide([
    "bloodmagic:fungal_charge_2",
    "bloodmagic:sigilofsuppression",
    "bloodmagic:aug_shaped_charge",
    "bloodmagic:veinmine_charge",
    "bloodmagic:fungal_charge",
    "bloodmagic:shaped_charge",
    "bloodmagic:deforester_charge_2",
    "bloodmagic:fungal_charge_2",
    "bloodmagic:deforester_charge",
    "bloodmagic:veinmine_charge_2",
    "bloodmagic:aug_shaped_charge",
    "bloodmagic:shaped_charge_deep",
    "bloodmagic:sigilofsuppression",
  ]);
  event.hide([
    "expatternprovider:me_packing_tape",
    "expatternprovider:ex_charger",
    "expatternprovider:ex_io_port",
  ]);
  event.hide([
    "botania:lens_gravity",
    "botania:ender_hand",
    "botania:laputa_shard",
    "botania:dirt_rod",
    "botania:skydirt_rod",
    "botania:terraform_rod",
    "botania:cobble_rod",
  ]);

  event.hide(/ae2:facade/);
  event.hide("ae2:spatial_anchor");
  event.hide("expatternprovider:wireless_ex_pat");
  event.hide("expatternprovider:ex_pattern_access_part")
  event.hide("engineersdecor:factory_placer");
  event.hide("pneumaticcraft:chunkloader_upgrade");
  event.hide("mysticalagriculture:flight_augment");
  event.hide("ae2:matter_cannon");
  event.hide([
    "refinedstorage:destructor",
    "supplementaries:slingshot",
    "refinedstorage:destructor",
    "refinedstorage:constructor",
    "industrialforegoing:infinity_nuke",
    "wonderfulhats:hatmaker",
    "industrialforegoing:infinity_launcher",
    "artifacts:fire_gauntlet",
    "supplementaries:sack",
    "constructionwand:core_angel",
    "constructionwand:core_destruction",
  ]);

  event.hide(["pipez:ultimate_upgrade", "pipez:universal_pipe"]);

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

  Color.DYE.forEach((color) => {
    [
      "smart_cable",
      "glass_cable",
      "covered_cable",
      "smart_dense_cable",
      "covered_dense_cable",
    ].forEach((cable) => {
      event.hide(`ae2:${color}_${cable}`);
    });
  });

  // Esconder variantes específicas de clear glass e fused quartz
  event.hide(
    /enderio:clear_glass_(a|da|dm|dna|dnp|dp|e|e_)?(black|blue|brown|cyan|gray|green|light_blue|light_gray|lime|magenta|orange|pink|purple|red|white|yellow)?/
  );
  event.hide(
    /enderio:fused_quartz_(a|da|dm|dna|dnp|dp|e|e_)?(black|blue|brown|cyan|gray|green|light_blue|light_gray|lime|magenta|orange|pink|purple|red|white|yellow)?/
  );

  // Definindo as cores
  const colors = [
    "white",
    "orange",
    "magenta",
    "light_blue",
    "yellow",
    "lime",
    "pink",
    "gray",
    "light_gray",
    "cyan",
    "purple",
    "blue",
    "brown",
    "green",
    "red",
    "black",
  ];

  // Definindo os materiais base
  const materials = ["terracotta", "concrete", "glazed_terracotta"];

  // Definindo os tipos de botany pots
  const tiers = ["elite", "ultra", "creative"];

  // Iterando sobre cada combinação de cor, material, tipo de botany pot e tier
  colors.forEach((color) => {
    materials.forEach((material) => {
      tiers.forEach((tier) => {
        event.hide(`botanypots:${color}_${material}_botany_pot`);
        event.hide(`botanypots:${color}_${material}_hopper_botany_pot`);
        event.hide(`botanypotstiers:${tier}_${color}_${material}_botany_pot`);
        event.hide(
          `botanypotstiers:${tier}_${color}_${material}_hopper_botany_pot`
        );
      });
    });
  });

  event.hide("rftoolsutility:flight_module");
});
