// Tooltips for Your Items

import crafttweaker.api.item.IItemStack;
import crafttweaker.api.util.text.MCStyle;
import crafttweaker.api.util.text.MCTextComponent;

// Styles of tooltip for fancy lettering
// ---------------------------------------------------------------------------------------------------------------------------------------------
var ttGeneric = new MCStyle;
ttGeneric = ttGeneric.setColor(0xAAAAAA);
var ttLime = new MCStyle;
ttLime = ttLime.setColor(0x55FF55);
var ttRed = new MCStyle;
ttRed = ttRed.setColor(0xFF5555);
var ttBlue = new MCStyle;
ttBlue = ttBlue.setColor(0x55FFFF);
var ttYellow = new MCStyle;
ttYellow = ttYellow.setColor(0xFFFF55);
// ---------------------------------------------------------------------------------------------------------------------------------------------


// Tooltipping
// ---------------------------------------------------------------------------------------------------------------------------------------------
<item:twilightforest:root>.addTooltip(MCTextComponent.createStringTextComponent("Can be found underneath").setStyle(ttGeneric));
<item:twilightforest:root>.addTooltip(MCTextComponent.createStringTextComponent("Twilight Forest Trees.").setStyle(ttGeneric));
<item:twilightforest:liveroot_block>.addTooltip(MCTextComponent.createStringTextComponent("Can be found underneath").setStyle(ttGeneric));
<item:twilightforest:liveroot_block>.addTooltip(MCTextComponent.createStringTextComponent("Twilight Forest Trees.").setStyle(ttGeneric));
<item:twilightforest:liveroot>.addTooltip(MCTextComponent.createStringTextComponent("Found when breaking").setStyle(ttGeneric));
<item:twilightforest:liveroot>.addTooltip(MCTextComponent.createStringTextComponent("Liveroots blocks.").setStyle(ttGeneric));
<item:twilightforest:thorn_rose>.addTooltip(MCTextComponent.createStringTextComponent("Looks great in a").setStyle(ttGeneric));
<item:twilightforest:thorn_rose>.addTooltip(MCTextComponent.createStringTextComponent("Glass Item Frame.").setStyle(ttGeneric));
<item:quark:bottled_cloud>.addTooltip(MCTextComponent.createStringTextComponent("Click on a Cloud").setStyle(ttGeneric));
<item:quark:bottled_cloud>.addTooltip(MCTextComponent.createStringTextComponent("with a Glass Bottle.").setStyle(ttGeneric));
<item:druidcraft:darkwood_sapling>.addTooltip(MCTextComponent.createStringTextComponent("A domesticated variety").setStyle(ttGeneric));
<item:druidcraft:darkwood_sapling>.addTooltip(MCTextComponent.createStringTextComponent("of the Darkwood Sapling.").setStyle(ttGeneric));
<item:quark:limestone>.addTooltip(MCTextComponent.createStringTextComponent("Spawns in Swampy Areas.").setStyle(ttGeneric));
<item:quark:jasper>.addTooltip(MCTextComponent.createStringTextComponent("Spawns in Fiery Areas.").setStyle(ttGeneric));
<item:quark:slate>.addTooltip(MCTextComponent.createStringTextComponent("Spawns in Cold Areas.").setStyle(ttGeneric));

<item:astral:sleepless_eye>.addTooltip(MCTextComponent.createStringTextComponent("Can only be obtained by Astral players.").setStyle(ttBlue));
<item:astral:phantom_edge>.addTooltip(MCTextComponent.createStringTextComponent("Can only be obtained by Astral players.").setStyle(ttBlue));
<item:contenttweaker:astral_anchor>.addTooltip(MCTextComponent.createStringTextComponent("Tethers you to the astral until dropped,").setStyle(ttBlue));
<item:contenttweaker:astral_anchor>.addTooltip(MCTextComponent.createStringTextComponent("when held by your Astral Self.").setStyle(ttBlue));

