What it is
MekaJade Upgrades Fixed lists the upgrades installed in a Mekanism machine in the Jade tooltip, as icons with a count for each.
It is an unofficial fixed fork of MekaJadeUpgrades by DevDyna. The changes are one rendering path plus a few robustness fixes; all other code, icons and assets come from the original (MIT, Copyright (c) 2024-2030 DevDyna).
What it fixes
- Tooltip overflow: the original positions each upgrade icon with a fixed horizontal offset, but Jade measures only an element's own size and ignores that offset, so machines with many upgrades draw outside the panel. This fork wraps the list to the tooltip width instead.
- Icon and count alignment on every GUI scale.
- Detection of the merged mod id
mekanism_empowered_unleashed(the legacymekanism_empoweredis still accepted). - Unknown upgrades or add-on APIs that no longer line up fall back to a placeholder icon and log once, instead of throwing into the render path.
- Both mixins use
require = 0, so a renamed method in the original no longer crashes startup.
Install
Drop the jar into mods/. Requires Jade and Mekanism (1.21.1 / NeoForge 21.1+, or 1.20.1 / Forge 47.4+). Mekanism Extras and Mekanism: Empowered Unleashed are optional and only add their own upgrade icons.
Do not install the original MekaJadeUpgrades alongside it. If you do, this mod disables the original's tooltip automatically (disableMekaJadeUpgrades, on by default) and says so in the log.
Config
config/mekajadeupgrades_fixed-common.toml: disableMekaJadeUpgrades (default true).
中文
这是什么
用 Jade 看向通用机械的机器时,把已装上的升级以图标加数字的形式列在提示框里。
本模组是 MekaJadeUpgrades(作者 DevDyna)的非官方修复分支,与原版作者无关,也未获其背书。改动集中在一处渲染逻辑与几处健壮性处理,其余代码、图标与资源均来自原版(MIT,Copyright (c) 2024-2030 DevDyna)。
修了什么
- 提示框溢出:原版给每个图标加固定横向偏移定位,但 Jade 只按元素自身尺寸计算、偏移不计入宽度,升级一多就画到面板外;本分支改为按宽度自动换行。
- 图标与数字在每个 GUI 缩放下都对齐。
- 识别合并后的 mod id
mekanism_empowered_unleashed,同时保留旧 idmekanism_empowered。 - 认不出的升级或对不上的附属模组接口,退回占位图标并只记一次日志,不再把异常抛进渲染线程。
- 两处 mixin 使用
require = 0,原版改方法名时不再让游戏启动崩溃。
安装
把 jar 放进 mods/。需要 Jade 与通用机械(1.21.1 / NeoForge 21.1+,或 1.20.1 / Forge 47.4+)。通用机械:扩展、通用机械:增强·解放都是可选的,装了才会多显示它们的升级图标。
不要与原版 MekaJadeUpgrades 同装。万一同装,本模组会自动停用原版的提示框(disableMekaJadeUpgrades,默认开启),并在日志里说明。
配置
config/mekajadeupgrades_fixed-common.toml:disableMekaJadeUpgrades(默认 true)。

