Better Tooltips
Vanilla tooltips in Minecraft often behave unpredictably, especially when using mods. They can extend beyond screen boundaries, hide important information, or simply obstruct the view. This project aims to solve all these problems by offering numerous customizable ways to display tooltips that match the style of the base game.
Mod Features
Text Wrapping
When a tooltip line doesn't fit within the screen width, Better Tooltips intelligently splits it into multiple lines at word boundaries. Various wrapping modes:
- Screen Width - The tooltip is limited to screen width (minus 15 pixels). Recommended to use with centering function.
- Remaining Width - The line occupies maximum available width to the edge of the screen, choosing the optimal direction.
- Half Screen Width - The tooltip cannot be wider than half the screen.
- Smart Mode - Only wraps significantly longer lines with a hard limit of 3/4 of screen width.

Priority for Top of Tooltip
By default, long tooltips are cut off from the bottom, hiding important upper information. This feature fixes this by ensuring priority display of the beginning of text.

Centering Like in Bedrock Edition
Adds functionality from Bedrock Edition by automatically centering the tooltip if it's too long for standard placement. For best results, recommended to combine with screen width wrapping.

Corner Placement
A fallback option in case other methods fail. The tooltip automatically moves to one of the four corners of the screen, minimizing cursor overlap.

Tooltip Scrolling
Problems with scrolling implementation in Fabric have been successfully resolved. Now you can smoothly scroll tooltips vertically and horizontally with adjustable sensitivity. The system correctly distinguishes between different tooltips and resets scroll state when necessary.

Transparency Adjustment
If tooltips obstruct the view of interface elements, you can adjust their transparency, finding a balance between readability and background visibility.

YACL-style Positioning
Tooltips display above or below hovered buttons, as in YetAnotherConfigLib, which improves interface perception in settings menus.