<item:contenttweaker:potentia_sapling>.addTooltip(MCTextComponent.createStringTextComponent("Full of magical energy,").setStyle(ttGeneric));
<item:contenttweaker:potentia_sapling>.addTooltip(MCTextComponent.createStringTextComponent("can be used to craft").setStyle(ttGeneric));
<item:contenttweaker:potentia_sapling>.addTooltip(MCTextComponent.createStringTextComponent("Archwood Saplings.").setStyle(ttGeneric));

<item:metalbushesmod:blaze_bush>.addTooltip(MCTextComponent.createStringTextComponent("Planted on Sand.").setStyle(ttGeneric));
<item:metalbushesmod:nether_quartz_bush>.addTooltip(MCTextComponent.createStringTextComponent("Planted on Netherrack.").setStyle(ttGeneric));

<item:minecraft:bee_nest>.addTooltip(MCTextComponent.createStringTextComponent("Can be(e) obtained the vanilla way.").setStyle(ttGeneric));

<item:twilightforest:sorting_log_core>.addTooltip(MCTextComponent.createStringTextComponent("Won't work on the Iron Chest mod's Chests.").setStyle(ttRed));

<item:contenttweaker:blood_thorn>.addTooltip(MCTextComponent.createStringTextComponent("Stylish, but ineffective.").setStyle(ttGeneric));
<item:contenttweaker:theurgic_knowledge>.addTooltip(MCTextComponent.createStringTextComponent("All the knowledge your parton has granted,").setStyle(ttGeneric));
<item:contenttweaker:theurgic_knowledge>.addTooltip(MCTextComponent.createStringTextComponent("Packaged up in a nice little book.").setStyle(ttGeneric));

<item:occultism:iesnium_ore_natural>.addTooltip(MCTextComponent.createStringTextComponent("You should look into it further.").setStyle(ttGeneric));
<item:supplementaries:soul_jar>.addTooltip(MCTextComponent.createStringTextComponent("Click some Soul Sand whilst wearing").setStyle(ttGeneric));
<item:supplementaries:soul_jar>.addTooltip(MCTextComponent.createStringTextComponent("Soul Speed and holding a Tinted Jar.").setStyle(ttGeneric));

<item:astral:offering_brazier>.addTooltip(MCTextComponent.createStringTextComponent("You can still transfer stuff to your Astral Inventory,").setStyle(ttGeneric));
<item:astral:offering_brazier>.addTooltip(MCTextComponent.createStringTextComponent("just pick up the item and click on the button whilst").setStyle(ttGeneric));
<item:astral:offering_brazier>.addTooltip(MCTextComponent.createStringTextComponent("holding it, since this block's bugged.").setStyle(ttGeneric));

<item:contenttweaker:kit_ancient>.addTooltip(MCTextComponent.createStringTextComponent("A collection of items for the Crystalline Mage.").setStyle(ttBlue));
<item:contenttweaker:kit_ancient>.addTooltip(MCTextComponent.createStringTextComponent("(Astral Sorcery, Elemental Craft, Ars Nouveau)").setStyle(ttGeneric));
<item:contenttweaker:kit_cursed>.addTooltip(MCTextComponent.createStringTextComponent("A collection of items for the Dark Mage.").setStyle(ttRed));
<item:contenttweaker:kit_cursed>.addTooltip(MCTextComponent.createStringTextComponent("(Blood Magic, Eidolon, Occultism)").setStyle(ttGeneric));
<item:contenttweaker:kit_living>.addTooltip(MCTextComponent.createStringTextComponent("A collection of items for the Natural Mage.").setStyle(ttLime));
<item:contenttweaker:kit_living>.addTooltip(MCTextComponent.createStringTextComponent("(Botania, Roots, Nature's Aura)").setStyle(ttGeneric));

<item:contenttweaker:astrolabe>.addTooltip(MCTextComponent.createStringTextComponent("A rather old astrolabe, it appears").setStyle(ttGeneric));
<item:contenttweaker:astrolabe>.addTooltip(MCTextComponent.createStringTextComponent("to contain knowledge of Horologium.").setStyle(ttGeneric));

