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
How to Install LibTooltips (Mod)
LibTooltips by wdiscute is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21.1, 26.1 (latest release: 2.3.2-NEOFORGE-26.3, file size: 79 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21.1, 26.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded LibTooltips file into your Minecraft
.minecraft/modsfolder and launch the game.
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