// Tooltips for items/blocks added by Craftoria
// or things that would've had too little stuff to warrant their own file/folder.
ItemEvents.modifyTooltips(e => {
  globalItemRemovals.forEach(item => {
    e.add(item, [
      Text.red('This item has been disabled.'),
      Text.red("If you're playing in singleplayer, or are a server admin,"),
      Text.red("if you want to enable it, go to 'kubejs/removals.js'"),
      Text.red('and remove the item from globalItemRemovals.'),
    ]);
  });

  disabledItems.forEach((item) => {
    if(item.alt === null){
      e.add(item.id, [
        Text.red('This item has been disabled in favor of better alternatives.'),
        Text.red('Its functionality remains intact, but it is no longer craftable.'),
      ]);
    }else{
      e.add(item.id, [
        Text.red(`This item has been disabled in favor of ${item.alt}.`),
        Text.red('Its functionality remains intact, but it is no longer craftable.'),
      ]);
    }
  });

  e.add('pipe_connector:pipe_connector', { shift: true }, [Text.gold('Check EMI for supported pipes.')]);
  e.add('#cookingforblockheads:sinks', [Text.red("Doesn't provide infinite water.")]);
  e.add('eternal_starlight:red_starlight_crystal_shard', { shift: false }, holdShift);
  e.add('eternal_starlight:red_starlight_crystal_shard', { shift: true }, [
    Text.lightPurple('Can be found in the Starlight dimension within the Crystalized biomes.'),
  ]);
});