<item:contenttweaker:ending_living>.addTooltip(MCTextComponent.createStringTextComponent("Right-click to win!").setStyle(ttLime));
<item:contenttweaker:ending_cursed>.addTooltip(MCTextComponent.createStringTextComponent("Right-click to win!").setStyle(ttRed));
<item:contenttweaker:ending_ancient>.addTooltip(MCTextComponent.createStringTextComponent("Right-click to win!").setStyle(ttBlue));
<item:contenttweaker:ending_true>.addTooltip(MCTextComponent.createStringTextComponent("Right-click to win, for real this time.").setStyle(ttYellow));
<item:contenttweaker:readme>.addTooltip(MCTextComponent.createStringTextComponent("Right-click to recieve important information.").setStyle(ttGeneric));

<item:contenttweaker:emerald_eclair>.addTooltip(MCTextComponent.createStringTextComponent("A Vestige of Villager Vibes.").setStyle(ttLime));

<item:tomes:ancient_heart>.removeTooltip("(drop)");
<item:tomes:ancient_heart>.removeTooltip("(for)");
<item:tomes:ancient_heart>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Snow Queen.").setStyle(ttBlue));
<item:tomes:beating_heart>.removeTooltip("(drop)");
<item:tomes:beating_heart>.removeTooltip("(for)");
<item:tomes:beating_heart>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Hydra.").setStyle(ttLime));
<item:tomes:sweet_heart>.removeTooltip("(drop)");
<item:tomes:sweet_heart>.removeTooltip("(for)");
<item:tomes:sweet_heart>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Ur-Ghast.").setStyle(ttRed));

// ---------------------------------------------------------------------------------------------------------------------------------------------


// Mob drop tooltips, out of spite for JER.
// Pretty please support datapacks!!!!!
// ---------------------------------------------------------------------------------------------------------------------------------------------
<item:quark:biotite>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Adherents.").setStyle(ttYellow));
<item:quark:myalite>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Harbinger Cubes.").setStyle(ttYellow));
<item:astral:feverweed>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Minotaurs.").setStyle(ttYellow));
<item:quark:ravager_hide>.addTooltip(MCTextComponent.createStringTextComponent("Rare drop from Minotaurs.").setStyle(ttYellow));
<item:ars_nouveau:mana_gem>.removeTooltip("(Source Gem Ore)");
<item:ars_nouveau:mana_gem>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Redcaps.").setStyle(ttYellow));
<item:elementalcraft:inertcrystal>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Redcaps.").setStyle(ttYellow));
<item:astralsorcery:aquamarine>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Redcaps.").setStyle(ttYellow));
<item:botania:fertilizer>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Skeleton Druids.").setStyle(ttYellow));
<item:rootsclassic:verdant_sprig>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Skeleton Druids.").setStyle(ttYellow));
<item:naturesaura:gold_leaf>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Skeleton Druids.").setStyle(ttYellow));
<item:minecraft:quartz>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from The Snow Queen's Minions.").setStyle(ttYellow));
<item:minecraft:ancient_debris>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Cave Trolls.").setStyle(ttYellow));
<item:bloodmagic:blankslate>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Twilight Wraiths.").setStyle(ttYellow));
<item:eidolon:soul_shard>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Twilight Wraiths.").setStyle(ttYellow));
<item:occultism:spirit_attuned_gem>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Twilight Wraiths.").setStyle(ttYellow));
<item:astral:snowberry>.addTooltip(MCTextComponent.createStringTextComponent("Uncommon drop from Yetis.").setStyle(ttYellow));
<item:druidcraft:brightstone>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Giants.").setStyle(ttYellow));
<item:minecraft:flint>.addTooltip(MCTextComponent.createStringTextComponent("Common drop from Kobolds.").setStyle(ttYellow));

