Apothic Tooltip Cleanup
一个适用于 Forge 1.20.1 的客户端模组,用于清理 Apotheosis 为武器、护甲和原始宝石添加的词缀与宝石提示文本。开箱即用兼容 Apotheosis、Apotheotic Additions 和 Apothic Attributes。所有内容均可配置,每个功能均可关闭。
功能
- 截断词缀列表,按住 Alt 展开。可配置为显示全部、显示前 N 个(默认 3 个)或仅在按住 Alt 时隐藏其余部分。
- 压缩原始宝石的提示文本。四种模式:完整、紧凑、极致、隐藏。
- 从“适用部位”列表中隐藏单个宝石类别,在禁用某些武器类型的整合包中非常有用。
- 将装备物品上的空插槽合并为一行摘要。支持混合插槽:已填充的宝石仍正常渲染,空槽数量显示在下方。
- 隐藏额外耐久度行。
- 隐藏 Apotheosis 的词缀摘要区块(寒冷、火焰、生命值百分比、法术抗性行)。
- 始终隐藏词缀来源行。
- 隐藏词缀行上的 [⌛ MM:SS] 冷却标记和 [Stacking] 标签,且不触碰词缀文本本身。按住 Alt 以显示。
- 去除词缀名称中的前缀。
- 按稀有度、字母顺序、类型或默认顺序对词缀行进行排序。
- 通过翻译键前缀隐藏特定词缀。
- 隐藏药水风格的词缀描述。
配置
所有设置均位于 config/apothic_tooltip_cleanup-client.toml 文件中。如果删除该文件,将根据默认值重新生成。
大多数隐藏功能使用三态切换:show 保持内容完全可见;alt 默认隐藏,按住 Alt 时显示;delete 永久隐藏,无 Alt 显示选项。
词缀显示
affix_display_mode 控制词缀在提示文本中的显示方式。三个选项:all 显示所有词缀;top_n 显示前 N 个,按住 Alt 展开其余部分(默认);alt_only 除非按住 Alt,否则隐藏所有词缀。
当其他处理程序隐藏内容时,“按住 Alt 查看详细信息”提示也会出现。当 durability_bonus_mode 设置为 alt(默认值)时,即使没有截断任何词缀,对于具有额外耐久度的物品也会显示该提示;按下 Alt 即可显示耐久度行。
affix_visible_count 是 top_n 模式下的 N 值。默认值为 3。
affix_sort_order 可以是 default、rarity、alphabetical、type 之一。
affix_prefixes_mode 控制 Apotheosis 添加到物品名称中的词缀前缀和后缀,例如 "Strengthened" 或 "of the Inferno"。show(默认)保留完整名称;alt 除非按住 Alt,否则仅显示基础物品名称;delete 始终显示基础物品名称。
hidden_affix_ids 是一个翻译键前缀列表,用于完全隐藏您想要隐藏的词缀。
词缀提示行
词缀来源行始终被隐藏。没有针对此功能的配置选项。
summarization_mode 控制 Apotheosis 的摘要区块(寒冷、火焰、生命值百分比、法术抗性)。show 保留它;alt(默认)除非按住 Alt,否则隐藏它;delete 永久移除它。
durability_bonus_mode 控制“忽略 X% 耐久度伤害”行。show 保留它;alt(默认)除非按住 Alt,否则隐藏它;delete 永久移除它。
potion_descriptions_mode 控制药水风格的词缀描述。show(默认)保留它们;alt 除非按住 Alt,否则隐藏它们;delete 永久移除它们。
affix_extras_mode 控制词缀行上的 [⌛ MM:SS] 冷却标记和 [Stacking] 标签;词缀文本本身永远不会被修改,仅修改括号内的注释。show 保留它们;alt(默认)除非按住 Alt,否则隐藏它们;delete 永久移除它们。
宝石显示
gem_tooltip_mode 控制原始宝石的提示文本。full 保留 Apotheosis 的原始布局。compact(默认)去除标题和 Unique 标签,保留项目符号,并移除“升级至现有物品”的措辞。ultra 将类别放在一行,增益效果放在另一行。hidden 移除所有宝石信息。
hidden_gem_categories 是一个要从“适用部位”列表中隐藏的类别名称列表。不区分大小写。接受 id 形式(["chestplate"])或渲染名称形式(["Chestplates"])。在 full、compact 和 ultra 模式下有效;当 gem_tooltip_mode 为 hidden 时无效,因为该模式会剥离所有宝石信息。如果隐藏了所有类别,“适用部位:”标题也会被丢弃。示例:在禁用远程武器的整合包中使用 ["Bows", "Crossbows"]。
插槽
merge_empty_sockets 将空插槽折叠为一行摘要。已填充的宝石仍正常渲染;仅合并空行。默认开启。
hide_apoth_marker 如果 Apotheosis 让其泄露,则隐藏 APOTH_REMOVE_MARKER 字面量。除非您实际看到它,否则不要启用此功能,因为它可能会隐藏装备物品上的插槽界面。
兼容性
Apotheosis 7.x(软依赖,没有它模组不会执行任何操作)
Apotheotic Additions(可选,受支持)
Apothic Attributes(可选,受支持)
Fallen Gems & Affixes(测试兼容)
许可证
MIT,作者 Nightwielder23。
Apothic Tooltip Cleanup
A client-side Forge 1.20.1 mod that cleans up the affix and gem tooltips Apotheosis adds to weapons, armor, and raw gems. Compatible with Apotheosis, Apotheotic Additions, and Apothic Attributes out of the box. Everything is configurable, every feature can be turned off.
Features
- Truncate affix lists, hold Alt to expand. Configurable to show all, show top N (default 3), or hide all unless Alt is held.
- Compact gem tooltips on raw gems. Four modes: full, compact, ultra, hidden.
- Hide individual gem categories from "Fits In" lists, useful on packs that disable certain weapon types.
- Merge empty sockets on socketed items into one summary line. Mixed sockets are supported: filled gems still render, with the empty count shown below.
- Hide the bonus durability line.
- Hide the Apotheosis affix summary block (Cold, Fire, HP%, Spell Resistance lines).
- Always hide the affix source line.
- Hide the [⌛ MM:SS] cooldown markers and [Stacking] tags on affix lines without touching the affix text. Hold Alt to reveal.
- Strip prefixes from affix names.
- Sort affix lines by rarity, alphabetical, type, or default.
- Hide individual affixes by translation key prefix.
- Hide potion-style affix descriptions.
Configuration
All settings live in config/apothic_tooltip_cleanup-client.toml. The file regenerates from defaults if deleted.
Most hide features use a three mode toggle: show keeps the content fully visible, alt hides it by default and reveals it while Alt is held, and delete hides it permanently with no Alt reveal.
Affix Display
affix_display_mode controls how affixes show on tooltips. Three options: all shows every affix, top_n shows the first N with Alt to expand the rest (default), alt_only hides every affix unless Alt is held.
The "Hold Alt for full details" prompt also appears when other handlers hide content. With durability_bonus_mode set to alt (the default), the prompt shows on durable items even when no affixes were truncated; pressing Alt reveals the durability line.
affix_visible_count is the N for top_n mode. Default 3.
affix_sort_order is one of default, rarity, alphabetical, type.
affix_prefixes_mode controls the affix prefix and suffix Apotheosis adds to the item name, like "Strengthened" or "of the Inferno". show (default) keeps the full name, alt shows the base item name unless Alt is held, delete always shows the base item name.
hidden_affix_ids is a list of translation key prefixes for affixes you want hidden entirely.
Affix Tooltip Lines
The affix source line is always hidden. There is no config option for it.
summarization_mode controls the Apotheosis summary block (Cold, Fire, HP%, Spell Resistance). show keeps it, alt (default) hides it unless Alt is held, delete removes it permanently.
durability_bonus_mode controls the "ignores X% of durability damage" line. show keeps it, alt (default) hides it unless Alt is held, delete removes it permanently.
potion_descriptions_mode controls potion-style affix descriptions. show (default) keeps them, alt hides them unless Alt is held, delete removes them permanently.
affix_extras_mode controls the [⌛ MM:SS] cooldown markers and [Stacking] tags on affix lines; the affix text itself is never touched, only the bracketed annotations. show keeps them, alt (default) hides them unless Alt is held, delete removes them permanently.
Gem Display
gem_tooltip_mode controls raw gem tooltips. full keeps Apotheosis's original layout. compact (default) strips headers and the Unique tag, keeps the bullets, and removes "level to existing" wording. ultra puts categories on one line and bonuses on one line. hidden removes all gem info.
hidden_gem_categories is a list of category names to hide from "Fits In" lists. Case-insensitive. Accepts either id form (["chestplate"]) or rendered name form (["Chestplates"]). Works in full, compact, and ultra modes; no effect when gem_tooltip_mode is hidden since that mode strips all gem info anyway. If every category is hidden, the "Fits In:" header is also dropped. Example: ["Bows", "Crossbows"] on a pack that disables ranged weapons.
Sockets
merge_empty_sockets collapses empty sockets into one summary line. Filled gems still render normally; only the empty rows get merged. Default on.
hide_apoth_marker hides the APOTH_REMOVE_MARKER literal if Apotheosis lets it leak through. Don't enable this unless you actually see it, since it can hide the socket UI on socketed items.
Compatibility
Apotheosis 7.x (soft dependency, the mod does nothing without it)
Apotheotic Additions (optional, supported)
Apothic Attributes (optional, supported)
Fallen Gems & Affixes (tested compatible)
License
MIT, by Nightwielder23.
评论 0
登录后参与评分
还没有评论,来抢沙发吧