Back to mods
Custom Tooltip API project artwork

CurseForge · Minecraft mod

Custom Tooltip API

Data-driven tooltip text creation.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Custom Tooltip API release should I use?

Updated 6 days ago
Latest stable file CTA 5.1.0 - Fabric 1.21.1
Game version 1.21.1
Loader Fabric

Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1 targets 1.21.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 9 required mods have matching files.

Where it goes

Is Custom Tooltip API required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1 need?

CTA 5.1.0 - Fabric 1.21.1. Change the file and its required mods may change too.

All 9 required mods have matching files

Install YetAnotherConfigLib, Mod Menu, S-Lib, YetAnotherConfigLib (YACL) and 5 more first. We found matching files for this game-version and loader setup. 4 come through another mod in the chain.

5 listed on this file 4 pulled in by those mods
YetAnotherConfigLib Needed by Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1
required
Matching file found Matched file: 3.8.2 for fabric 1.21.1
Mod Menu Needed by Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1
required
Matching file found Matched file: v11.0.4 for 1.21
S-Lib Needed by Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1
required
Matching file found Matched file: S-Lib 2.1.0 - Fabric 1.21.1
YetAnotherConfigLib (YACL) Needed by Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1
required
Matching file found Matched file: 3.8.2+1.21.1-fabric
Mod Menu Needed by Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1
required
Matching file found Matched file: 11.0.4
Fabric API Needed by YetAnotherConfigLib
pulled in
Matching file found Matched file: [1.21.1] Fabric API 0.116.17+1.21.1
Text Placeholder API Needed by Mod Menu
pulled in
Matching file found Matched file: placeholder-api-2.4.2+1.21.jar
Fabric API Needed by YetAnotherConfigLib (YACL)
pulled in
Matching file found Matched file: 0.116.17+1.21.1

4 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Custom Tooltip API without breaking your instance.

Built for Custom Tooltip API CTA 5.1.0 - Fabric 1.21.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use CTA 5.1.0 - Fabric 1.21.1. It targets 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install YetAnotherConfigLib, Mod Menu, S-Lib, YetAnotherConfigLib (YACL) and 5 more first. We found matching files for this game-version and loader setup. 4 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside CTA 5.1.0 - Fabric 1.21.1. It opens that exact file at the source.

About this project

What does Custom Tooltip API add?

Custom Tooltip API

Custom Tooltip API is a powerful client-side Minecraft mod and developer library that gives you full control over item tooltips. Add custom lore, dynamic real-time data, animated gradients, and custom backgrounds, all configurable in-game or through code.

No need to code for basic usage, as it features a powerful in-game interface and full JSON support. However, it also provides a robust Developer API for those who want to inject tooltips via code.


Key Features

  • Icon Alignment: Align tooltip icons from external resource packs to the start of the line so the position stays consistent!

  • Advanced Targeting: Target specific item IDs (minecraft:diamond_sword), tag groups (#c:swords), entire mod namespaces (minecraft:*), Regex patterns (regex:.*_sword), or every item at once (*).

  • Dynamic Placeholders: Embed real-time item data directly into your text using variables like %durability%, %max_durability%, %weapon_damage%, or %enchantments%. You can also embed keybind hints using the format <key:key.jump> -> [Space].

  • Multi-line Support (Lore): Add entire paragraphs of lore or skill descriptions.

  • Visual Effects & Gradients:

    • Rainbow: Animated rainbow effect.
    • Slide Gradient: Two-color gradients that flow through the text.
    • Breathing Gradient: A smooth pulse between two colors.
    • Static Gradient & Solid: Fixed gradients or traditional solid text.
    • Colors: Hex codes (e.g. #RRGGBB), legacy codes (e.g. &d) or Minecraft color names (e.g. blue).
  • Custom Backgrounds & Borders: Solid, Gradient, Texture (Stretch), or Texture (Framed / Nine-Slice) modes with full opacity control. Drop any background image into config/custom-tooltip-api/backgrounds/ and enable it per tooltip via the dynamically generated resource pack. Supports full compatibility with Tierify custom rendering.

  • Custom Fonts: Drop any font into config/custom-tooltip-api/fonts/ and enable it per tooltip via the dynamically generated resource pack.

  • Positioning: Decide exactly where your text appears:

    • Top: Right below the item's name.
    • Bottom: At the very end of all descriptions.
    • Prepend: At the start of a specific line.
    • Append: At the end of a specific line.
    • Replace Name: Swap the item's default name for your custom text.
    • Replace Line: Replace a specific line with your custom text.
    • Replace All: Completely clear the original tooltip and show only yours.
  • Visibility Conditions: Show a tooltip only when an item is Damaged, Enchanted, or Unbreakable. Use Require Keybind mode to hide tooltips until the player holds a configurable key.

  • Text Modifiers: Full support for Bold, Italic, Underlined, Strikethrough, and O̷͍̞͐͑b̷̻̌f̶̯̈u̸̲͗͐s̶̩̬͝c̵͎̊a̸̹̟̎ẗ̴͖̿e̴̟̪͊̈́ď̴̹̪ (obfuscated) text.


In-Game Interface (GUI)

  • Manage all your tooltips directly from the Mods Menu. No need to manually edit files unless you want to.

  • Hold CTRL in the edit screen for an instant Live Preview of your tooltip.

  • Copy/paste entries to clipboard, reorder, duplicate, enable/disable, and sort by creation date or alphabetically.


For Developers (API)

Developers can use the built-in API to register tooltips and custom placeholders directly through code, with full .dynamicText() support for live per-frame data like energy, mana, or any custom NBT.

  • Check out the project's README.md file on GitHub!
  • A code example can be found here

For Modpack Creators

The mod generates a custom_tooltip_api/config.json5 file in your config folder. It fully supports code comments, making it incredibly easy to document your modpack's systems for your development team or community.

Drop custom backgrounds into config/custom-tooltip-api/backgrounds/ and custom fonts into config/custom-tooltip-api/fonts/. Enable the dynamically generated resource pack to activate them.


Dependencies

Required on all platforms:

Fabric only:

Project description from CurseForge.

Pick your setup

Custom Tooltip API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

11 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Custom Tooltip API versions and loaders

38 of 38 releases match

Looking for an older file? The official CurseForge project page is in Resources.