question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CurseForge link

https://curseforge.com/minecraft/mc-mods/adaptive-tooltips

CurseForge Mod Distribution

Allowed

Modrinth link

https://modrinth.com/mod/adaptive-tooltips

Source/other link

https://github.com/isxander/adaptivetooltips

Mod file size

64.75 KB

License

(any other license)

What it does

AdaptiveTooltips contains various modifications to vanilla tooltips to allow users to always read them, no matter how badly implemented they are by server owners.

Why should it be in the modpack

It is a frequent problem where players cannot read large tooltips. This mod contains a a few tweaks that make sense for FO:

  • Bedrock Centering - Parity with Bedrock edition, if the tooltip is cut off on the left and right of the screen, AT places it above (or below if required) the cursor. This fix feels very vanilla and fits right in in Minecraft.
  • Text Wrapping - When required, AT can wrap text in tooltips into multiple lines so it can always fit on the screen. Screen Width mode feels very natural with Bedrock Centering enabled while Remaining Width is similar to tooltipfix that can feel a bit unnatural when you move the cursor.
  • Tooltip Scrolling - It is common for FO users to go on servers such as Hypixel, where they implement wrapping themselves so vanilla users can read tooltips, the problem is, there is only so much a server can do to help with this. Tooltips end up being taller than your screen, so being able to scroll on them can help with this.
  • Prioritize Tooltip Top - This follows the previous tweak very well; by default, when a tooltip is taller than your screen, it moves it upwards so the bottom of the tooltip fits on the screen while the top is clipped off. This fix changes this so it is instead moved down, allowing the (often more important) top of the tooltip to be read.

Why shouldn’t it be in the modpack

This gives server owners an excuse to not implement better server-side handling of tooltips for vanilla users, however this shouldn’t be FO’s problem to enforce these kind of things and not being included in FO is unlikely to convince a server owner to do this.

Additional details

No response

Issue Analytics

  • State:open
  • Created 10 months ago
  • Reactions:2
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
isXandercommented, Nov 26, 2022

New features for 1.19.3:

  • Overwrite vanilla wrapping: prevents vanilla wrapping gui button tooltips and replaces with AdaptiveTooltip’s (makes the game feel more consistent with AT on, all tooltips wrapped the same)
  • New ‘half screen width’ wrapping option: self explanatory
  • Only reposition hover tooltips: As of 1.19.3, Minecraft added two types of tooltip positioning: Hover & Focused. ‘Hover’ is the old method, ‘Focused’ places tooltips above or below a button widget. Disabling this setting allows AdaptiveTooltips to reposition all types of positioners, including focused and any other modded ones. This option is needed because it may result in unexpected behaviour with modded tooltips and such.
  • Prevent vanilla clamping: Removes the 1.19.3 “fix”, required for some tweaks to function properly (Bedrock Centering).
  • Use YACL-style Tooltips: In GUIs, tooltips are positioned with the same method they are in YetAnotherConfigLib.
  • Remove first line padding: for some reason a 2px gap was made between the first and second line of tooltips which can look inconsistent in guis such as descriptions of vanilla options.

As you can see AdaptiveTooltips is more than just wrapping and has a lot more of QOL that makes the game just feel easier to deal with.

1reaction
isXandercommented, Nov 19, 2022

Also, you must remember, tooltips can appear in other aspects of the game other than the inventory, it can help other mods too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adaptive Tooltips - Mods - Minecraft - CurseForge
AdaptiveTooltips aims to dream up and implement these solutions into Minecraft for a vanilla-like tooltip experience without the ...
Read more >
Adaptive Tooltips - CodePen
This is DANGER tooltip! 5. </div>. 6. <svg viewBox="0 0 24 24">. 7. <path d="M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1 ...
Read more >
Web Design — Implement Adaptive Tooltips in React ...
For creating the adaptive tooltip, we have to review the basic concepts of CSS (position, transform, pseudo-element), IntersectionObservver, ...
Read more >
Adaptive Tooltips w/ Auto Layout 3.0 + Variants | Figma Tutorial
Today we'll go over how to create some awesome adaptive Tooltips in Figma using Autolayout 3.0 (Nov 2020 update) and Variants (Oct 2020 ......
Read more >
Building a tooltip component - web.dev
A foundational overview of how to build a color-adaptive and accessible tooltip custom element.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found