LibTooltips is a simple API allowing for translation-key driven tooltips with no code needed.
"tooltip.minecraft.diamond.0" : "Such a fancy <ltrgb>rgb rainbow</ltrgb> tooltip!",
"tooltip.minecraft.diamond.1" : "And look, it even supports several lines, wow",


It supports basic tag processing to allow for some control over specific parts of the tooltip, such as changing the text dynamically, or adding color.
You can also add permanent tooltips to items
"tooltip.always.minecraft.diamond.0" : "This tooltip will always show!"

Using LibTooltips
This library is made to be Jar-in-Jar'd unto your mod, meaning users won't have to download it separately. If you're developing a modpack, you can may include this mod to allow for tooltip support!
Visit the Wiki Page for more information.
Can you port to X?
- Sure! Let me know through the discord!
🌸 Join the discord! 🌸 https://discord.gg/tCs89QTuzn
- made by wd with lots of love
All Versions
+ Add Version- fixed crash related to GLFW -1 code
- updated license and mod icon
- removed ETA mention in mod description
- Added missing translation keys for configs
- Added config to disable tooltips
- Added support for tooltips via a new interface:
Tooltips.ItemTooltip - Added support for tooltips via a Data Component:
Tooltips.TOOLTIP_SHIFTandTooltips.TOOLTIP_ALWAYS
- Added built-in color gradient support
- Tooltip expand is now a keybind
- Added built-in color gradient support
- Tooltip expand is now a keybind
- Added built-in color gradient support
- Tooltip expand is now a keybind
- Fixed issue related to mixin refmap
- Replaced Ember's Text API in favour of using custom text processors instead
- Replaced Ember's Text API in favour of using custom text processors instead
- Replaced Ember's Text API in favour of using custom text processors instead
- bump to v3.0.0-beta.1 of ETA
- Added support for non-shift tooltips
- Cleaned up code every so slightly
- Added support for name translations
- Added method to decode from a string directly
- Cleaned up code so its ever so slightly more performant