ToolTip Fix — Minecraft 26.3 (Fabric) 的现代移植版
修复工具提示溢出屏幕的问题。
厌倦了长文本的物品工具提示在屏幕边缘被截断吗?
ToolTip Fix 会将过长的工具提示行换行,以适应光标旁边的可用空间,并将可能溢出的工具提示翻转到光标的另一侧——这样无论光标位于何处,你都能完整阅读工具提示内容。
现在提供了 Minecraft 26.3 (Fabric) 的现代移植版本,基于当前的工具提示渲染管线(GuiGraphics、ClientTooltipComponent、ClientTextTooltip)重新构建,同时保留了原始功能。
功能说明
- 将过长的工具提示行换行,使其适应屏幕显示
- 将可能溢出屏幕的工具提示翻转到光标另一侧
- 正确处理多行和带样式的工具提示
现代移植版备注(26.3)
- 从 Yarn 映射移植至 Mojang 映射(适用于 26.3)
- 工具提示翻转逻辑经过重构,可与原版内置的翻转机制协同工作,避免重复翻转
- Java 25 · Fabric Loader 0.20.1+ · Fabric API 0.165.0+26.3
- 通过 GitHub Actions 在 CI 环境中构建并验证
安装方法
- 为 Minecraft 26.3 安装 Fabric Loader
- 安装 Fabric API
- 将
tooltipfix263-*.jar 放入你的 mods 文件夹
原版模组及致谢
这是由 Itamio 对 kyrptonaught 开发的 ToolTipFix 进行的非官方现代移植 —— 原版模组(Modrinth 下载量超过 1700 万,最后更新于 1.21.1)尚未适配 26.3。
- 原版模组:
- 原版源码:
- 许可证:MIT(版权所有 © 2019 kyrptonaught)— 详见
LICENSE
原版模组的概念、设计和逻辑全部归功于 kyrptonaught。Itamio 并不声称对原作拥有所有权;本移植版的目的是将其适配至 Minecraft 26.3。详见 NOTICE。
ToolTip Fix — Modern Port for Minecraft 26.3 (Fabric)
Fixes tooltips from running off the screen.
Tired of long item tooltips getting cut off at the edge of your screen?
ToolTip Fix wraps long tooltip lines to fit the space available next to
your cursor, and flips tooltips that would overflow to the other side —
so you can always read the full tooltip, no matter where your cursor is.
Now with a modern port for Minecraft 26.3 (Fabric), rebuilt against
today's tooltip rendering pipeline (GuiGraphics, ClientTooltipComponent,
ClientTextTooltip) while keeping the original behaviour intact.
What it does
- Wraps long tooltip lines so they fit on screen
- Flips tooltips that would run off the edge to the other side of the cursor
- Handles multi-line and styled tooltips correctly
Modern port notes (26.3)
- Ported from Yarn to Mojang mappings for 26.3
- Tooltip flip logic reworked to compose with vanilla's built-in flip
instead of double-flipping
- Java 25 · Fabric Loader 0.20.1+ · Fabric API 0.165.0+26.3
- Built and verified in CI via GitHub Actions
Installation
- Install Fabric Loader for Minecraft 26.3
- Install Fabric API
- Drop
tooltipfix263-*.jar into your mods folder
Original mod & credit
This is an unofficial modern port by Itamio of ToolTipFix by
kyrptonaught — the original (17M+ downloads on Modrinth, last updated
for 1.21.1) has not been updated to 26.3.
- Original mod:
- Original source:
- License: MIT (Copyright © 2019 kyrptonaught) — see
LICENSE
All credit for the original concept, design, and logic goes to
kyrptonaught. Itamio does not take credit for the original work;
this port exists to bring it to Minecraft 26.3. See NOTICE.
评论 0
登录后参与评分
还没有评论,来抢沙发吧