Skip to content

Adaptive Tooltips Reforged

A NeoForge 1.21.1 port of Adaptive Tooltips 1.3.0 - configurable wrapping, positioning, scrolling and transparency for item tooltips.

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Adaptive Tooltips Reforged

A NeoForge 1.21.1 port of Adaptive Tooltips 1.3.0, originally a Fabric mod for Minecraft 1.20.1 / 1.20.2 by isXander.

This port keeps the original behaviour and configuration options, rebuilt against Minecraft 1.21.1 and NeoForge. It is client-side only - it does not affect servers and does not change item data.

This is an unofficial port and is not affiliated with isXander.

FEATURES

- Text wrapping: Off, Screen width, Remaining width, Half screen width, Smart
- Prioritize tooltip top when a tooltip is taller than the screen
- Bedrock-style centering when a tooltip is too wide for the current side
- Align to corner: pick the least obstructive corner, with an "always" mode
- Prevent vanilla clamping so tooltips can leave the left edge and be repositioned
- Tooltip scrolling: hold Left Alt and scroll vertically; hold Left Ctrl as well to scroll horizontally (both rebindable, and the hint shows your current keys)
- Tooltip transparency for the background and border
- Remove first-line padding
- YACL config screen with a live preview
- Languages: English, Simplified Chinese, Traditional Chinese, Russian

REQUIREMENTS

- Minecraft 1.21.1
- NeoForge 21.1.218 or newer
- YetAnotherConfigLib (YACL) 3.8.2+1.21.1-neoforge - required
- Java 21

YACL is required. Search for "YetAnotherConfigLib (YACL)" on CurseForge and install the 1.21.1 NeoForge build, or get it from https://github.com/isXander/YetAnotherConfigLib.

INSTALLATION

1. Install Minecraft 1.21.1 with NeoForge 21.1.218 or newer.
2. Put this mod's jar and the YACL jar into the mods/ folder.
3. Launch the client. The config screen is available under Mods -> Adaptive Tooltips Reforged -> Config.

The config file is stored at config/adaptive-tooltips.json (same filename as upstream, so existing settings keep working).

CONFIGURATION

The config screen lets you change wrapping, positioning, scrolling and transparency without restarting the game. All options are also written to config/adaptive-tooltips.json.

Scrolling only applies to hover-style tooltips by default. To use it on menu/focus tooltips as well, disable "Only reposition hover tooltips".

CHANGES IN THIS PORT

- Fabric -> NeoForge: new entrypoint, neoforge.mods.toml, FMLPaths config path and IConfigScreenFactory integration.
- modId changed from adaptive-tooltips to adaptivetooltips (NeoForge mod IDs cannot contain a hyphen).
- Tooltip transparency adapted to NeoForge's patched TooltipRenderUtil: the 9-arg overload receives the four colours from RenderTooltipEvent.Color.
- Bedrock-style centering also triggers when the tooltip would overflow the right side, not only when it is pushed past x = 4.
- Added zh_tw, rewrote zh_cn for YACL 3.x keys, refreshed ru_ru, and added the missing keybind labels.
- The scroll hint now shows the keys you actually bound.

CREDITS

- Original mod: Adaptive Tooltips 1.3.0 by isXander - https://github.com/isXander/AdaptiveTooltips
- NeoForge 1.21.1 port: LvDriver - https://github.com/LvDriver

LICENSE

This project is licensed under the GNU Lesser General Public License v3.0 or later (LGPL-3.0-or-later), the same license as the original mod.

Because this is a derivative work of LGPL-3.0-or-later code, the complete corresponding source is available at:

https://github.com/LvDriver/AdaptiveTooltipsReforged

If you redistribute a modified build, you must also make the modified source available under the same license.

LINKS

- Source code: https://github.com/LvDriver/AdaptiveTooltipsReforged
- Issue tracker: https://github.com/LvDriver/AdaptiveTooltipsReforged/issues
- Releases: https://github.com/LvDriver/AdaptiveTooltipsReforged/releases