CustomHud 是一款高度可配置的、基于变量的文本 HUD。虽然也有其他模组可以添加文本 HUD 或允许你自定义 F3 调试屏幕,但它们并非完全可定制,其自定义功能大多仅限于颜色和某一行/模块是否显示。CustomHud 允许你将数据精确放置在你想要的位置(此外还支持完整的颜色支持,包括十六进制色值),并且它是通过一种“变量”类型系统来实现的。
在配置文件中,你可以编写想要显示的内容,并在需要的位置使用如 {fps}、{version}、{block_x} 等“变量”。还有一个名为 条件判断 的功能,它可以根据某些变量的输出来改变显示内容。有关变量和条件判断的详细文档及示例可以在 维基页面 找到。
以下是一个完整示例:
生成该效果的配置文件:
Minecraft {version} ({client_version})
&a{fps}&f/{max_fps} fps {{vsync, "(vsync)", ""}}
&cX&aY&bZ: &c{bx} &a{by} &b{bz}
Facing: &a{facing}&f (&a{yaw}&f, &a{pitch}&f)
Looking {{tbx, "at {tbx} {tby} {tbz}", "into the abyss"}}
Mem: &a{memory_used_percentage}%&f of {total_memory}MiB, &a{allocated_percentage}%&f allocated
{{tps, "&a{tps}&f tps (&a{ms_ticks}&f ms ticks)", ""}}
{{nether, "Overworld:", "Nether:"}}&a {nx} {nz}
Time: &a{real_time:HH:mm}
如果你想了解 CustomHud 提供的所有功能,比如将信息显示在所有四个角落、更改背景颜色、更直观地查看变量和条件判断方式等,请查阅项目的维基页面。
这是一个 Fabric 模组,目前没有计划移植到 Forge,但许可证允许你自行进行移植。
CustomHud is a highly configurable variable-based text HUD. While there's mods that also add text HUDS or allow you to customize the F3 debug screen, they aren't fully customizable, their customization is mostly limited to colors and if a line/module is displayed or not. CustomHud allows you to put the data exactly where you want (in addition to full color support, including hex), and it does it with a "variable" type system.
In the profile file you write what you want to see and use "variables" like {fps}, {version}, {block_x}, etc where you want them to be. There's also a feature called conditionals, which allows you to change what's displayed depending on the output of certain variables. Documentation and in-depth examples of variables and conditionals can be found in the wiki.
Here's a full example:
The config that produced it:
Minecraft {version} ({client_version})
&a{fps}&f/{max_fps} fps {{vsync, "(vsync)", ""}}
&cX&aY&bZ: &c{bx} &a{by} &b{bz}
Facing: &a{facing}&f (&a{yaw}&f, &a{pitch}&f)
Looking {{tbx, "at {tbx} {tby} {tbz}", "into the abyss"}}
Mem: &a{memory_used_percentage}%&f of {total_memory}MiB, &a{allocated_percentage}%&f allocated
{{tps, "&a{tps}&f tps (&a{ms_ticks}&f ms ticks)", ""}}
{{nether, "Overworld:", "Nether:"}}&a {nx} {nz}
Time: &a{real_time:HH:mm}
For a look at all of the features that CustomHud offers, like putting info on all 4 corners, changing the background color, a better look on variables and conditionals, and more, check out the project's wiki.
This is a Fabric Mod, there's no plans for a Forge port, but the license allows you to port it yourself if you wish.
下载 CustomHud
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomHud
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomHud
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomHud
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomHud
下载 CustomHud
下载 CustomHud
下载 CustomHud
下载 CustomHud
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 CustomHud
更新内容
- 修复了当 customhud 被禁用时准星无法渲染的问题
- 修复了按键绑定分类的翻译键
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