Hikari-Tweaks
一款面向 Minecraft 1.17.1 - 1.21.11 的客户端 Fabric 实用模组,由 Hikari Server (光鯖) 开发。提供完全可自定义的记分板 HUD(需搭配 HikariScoreBoard 使用)以及一系列提升游戏体验的功能。
1.2.3 版本更新内容
耐久度警告现在会在你每次使用近乎损坏的物品时触发。 在 v1.2.2 及更早版本中,警告仅在物品耐久度降至 1% 时触发一次(此时消息显示为 2%),此后即使继续损耗也不会再发出提示。现在,只要物品耐久度保持在 1% 或更低,每损失一点耐久都会触发警告。每个装备槽位独立追踪,因此携带两件相同的工具会分别对两者进行警告;而通过修补(Mending)使耐久度回升则不会触发警告。此行为适用于所有 Minecraft 版本。
功能
自定义记分板 HUD
渲染 HikariScoreBoard 的排名数据为完全可自定义的 HUD。支持配置位置(锚点 X/Y 0-100%)、缩放比例(0.5x-3.0x)、分页设置(每页 1-50 行),并为标题、主体、文本、分数和自我高亮行分别设置独立的 ARGB 颜色。默认隐藏原版侧边栏。当 F3 调试屏幕开启或按 F1 隐藏 HUD 时不渲染。配置项为 scoreboardCustomHud,默认开启:它位于 config/hikari-tweaks.json 文件中,配置界面中没有切换开关。位置、缩放比例、页面大小和颜色均在 记分板(Scoreboard) 标签页中进行编辑。
平滑记分动画(始终开启,无设置选项)
自定义 HUD 上的数字会平滑过渡到新值,而非突然跳变。该平滑效果完全在客户端内部运行——无需额外网络传输,且旧的服务端平滑器已被移除——因此只有安装了 Hikari-Tweaks 的玩家才能看到动画。此功能始终开启,没有相关设置。采用实时指数缓动(时间常数约 0.12 秒),确保在任何帧率下速度保持一致;若帧间隔超过 0.5 秒(例如窗口失去焦点、世界加载中),则直接跳转到实际值,而不重播动画。仅对绘制的数字进行缓动:排序和排名始终基于真实值,因此在动画过程中行顺序不会发生交换,新出现的行会立即显示其真实值,而不是从零开始递增。适用于排名行和服务端总行数。需要 v2 排名协议——仍发送 v1 数据包的服务端将提供精确值且无动画效果。
耐久度警告
当可损坏物品耐久度降至 1% 或更低时,通过聊天通知和声音进行警告。检查你的整个背包中的所有槽位,而不仅仅是手持物品。当物品处于警告状态时,每次你使用该物品(即每损失一点耐久度)都会再次警告。当耐久度回升时(例如通过修补),则保持静默。每个槽位独立追踪,因此携带两件相同的工具会对两者分别发出警告(将工具移动到其他槽位会额外触发一次警告)。声音每秒最多播放一次,因此一套几乎损坏的盔甲不会导致声音叠加。配置项为 durabilityWarningEnabled(Tweaks 标签页,默认开启)。
快捷栏自动补给
当你打开真实的容器方块时,自动从该容器中取出列表中的物品并放入快捷栏,然后关闭屏幕。列表可在 Lists 标签页中配置。检测逻辑设计为保守模式:仅当准星对准一个拥有库存的方块实体,且该实体不是末影箱,并且屏幕的容器槽位数与该库存大小匹配时才会触发——箱子及其双倍形式(双层箱子)符合条件。其他符合条件的包括:陷阱箱、木桶、已放置的潜影盒、漏斗、发射器、投掷器、熔炉和酿造台。末影箱被完全排除。箱子矿车、漏斗矿车、船载箱子和村民交易被排除,因为它们是实体而非方块实体,因此准星下方没有对应的方块实体。通过命令、NPC 或物品打开的插件菜单也被排除,原因相同。如果通过右键点击真实容器打开的插件菜单具有相同的槽位数,则在客户端无法区分,因此在带有箱子后台商店 GUI 的服务器上,请保持列表尽可能精简。配置项为 autoRestockHotbar(Tweaks 标签页,默认关闭)。
不死图腾自动补给
当使用不死图腾时,从背包中取出另一个图腾并放入刚刚使用它的同一只手。不会在正常快捷键切换槽位时触发。配置项为 totemRestock(Tweaks 标签页,默认关闭)。
快捷栏自动补货
Tweakeroo 风格的快捷栏补货:当快捷栏中列出的物品数量降至 5 个或更少时,自动从背包其余部分抽取替代品。仅监控快捷栏;背包仅作为来源。补货列表与容器打开列表分开,以便更精细地控制。配置项为 handRestock(Tweaks 标签页,默认关闭)。
MiniHUD 信标范围修复
使用 MiniHUD 的自由视角时,修正信标范围显示以使用玩家的实际位置而非相机位置。需要安装 MiniHUD。配置项为 fixBeaconRangeFreeCam(Tweaks 标签页,默认开启)。
记分板标签页:玩家(配置界面中的一个标签页,非设置项)
与 HikariScoreBoard 配合使用时,游戏内配置界面的 Scoreboard 选项卡会列出服务器已知的玩家,分为“显示”和“隐藏”两组,并允许你切换每个玩家是否出现在排名中。被服务器标记为机器人的条目会标注 [Bot],以便轻松识别。该列表位于 Players 子选项卡;旁边的 Display 子选项卡则包含 HUD 的页面大小、缩放、位置和颜色设置。此处没有开关选项。
依赖项
- Minecraft 1.17.1 - 1.21.11 (Fabric)
- Fabric Loader >= 0.14.0 (MC 1.17.1 - 1.20.4) / >= 0.15.10 (MC 1.20.5 及更高版本)
- Fabric API
- MaLiLib — 每个 jar 文件声明了各自的最低版本要求,详见下表
支持版本
每个 Minecraft 版本组发布一个独立的 jar 文件。请下载与你游戏版本匹配的文件。
| Jar |
支持的 Minecraft 版本 |
最低 MaLiLib 版本 |
hikari-tweaks-<version>+1.17.1.jar |
1.17.1 |
0.10.0-dev.26 |
hikari-tweaks-<version>+1.18.1.jar |
1.18, 1.18.1 |
0.11.8 |
hikari-tweaks-<version>+1.18.2.jar |
1.18.2 |
0.12.0 |
hikari-tweaks-<version>+1.19.2.jar |
1.19, 1.19.1, 1.19.2 |
0.13.0 |
hikari-tweaks-<version>+1.19.3.jar |
1.19.3 |
0.14.1-pre.1 |
hikari-tweaks-<version>+1.19.4.jar |
1.19.4 |
0.15.4 |
hikari-tweaks-<version>+1.20.1.jar |
1.20, 1.20.1 |
0.16.3 |
hikari-tweaks-<version>+1.20.2.jar |
1.20.2 |
0.17.0 |
hikari-tweaks-<version>+1.20.4.jar |
1.20.3, 1.20.4 |
0.18.4-alpha.1 |
hikari-tweaks-<version>+1.20.6.jar |
1.20.5, 1.20.6 |
0.19.2 |
hikari-tweaks-<version>+1.21.1.jar |
1.21, 1.21.1 |
0.21.10 |
hikari-tweaks-<version>+1.21.3.jar |
1.21.2, 1.21.3 |
0.22.8 |
hikari-tweaks-<version>+1.21.4.jar |
1.21.4 |
0.23.5 |
hikari-tweaks-<version>+1.21.5.jar |
1.21.5 |
0.24.3 |
hikari-tweaks-<version>+1.21.8.jar |
1.21.6, 1.21.7, 1.21.8 |
0.25.7 |
hikari-tweaks-<version>+1.21.10.jar |
1.21.9, 1.21.10 |
0.26.8 |
hikari-tweaks-<version>+1.21.11.jar |
1.21.11 |
0.27.17 |
打开配置界面
在游戏中按下 H + T —— 按住 H,然后按下 T。顺序很重要。
该按键可以通过配置界面的 Hotkeys 选项卡进行修改,也可以通过
Mod Menu 访问,如果你更倾向于这种方式的话。
默认情况下,记分板翻页的热键未绑定,也可以在此处进行分配。
可选依赖
致谢
开发于:Hikari Server (光鯖) —— 一个 Minecraft Java Edition 社区服务器
依赖项 / 引用实现
masa (fi.dy.masa)
Sim-hu (ASTRAL-SMP) — AST-Tweaks (Apache-2.0)
pugur — ama-tweaks (MIT)
许可证
GNU Lesser General Public License v3 (LGPL-3.0-or-later)
Copyright (C) 2025-2026 HikariServerDev
LGPL-3.0 在 GPL-3.0 的基础上增加了额外权限,并通过引用将其纳入,因此项目的分发中包含两个文本:COPYING.LESSER(LGPL)和 COPYING(GPL);每个 jar 文件的 META-INF/ 目录中都包含这两份副本。引用的第三方项目保留其各自的许可证(见 NOTICE)。
每个 jar 文件还在 META-INF/jars/ 下嵌入了 Gson 2.10.1,未经修改且遵循其单独的 Apache License 2.0。其版权声明和完整许可证文本随 jar 文件一起分发,分别位于 META-INF/THIRD-PARTY-NOTICES.txt 和 META-INF/licenses/Apache-2.0.txt。
Hikari-Tweaks
A client-side Fabric utility mod for Minecraft 1.17.1 - 1.21.11, developed at Hikari Server (光鯖). Provides a fully customizable custom scoreboard HUD (paired with HikariScoreBoard) plus a set of quality-of-life features.
What changed in 1.2.3
The durability warning now fires every time you use a nearly broken item. Up to v1.2.2 it
fired only once — at the moment an item dropped to 1% durability, which the message showed as
2% — and then stayed silent however much further you wore the item down. It now warns on every
point of durability lost for as long as the item stays at 1% or lower. Each slot is tracked
separately, so carrying two of the same tool warns for both, and durability going back up through
Mending stays silent. This applies to every Minecraft version alike.
Features
Custom Scoreboard HUD
Renders HikariScoreBoard rankings as a fully customizable HUD. Configurable position (anchor X/Y 0-100%), scale (0.5x-3.0x), pagination (1-50 rows per page), and independent ARGB colors for header, body, text, score, and self-highlight rows. Hides the vanilla sidebar by default. Not drawn while the F3 debug screen is open or the HUD is hidden with F1. Config key scoreboardCustomHud, on by default: it lives in config/hikari-tweaks.json and has no toggle in the config screen. Position, scale, page size and colors are edited from the Scoreboard tab.
Smooth Score Animation (always on, no setting)
Numbers on the custom HUD ease towards their new value instead of jumping. The smoothing runs entirely on the client inside this mod — nothing extra goes over the network for it, and the old server-side smoother has been removed — so scores only animate for players who have Hikari-Tweaks installed. It is always on and has no setting. Real-time exponential easing (~0.12 s time constant) keeps the speed identical at any frame rate, and a gap of more than 0.5 s between frames (window unfocused, world loading) snaps straight to the real value instead of replaying the animation. Only the drawn digits are eased: sorting and ranks always come from the real values, so rows never swap places mid-animation, and a row that has just appeared shows its real value immediately rather than counting up from zero. Applies to the ranking rows and to the server total line. Requires the v2 ranking protocol — a server still sending v1 packets gets exact values with no animation.
Durability Warning
Warns via chat notification and sound when a damageable item drops to 1% durability or lower. Every slot of your inventory is checked, not just the item in your hand. While an item is in the warning state, it warns again every time you use it — every point of durability lost. It stays silent when durability goes back up (Mending). Each slot is tracked independently, so carrying two of the same tool warns for both (moving a tool to another slot costs one extra warning). The sound plays at most once per tick, so a full set of nearly broken armour will not stack the sound. Config key durabilityWarningEnabled (Tweaks tab, on by default).
Hotbar Auto-Restock
When you open a real container block, automatically restocks the items on your list from that container into your hotbar, then closes the screen. The list is configurable in the Lists tab. Detection deliberately fails closed: it only fires when your crosshair is on a block whose block entity holds an inventory, that block entity is not an ender chest, and the screen's container slot count matches that inventory's size — a chest, and only a chest, may also be exactly double, so double chests work. Chests, trapped chests, barrels, placed shulker boxes, hoppers, dispensers, droppers, furnaces and brewing stands therefore qualify. Ender chests are excluded outright. Chest and hopper minecarts, chest boats and villager trades are excluded because they are entities rather than block entities, so there is no block entity under the crosshair. Plugin menus opened from a command, an NPC or an item are excluded for the same reason. A plugin menu opened by right-clicking a real container with the same slot count cannot be told apart on the client, so keep the list narrow on servers with chest-backed shop GUIs. Config key autoRestockHotbar (Tweaks tab, off by default).
Totem Restock
When a Totem of Undying is used, restocks another one from your inventory into the same hand that popped it. Does not trigger on normal hotkey slot switches. Config key totemRestock (Tweaks tab, off by default).
Hand Auto-Restock
Tweakeroo-style handrestock: when a listed item on your hotbar drops to 5 or fewer, automatically pulls a replacement from the rest of your inventory. Only the hotbar is watched; the inventory is used as a source only. The restock list is separate from the container-open list for granular control. Config key handRestock (Tweaks tab, off by default).
MiniHUD Beacon Fix
When using MiniHUD's freecam, corrects the beacon range display to use the player's actual position instead of the camera position. Requires MiniHUD. Config key fixBeaconRangeFreeCam (Tweaks tab, on by default).
Scoreboard Tab: Players (a config-screen tab, not a setting)
When paired with HikariScoreBoard, the Scoreboard tab of the in-game config screen lists the players the server knows about, split into Shown and Hidden groups, and lets you toggle whether each one appears in the rankings. Entries the server flags as bots are labelled [Bot] so they are easy to pick out. The list sits on the Players sub-tab; the Display sub-tab beside it holds the HUD's page size, scale, position and colors. There is no on/off setting for it.
Requirements
- Minecraft 1.17.1 - 1.21.11 (Fabric)
- Fabric Loader >= 0.14.0 (MC 1.17.1 - 1.20.4) / >= 0.15.10 (MC 1.20.5 and newer)
- Fabric API
- MaLiLib — each jar declares its own minimum, listed in the table below
Supported versions
One jar is published per Minecraft version group. Download the one matching your game.
| Jar |
Supported Minecraft versions |
Minimum MaLiLib |
hikari-tweaks-<version>+1.17.1.jar |
1.17.1 |
0.10.0-dev.26 |
hikari-tweaks-<version>+1.18.1.jar |
1.18, 1.18.1 |
0.11.8 |
hikari-tweaks-<version>+1.18.2.jar |
1.18.2 |
0.12.0 |
hikari-tweaks-<version>+1.19.2.jar |
1.19, 1.19.1, 1.19.2 |
0.13.0 |
hikari-tweaks-<version>+1.19.3.jar |
1.19.3 |
0.14.1-pre.1 |
hikari-tweaks-<version>+1.19.4.jar |
1.19.4 |
0.15.4 |
hikari-tweaks-<version>+1.20.1.jar |
1.20, 1.20.1 |
0.16.3 |
hikari-tweaks-<version>+1.20.2.jar |
1.20.2 |
0.17.0 |
hikari-tweaks-<version>+1.20.4.jar |
1.20.3, 1.20.4 |
0.18.4-alpha.1 |
hikari-tweaks-<version>+1.20.6.jar |
1.20.5, 1.20.6 |
0.19.2 |
hikari-tweaks-<version>+1.21.1.jar |
1.21, 1.21.1 |
0.21.10 |
hikari-tweaks-<version>+1.21.3.jar |
1.21.2, 1.21.3 |
0.22.8 |
hikari-tweaks-<version>+1.21.4.jar |
1.21.4 |
0.23.5 |
hikari-tweaks-<version>+1.21.5.jar |
1.21.5 |
0.24.3 |
hikari-tweaks-<version>+1.21.8.jar |
1.21.6, 1.21.7, 1.21.8 |
0.25.7 |
hikari-tweaks-<version>+1.21.10.jar |
1.21.9, 1.21.10 |
0.26.8 |
hikari-tweaks-<version>+1.21.11.jar |
1.21.11 |
0.27.17 |
Opening the config screen
Press H + T in game — hold H, then press T. The order matters.
The key can be changed from the Hotkeys tab of the config screen, or through
Mod Menu if you prefer to reach it that way.
Scoreboard page-turning hotkeys are unbound by default and can be assigned there too.
Optional
- MiniHUD — Required for the beacon range fix feature
- Mod Menu — An alternative way to reach the config screen, if you would rather not use the hotkey
- HikariScoreBoard (server-side) — Enables the custom scoreboard HUD data source. Also works without it, but with no ranking data displayed.
Credits
Developed at: Hikari Server (光鯖) — a Minecraft Java Edition community server
Dependencies / Reference Implementations
masa (fi.dy.masa)
Sim-hu (ASTRAL-SMP) — AST-Tweaks (Apache-2.0)
pugur — ama-tweaks (MIT)
License
GNU Lesser General Public License v3 (LGPL-3.0-or-later)
Copyright (C) 2025-2026 HikariServerDev
LGPL-3.0 layers additional permissions on top of GPL-3.0 and incorporates it by
reference, so both texts are distributed with the project as COPYING.LESSER (LGPL)
and COPYING (GPL); every jar carries a copy of both in META-INF/. Referenced
third-party projects retain their own licenses (see NOTICE).
Every jar also embeds Gson 2.10.1 under META-INF/jars/, unmodified and under its own
Apache License 2.0. Its copyright notices and the full license text ship in the same jar as
META-INF/THIRD-PARTY-NOTICES.txt and META-INF/licenses/Apache-2.0.txt.
评论 0
登录后参与评分
还没有评论,来抢沙发吧