// And all the Artifacts, as well.
<item:artifacts:umbrella>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Naga.").setStyle(ttYellow));
<item:artifacts:everlasting_beef>.addTooltip(MCTextComponent.createStringTextComponent("Awarded from a Ram's Quest.").setStyle(ttYellow));
<item:artifacts:plastic_drinking_hat>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hollow Hill.").setStyle(ttYellow));
<item:artifacts:novelty_drinking_hat>.addTooltip(MCTextComponent.createStringTextComponent("Looted from an End Growth.").setStyle(ttYellow));
<item:artifacts:snorkel>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Dread Reef.").setStyle(ttYellow));
<item:artifacts:night_vision_goggles>.addTooltip(MCTextComponent.createStringTextComponent("Crafted from Ethereal Materials.").setStyle(ttYellow));
<item:artifacts:villager_hat>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Druidic Hut.").setStyle(ttYellow));
<item:artifacts:superstitious_hat>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Naga.").setStyle(ttYellow));
<item:artifacts:lucky_scarf>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Naga.").setStyle(ttYellow));
<item:artifacts:scarf_of_invisibility>.addTooltip(MCTextComponent.createStringTextComponent("Crafted from Ethereal Materials.").setStyle(ttYellow));
<item:artifacts:cross_necklace>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Twilight Lich.").setStyle(ttYellow));
<item:artifacts:panic_necklace>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Druidic Hut.").setStyle(ttYellow));
<item:artifacts:shock_pendant>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Ur-Ghast.").setStyle(ttYellow));
<item:artifacts:flame_pendant>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from Foxhounds.").setStyle(ttYellow));
<item:artifacts:thorn_pendant>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hedge Maze.").setStyle(ttYellow));
<item:artifacts:charm_of_sinking>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Dread Reef.").setStyle(ttYellow));
<item:artifacts:cloud_in_a_bottle>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Snow Queen.").setStyle(ttYellow));
<item:artifacts:obsidian_skull>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from Wither Skeletons.").setStyle(ttYellow));
<item:artifacts:antidote_vessel>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Druidic Hut.").setStyle(ttYellow));
<item:artifacts:universal_attractor>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hollow Hill.").setStyle(ttYellow));
<item:artifacts:crystal_heart>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Hydra.").setStyle(ttYellow));
<item:artifacts:helium_flamingo>.addTooltip(MCTextComponent.createStringTextComponent("Looted from an End Growth.").setStyle(ttYellow));
<item:artifacts:digging_claws>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Beetle's Mound.").setStyle(ttYellow));
<item:artifacts:feral_claws>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Beetle's Mound.").setStyle(ttYellow));
<item:artifacts:power_glove>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hollow Hill.").setStyle(ttYellow));
<item:artifacts:fire_gauntlet>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from Foxhounds.").setStyle(ttYellow));
<item:artifacts:pocket_piston>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Ur-Ghast.").setStyle(ttYellow));
<item:artifacts:vampiric_glove>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Phantom Knights.").setStyle(ttYellow));
<item:artifacts:golden_hook>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Twilight Lich.").setStyle(ttYellow));
<item:artifacts:aqua_dashers>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Dread Reef.").setStyle(ttYellow));
<item:artifacts:bunny_hoppers>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hedge Maze.").setStyle(ttYellow));
<item:artifacts:kitty_slippers>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hedge Maze.").setStyle(ttYellow));
<item:artifacts:running_shoes>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hedge Maze.").setStyle(ttYellow));
<item:artifacts:steadfast_spikes>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Beetle's Mound.").setStyle(ttYellow));
<item:artifacts:flippers>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Dread Reef.").setStyle(ttYellow));
<item:artifacts:whoopee_cushion>.addTooltip(MCTextComponent.createStringTextComponent("Looted from a Hedge Maze.").setStyle(ttYellow));
<item:livingchest:eye_bone>.addTooltip(MCTextComponent.createStringTextComponent("Dropped from the Alpha Yeti.").setStyle(ttYellow));
// ---------------------------------------------------------------------------------------------------------------------------------------------




















