跳到正文

Sodium Relief

作者:Erotoro

Reduces inventory tooltip & hover stutter for smoother GUIs — a lightweight client-side optimization mod and Sodium companion. Caches tooltip layouts & text-width measurements. No FPS cost, no gameplay changes.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🚀 Smooth your Minecraft inventory experience

Minecraft inventories can feel slightly stuttery — especially when hovering items, opening chests, or using modded GUIs.
Sodium Relief is a lightweight, client-side optimization mod that reduces small tooltip and hover-related stutter without changing gameplay.

Support SodiumRelief on Ko-fi

Bench

⚙️ What it does

Smooths tooltip rendering on inventory-like screens

Reduces redundant tooltip recalculations

Stabilizes hover behavior when moving the cursor across items

Caches text-width measurements for repeated strings (like item stack counts)

Improves responsiveness in chests, menus, and modded interfaces

📊 Measured impact

The effect is less redundant work, not more frames — so it’s measured as tooltip builds avoided, not FPS. The numbers come from an automated in-game test that opens a real inventory screen, hovers items, and counts the actual tooltip builds it reused instead of rebuilding every frame:

| Scenario | Tooltip draws | Real builds with Sodium Relief | Avoided |
| — | — | — | — |
| Resting on one item | 2,429 | 2 | 99.9% |
| Scanning 36 items (3 passes) | 3,714 | 38 | ~99% |

Each tooltip build was measured at ~0.1–0.3 ms, so the reuse avoids roughly half a second of CPU work over the ~20-second test — work that would otherwise land as tiny per-frame hitches while you hover. Near-identical across the whole 1.21 – 26.2 range, and reproducible — every measurement is exported as a raw snapshot, and you can capture one yourself any time from the Export Benchmark button in the settings.

Game ScreenShot

🧠 How it works

Sodium Relief optimizes the tooltip pipeline by:

  • caching tooltip layout results (LRU + TTL)
  • reusing previously computed tooltip data on unchanged hovers
  • avoiding unnecessary recomputation during fast cursor movement
  • caching repeated text-width measurements instead of recomputing them every frame
  • applying lightweight hover-smoothing logic

All optimizations are client-side, safe, and designed to work alongside Sodium. When in doubt about an item or screen, it falls back to vanilla behavior.

🎯 When it helps

You’ll notice the biggest improvement when:

  • opening large inventories (chests, storage systems)
  • quickly hovering over many items
  • using mods with heavy or complex tooltips
  • experiencing subtle UI micro-stutter

❗ What this mod does NOT do

  • ❌ Does NOT increase FPS in the world
  • ❌ Does NOT optimize chunks, rendering, or GPU load
  • ❌ Does NOT act as a general performance booster

This is a focused GUI-smoothness mod, not a full optimization suite.

🧩 Compatibility

  • ✔ Fabric — Minecraft 1.21 – 1.21.11 (Java 21) and 26.1.x / 26.2 (Java 25)
  • ✔ Client-side only
  • ✔ Requires Fabric API · works best alongside Sodium · Mod Menu optional
  • ✔ Server-safe (no gameplay changes)
  • 🌍 Available in English, Russian and Ukrainian

💡 Why use Sodium Relief?

Most performance mods focus on rendering or world logic.
Sodium Relief focuses on UI smoothness — solving a small but noticeable source of micro-stutter that’s usually ignored.

📦 Installation

  1. Install Fabric Loader + Fabric API
  2. Download the jar matching your Minecraft version
  3. Drop it into your mods/ folder

(Installing through the Modrinth App handles dependencies for you.)

❤️ Support

If you enjoy the mod, consider supporting development or leaving feedback — it directly shapes future versions.


Disclaimer

Sodium Relief is an unofficial, independent companion mod. It is not affiliated with, endorsed by, or sponsored by CaffeineMC or the Sodium project, and it does not include or modify any Sodium code.

Sodium is the work of CaffeineMC. Sodium Relief is simply designed to work well alongside it. All product names, logos, and brands are property of their respective owners.

常见问题

Sodium Relief 支持哪些 Minecraft 版本?

Sodium Relief 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Sodium Relief 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Erotoro 的其他作品

查看全部 →