Minecraft 将状态效果以一排图标显示在右上角,且不提供任何其他信息。没有数值,你也不知道力量效果还剩四十秒还是四秒。
本模组提供了一个设置来解决这个问题。Display Mode(显示模式) 决定如何展示你的效果,共有四种选项:保持 Minecraft 的图标不动、保留图标并从图标上读取时间、用你自己放置的列表替换它们,或者完全隐藏它们。没有第二个开关会与第一个开关冲突,也不存在在屏幕两个角落重复读取同一个效果的情况。
从 Minecraft 自带的图标上读取时间
Enhanced(增强) 是默认选项,也是改动最小的一个。Minecraft 的图标保持原位,由 Minecraft 本身绘制,剩余持续时间被整合进图像中,而不是叠加在上面。
一条细线位于图标底部边缘,在边框内部,并根据效果自身的颜色进行着色。其后方没有黑色轨道,因此在持续时间满时不会注意到任何变化——线条会随着效果的流逝而缩短。粗细为一到三像素,由你选择。
如果你不想在图标上添加任何东西,Drain(消耗) 选项会在时间流逝时从上到下对图标本身进行遮罩处理,类似于冷却条的显示方式。倒计时和等级数字也可用,但默认关闭,因为图标是艺术图像,覆盖它们是一个你应该深思熟虑的决定。
或者自行构建显示界面
Custom(自定义) 会隐藏 Minecraft 的图标并绘制自己的列表,可以放置在屏幕的任何位置,大小介于半倍到三倍之间。
每个条目可以携带效果图标、名称、等级和剩余时间,共有五种排列方式:完整的一行、紧凑的图标与计时器组合、仅图标、仅文本,或计时器居中位于图标下方的图块。列表会按照你指定的方向生长,每行的条目数量可按需换行,还可以拆分为两个独立放置的部分,以便增益效果集中在一个角落,减益效果集中在另一个角落。
颜色遵循单一文本颜色、效果类别颜色或彩虹色。等级以罗马数字或纯数字显示。持续时间显示为 M:SS、整秒数或最后几秒的十分之一秒。持续时间条可以位于文本下方、图标下方,或作为背景横跨整行逐渐消耗。
信标和潮涌核心效果、粒子被隐藏的效果、整个类别以及通过 ID 命名的任何效果都可以被过滤掉,剩余的效果可以按照剩余时间、名称、类别或 Minecraft 的默认排序进行排序。
在耗尽前发出警告
低于你设置的阈值时,效果会变成你的警告颜色并闪烁。这在两种显示模式下表现一致——无论是原版图标还是自定义列表,在时间紧迫时阅读体验相同,因为这是同一个设置,而非两个独立的设置。
Minecraft 从不告诉模组一个效果最初持续了多久,因此进度条是根据该效果出现过的最长持续时间来衡量的。饮用另一瓶药水会自动将参考值推高。
搭配 Eymistaken's HUD 或不搭配
安装 Eymistaken's HUD 后,本模组将成为其模块之一:在编辑器中拖拽它,使用滚轮调整大小,吸附到辅助线,并在插件列表中通过单一入口及其专属标签页找到其设置。所有配置都通过命名预设、分享代码和逐服务器配置文件传输,因此你发送给朋友的布局也会包含你的药水显示设置。
不安装该模组时,一切功能依然正常。显示界面基于相同的锚点和偏移量绘制,如果你安装了 Mod Menu 和 Cloth Config,你将获得一个涵盖所有设置的界面。两者都不是必需的,此处也没有硬性依赖——本模组仅依赖 Fabric API 即可运行。
按键可在游戏内循环切换四种显示模式,并显示当前选中的模式名称,这样你就无需在战斗中打开菜单。默认情况下未绑定按键。
要求
适用于 Minecraft 26.2 的 Fabric,以及 Fabric API。仅限客户端——它在服务器上不起作用,也无需安装在服务器上。
Minecraft shows your status effects as a row of icons in the top-right corner and tells you nothing else about them. No numbers, no idea whether your Strength has forty seconds left or four.
This mod gives you one setting to fix that. Display Mode decides how your effects are shown, and it has four answers: leave Minecraft's icons alone, keep them and read the time off them, replace them with a list you place yourself, or hide them entirely. There is no second switch that can contradict the first, and no way to end up reading the same effect twice in two corners of the screen.
Read the time off Minecraft's own icons
Enhanced is the default, and it is the option that changes the least. Minecraft's icons stay exactly where they are, drawn by Minecraft, and the remaining duration is worked into the artwork rather than stacked on top of it.
A hairline sits along the bottom edge of the icon, inside the frame, tinted with the effect's own colour. There is no black track behind it, so at full duration there is nothing to notice — the line simply shortens as the effect runs down. One to three pixels thick, your choice.
If you would rather not add anything to the icon at all, Drain shades the icon itself from the top down as the time is spent, the way a cooldown reads. A countdown and a level number are available too, both off by default, because the icons are artwork and covering them up is a decision you should make deliberately.
Or build the display yourself
Custom hides Minecraft's icons and draws its own list instead, anywhere on the screen and at any size between half and triple.
Each entry can carry the effect icon, its name, its level and its remaining time, in five arrangements: a full row, a compact icon-and-timer pair, icons alone, text alone, or a tile with the timer centred under the icon. The list grows in whichever direction you point it, wraps after as many entries per line as you like, and can be split into two independently placed halves so your buffs sit in one corner and your debuffs in another.
Colours follow one text colour, or the effect's category, or a rainbow. Levels read as Roman numerals or plain digits. Durations read as M:SS, whole seconds, or tenths for the last few. A duration bar can sit under the text, under the icon, or drain across the whole row as its background.
Beacon and conduit effects, effects with their particles hidden, whole categories, and any effect you name by id can all be filtered out, and what is left can be sorted by time remaining, name, category or Minecraft's own order.
Notice before it runs out
Below a threshold you set, an effect turns your warning colour and pulses. This works the same in both displays — a vanilla icon and a custom row read identically when time is short, because it is one setting, not two.
Minecraft never tells a mod how long an effect originally lasted, so the bars measure against the longest duration they have seen for that effect. Drinking another potion pushes the reference back up on its own.
With Eymistaken's HUD, and without it
Install Eymistaken's HUD and this becomes one of its modules: drag it around the editor, resize it with the scroll wheel, snap it to guides, and find its settings under a single entry in the plugins list with its own tabs. Everything it owns travels through named presets, share codes and per-server configs, so a layout you send a friend brings your potion display with it.
Without that mod, everything still works. The displays are drawn from the same anchor and offsets, and if you have Mod Menu and Cloth Config installed you get a settings screen for all of it. Neither is required, and nothing here is a hard dependency — the mod runs on Fabric API alone.
A keybind cycles the four display modes in-game and names the one you landed on, if you would rather not open a menu mid-fight. It is unbound by default.
Requirements
Fabric for Minecraft 26.2, plus Fabric API. Client-side only — it does nothing on a server and does not need to be installed on one.
下载 Eymistaken's Potion HUD
下载 Eymistaken's Potion HUD
下载 Eymistaken's Potion HUD
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Eymistaken's Potion HUD
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Eymistaken's Potion HUD
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Eymistaken's Potion HUD
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
如果未安装 Cloth Config API,点击 Mod Menu 中的设置按钮将没有任何反应。现在,它会打开 Eymistaken 的 HUD Settings 中的模组页面。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。



评论 0
登录后参与评分
还没有评论,来抢沙发吧