▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Custom Tooltip API
Custom Tooltip API

Custom Tooltip API

Data-driven tooltip text creation.

34
0

Custom Tooltip API 3.0.0

release7 мая 2026 г.

Full Changelog

This release contains tons of new features and lots of changes to the Config menu, the Tooltip edit menu as well as the Developer API.

New Features

  • Dropped Necronomicon API as a dependency, gradients are now managed without any extra dependency.

  • Added a real-time tooltip preview in the Edit Screen. Hold CTRL to display it.

  • Tooltips can now display real-time data using placeholders. Default placeholders were added like %durability%, %weapon_damage%, %enchantments% and more. They can also embed keybinds using the format: <key:translation.key> (e.g. <key.key.jump> -> [Space])

  • The target field now accepts Namespaces (minecraft:*), Regex (regex:.*_sword), and a global wildcard (*) to target all items at once. The Target field now autocompletes namespaces by default, followed by items from that namespace.

  • Custom fonts can now be used for specific tooltips. Place your custom font in the config/custom-tooltip-api/fonts/ folder and enable the dynamically generated Resource Pack to enable custom fonts.

  • Added a "Hide Vanilla Tooltip" option to completely erase an item's default stats and lore, giving you a blank canvas.

  • Added toggles to show tooltips only if the item is Damaged, Enchanted, or Unbreakable.

  • "Require Shift" is now "Require Keybind". The key can be changed in Minecraft's keybinds menu.

  • Added a feature to reverse the animation of a gradient.

Fixes

  • Fixed an issue where after creating a new tooltip and the player saving it many times, it created new entries instead of updating the newly created one

  • API entries now get called before the config entries, this fixes a bug where a "needs shift" tooltip still showed api tooltips that did not need the hold key.

UX / UI

  • Completely changed the Tooltip list screen from clunky buttons to small, stylish buttons with custom icons and clear tooltips that show what the buttons do.

    • Added a button to change tooltip ordering in the tooltip list screen (creation date, alphabetically or disabled entries first)
    • Added a button to copy entries to and paste entries from the clipboard.
    • Added a button to enable or disable specific entries.
    • Added a button to show API entries, with the ability to copy, duplicate or enable/disable them.
    • Added buttons to manually sort entries (only available in the Creation Date ordering setting)
  • Replaced standard text boxes in some of the options with dropdowns and sliders for targets, fonts, styles, etc.

  • The color input now supports hex codes, legacy formatting codes (e.g., &c), and Minecraft colors. This allows for the removal of 2 extra text boxes from the config screen.

  • The animation tickrate is now calculated using more intuitive values (100 is the default speed, closer to 1 is faster and vice versa)

Developer API

  • Completely rewrote tooltip creation. Developers can now use TooltipEntry.builder("id").(...).register();.

  • Added .dynamicText(stack -> ...) to the builder, allowing developers to inject real-time text that changes every frame (like energy, mana or any custom NBT).

  • Developers can now register their own variables using CustomTooltipApi.registerPlaceholder("%mana%", stack -> ...);.

  • Heavily added Javadoc documentation to all relevant methods a developer may call when registering tooltips.

Custom Tooltip API 2.0.0

release26 апреля 2026 г.

Big update, especially for the config screen! This completely removes Cloth Config as dependency in favor of YACL (Yet Another Config Lib) and implements a lot of QOL fixes.

BREAKING: YOUR OLD CONFIG WILL NOT WORK ANYMORE!!!

Changes:

  • Added YACL as the config manager and completely rewrote the tooltip config screen, as Cloth Config will no longer be used
  • The config changed location, from /config/custom_tooltips.json5 to /config/custom_tooltip_api/config.json5
  • The & character can be used in the custom text field to allow for advanced formatting with legacy color codes (only with Solid style)
  • Added better descriptions for several entries and added some color to them
  • Implemented a keybind to open the config (unbound by default)
    • A toast pops up in the mod's config to show the player a config key exists (shows only once per session, and only if the key is unbound)
  • Added a search bar to the Tooltip List screen
  • Added a small horizontal text scrolling feature for item ids/tags that are too long to be displayed in the config menu
  • Added a Double click to select all text in a textbox feature, can be toggled on/off in the config
  • Added a proper custom text list that can be reordered instead of the old one
  • Added 4 color pickers, 2 visual and 2 advanced: visual ones use a visual color picker, while advanced uses the old logic of either legacy codes, minecraft color names and hex codes, this overrides the visual picker
  • Changed default primary color from gray to #FFFFFF (white)
  • Loosened structure of color hex codes, now accepts prefixes (0x, 0X, x, X, # and none)

Fixes:

  • The config gets automatically regenerated in case the json5 file exists but is of length 0 (nothing inside of it)
  • The mod automatically handles an edge case where users may have malformed the json5 file (removing a bracket for example) by making a config backup in /config/custom_tooltip_api/config_backup.json5

Custom Tooltip API 1.2.2

release14 апреля 2026 г.
  • Added compatibility with Eldritch End's icons
  • Removed the default tooltip as I figured people might not like it / find it annoying

Custom Tooltip API 1.2.1

release13 апреля 2026 г.

Fixes:

  • There is now larger unicode compat so more icon packs will work with the mod

  • Now supports formatted icons (icons that are assigned a different color than white)

  • Fixed tooltips in the same line as icons not having animation when using modes prepend and append

Custom Tooltip API 1.2.0

release12 апреля 2026 г.

This update focuses on improving performance, and adding a new option to align tooltip icons! (Thanks Afterlyte for requesting this!)

Additions:

  • Implemented logic to align tooltip icons from resource packs to the start of the line so they can stay aligned
  • Added a small tooltip to indicate the player to press shift when a tooltip is available

Upgrades:

  • Completely rewrote most of the internal logic to improve performance
  • Implemented heavy caching to improve performance further

Fixes:

  • Fixed bug that made custom tooltips show up above the hotbar with position modes APPEND and PREPEND and line offsets != 0

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:MIT
Опубликован:1 месяц назад
Обновлён:2 дня назад
Главная