Перейти к содержимому
Mineforgian

Adaptive Tooltips

Highly configurable tooltip rendering, so you can always read them!

Загрузки
1.5M
Подписчики
553
Обновлён
22 июня 2026 г.
Лицензия
MPL-2.0

Опубликован 16 ноября 2022 г.

Icon

AdaptiveTooltips

Highly configurable tooltip rendering, so you can always read them!

Why was this mod created?

Vanilla tooltips are not very smart: this mod aims to fix that. In vanilla, there are a lot of situations (especially when modded) where you just cannot read a tooltip due to it being just too long to fit on the screen. There are many solutions!

AdaptiveTooltips aims to dream up and implement these solutions into Minecraft for a vanilla-like tooltip experience without the frustrations.

Features

There are many methods in which AdaptiveTooltips can save your tooltips from the clutches of the bezels; below are a list of all the (toggleable) options to fix this.

Text Wrapping

There is one very obvious fix to tooltips going off-screen horizontally: text wrapping! If a line is too long to fit on your screen, AdaptiveTooltips intelligently splits it into however many necessary, using words as cut-offs to not interrupt your reading.

There are multiple methods of wrapping:

  • Screen Width - The mod wraps with a max line width of the width of your screen (minus 15). Intended to be paired with Bedrock Centering option.
  • Remaining Width - Allows tooltip lines to fill a maximum of what's left until the tooltip reaches the end of the screen, picking either the left or the right depending on which would require less wrapping.
  • Half Screen Width - Only allows tooltips to have a width of half of the screen.
  • Smart - Wraps lines that are considerably longer than the others, with a hard limit of 3/4 of the screen width.

Remaining Width Wrapping On/Off Comparison screenshot is using Remaining Width wrapping method

Prioritize Tooltip Top

I'm actually surprised even Mojang didn't think of adding this one, by default, tooltips that are taller than your screen limit their bottom to the edge of the screen, not the top. This results in you being able to read the (often less important) bottom of the tooltip instead of the top. This fix addresses that.

Prioritize Tooltip Top On/Off Comparison

Bedrock Centering

This feature grants parity between Java and Bedrock Edition. By default, Bedrock automatically centers the tooltip if it is too long to fit on either the left or the right, this adds that. For the best experience, it is best to pair this with Screen Width Text Wrapping.

Bedrock Centering On/Off Comparison

Align To Corner

When all else fails, this feature is a good fallback. If after all the above features fail to keep the tooltip on the screen, AdaptiveTooltips just places the tooltip in any of the 4 corners of the window, determining that based on the least obstruction of the mouse cursor.

Align Corner Example

Tooltip Scrolling

Yes, that's right, scrolling. It's been tried on Fabric many a times with little success with annoying edge-cases and bugs that make using scrolling annoying, but I've fixed all grievances! You can scroll vertically and horizontally with smooth animations and fine-tuning from the scroll direction to the sensitivity of the scrolling. AdaptiveTooltips is also smart and knows the difference between two different tooltips and discards scrolling data when necessary.

Tooltip Scrolling Example

Transparency Modification

You may be bothered that tooltips may obstruct the view of the next few items in your inventory, this fix aims to mitigate that by allowing you to adjust the transparency of the tooltip, allowing you to decide what's best for in terms of visibility and transparency.

Transparency Modification Example

YACL-style GUI Tooltips

Capture the style of YetAnotherConfigLib's tooltip positioning by placing tooltips above or below a hovered button.

YACL-style GUI Tooltips

License

This mod is under the Mozilla Public License 2.0.

Ченджлог

1.4.1+26.2Релиз26.2 · 22 июня 2026 г.

Adaptive Tooltips 1.4.1+26.2

Changes

  • Update to 26.2
1.4.0+26.1.2Релиз26.1, 26.1.1, 26.1.2 · 30 мая 2026 г.

Adaptive Tooltips 1.4.0+26.1.2

Changes

  • Update to 26.1.2
  • Support NeoForge
1.3.0Релиз1.20.1, 1.20.2 · 28 сентября 2023 г.

  • Update to 1.20.2
  • Update to YACL 3.x
1.2.1Релиз1.19.4 · 22 апреля 2023 г.

  • Fix some rendering crashes
  • Prioritize YACL tooltip positioning above rather than below
1.2.0Релиз1.19.4 · 15 марта 2023 г.

  • Update to 1.19.4
1.1.1Релиз1.19.3 · 15 декабря 2022 г.

  • Re-compile with latest version of YetAnotherConfigLib as new version JAR isn't backwards compatible
1.1.0Релиз1.19.3 · 7 декабря 2022 г.

  • Updated to 1.19.3

New settings

  • Overwrite vanilla wrapping - stops tooltips from wrapping themselves to 170px in guis and instead wraps using AT.
  • YACL-style tooltip position - use positioning from YetAnotherConfigLib for button widgets
  • Remove first line padding - removes the extra 2px given to the first line's height
  • Prevent vanilla clamping - starting 1.19.3, vanilla prevents overflowing tooltips to the left by overflowing to the right, this prevents that as it conflicts with certain positioning tweaks present in AT
  • Only reposition hover tooltip - starting 1.19.3, there are multiple positioners present other than the normal hovering one, AT tweaks are only designed for hover tooltips, so disabling this may cause unexpected behaviour

Wrapping Changes

  • Only allow Remaining width wrapping open with hover positioners

New methods

  • Half screen width - wraps tooltips with the maximum line width of half the screen width
  • Smart - Wraps lines that are considerably longer than the others, with a hard limit of 3/4 of the screen width.

Misc

  • Rewrote internal positioning management to be more modular
  • Add wrapping hooks for more tooltip rendering functions
  • Give a description to each of the wrapping options in the GUI
1.0.1Релиз1.19, 1.19.1, 1.19.2 · 26 ноября 2022 г.
  • Fix scrolling sometimes affecting other GUI elements

Комментарии

Загружаем…