跳到正文

BetterUI

作者:ro80t

A client-side Mixin-based Minecraft mod that improves the vanilla UI/UX.

收藏

截图

介绍

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

BetterUI

A client-side Mixin-based Minecraft mod that improves the vanilla UI/UX.


Usage

ui-preview

Settings

ui-setting

Features

  • Durability show — draws the remaining durability of a damaged item as a small number in the top-left corner of its slot icon (hotbar, inventory, anywhere an item is drawn), colored the same as vanilla’s own durability bar. Implemented on every loader by injecting into the single vanilla method that already draws the stack-count/durability-bar overlay (DrawContext#drawStackOverlay / #drawItemInSlot on Fabric, GuiGraphics#renderItemDecorations on NeoForge/Forge), so it covers every screen automatically instead of having to hook each screen individually.
  • Armor durability HUD (curseforge.com/…/durability-show-style) — a small panel in the bottom-right corner of the screen listing each equipped armor piece’s icon and remaining durability (current/max), colored the same as vanilla’s own durability bar. Hidden automatically while any screen (inventory, chat, pause menu, …) is open. Backed by the durabilityHudEnabled config key — see Mod config file below.
  • FPS display — draws the current FPS as a small number in the top-left corner of the screen. Hidden automatically while any screen (inventory, chat, pause menu, …) is open. Backed by the fpsDisplayEnabled config key — see Mod config file below.
  • Coordinates display — draws the player’s X/Y/Z coordinates (rounded to one decimal place) on their own row directly below the FPS display. Hidden automatically while any screen is open. Backed by the coordinatesDisplayEnabled config key — see Mod config file below.
  • BetterUI settings screen — a “BetterUI Settings” button on the pause menu opens a dedicated screen with one ON/OFF button per feature (currently Durability Item, Durability Armor, FPS Display, and Coordinates Display). Toggling a button flips its config value and immediately rewrites the config file, so the change survives a restart without leaving the game.

常见问题

BetterUI 支持哪些 Minecraft 版本?

BetterUI 支持 Minecraft Java 版 1.16.5–1.21.8,共 8 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

BetterUI 怎么安装?

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

评论

登录后评论和评分