StatusHUD 是一款适用于 Minecraft(NeoForge)的轻量级客户端模组,通过简洁实用的实时指示器增强游戏内 HUD。它旨在让你一目了然地获取关键的游戏信息,同时避免屏幕杂乱或破坏沉浸感。
功能特性
-
伤害指示器
显示你当前注视实体的生命值,包括可视化进度条和图标。灵感源自经典的 Damage Indicators 模组。
-
耐久度指示器
显示你装备的盔甲、主手工具和盾牌的耐久度,帮助你在战斗或探索中避免因意外损坏而陷入困境。
-
状态指示器
支持自定义显示内容。你可以在配置文件中指定任意自定义文本以及部分游戏内变量,如坐标、玩家名称、在游戏内的实际耗时、游戏内昼夜循环时间等。支持通过 &AARRGGBB; 使用 ARGB 颜色代码;通过 \n 实现制表符和换行,非常适合主播和时间管理。
配置说明
所有功能均可完全自定义:
- 独立启用或禁用每个指示器
- 通过配置文件调整行为
- 设计宗旨为极简、灵活且不干扰视线
常规选项
| 选项 |
类型 |
默认值 |
描述 |
bEnableDamageIndicator |
Boolean |
true |
在 HUD 上启用或禁用伤害指示器。 |
bEnableDurabilityIndicator |
Boolean |
true |
启用或禁用所有耐久度指示器的显示。 |
bEnableArmorDurabilityIndicator |
Boolean |
true |
启用或禁用当前装备盔甲剩余耐久度的显示。 |
bEnableShieldDurabilityIndicator |
Boolean |
true |
启用或禁用当前装备盾牌剩余耐久度的显示。 |
bEnableToolDurabilityIndicator |
Boolean |
true |
启用或禁用当前装备工具剩余耐久度的显示。 |
bEnableStatusIndicator |
Boolean |
true |
启用或禁用 HUD 上方状态行的显示。 |
伤害指示器
| 选项 |
类型 |
默认值 |
描述 |
fDamageIndicatorRaycastDistance |
Float |
30.0 |
设置伤害指示器可检测实体的最大距离(以方块为单位)。原版距离为 3。 |
状态指示器格式
| 选项 |
类型 |
默认值 |
描述 |
sStatusIndicatorFormat |
String |
$sGameTime24 | &FF00FF00;$sPlayerName&FFFFFFFF; | $sPlayTime | &FFFFFF00;$sTargetsChunkPosition |
自定义 HUD 上方行的格式。支持换行(\n)、ARGB 颜色代码(&AARRGGBB;)及以下变量: • $sGameTime24 → 游戏内时间(24小时制) • $sGameTime12 → 游戏内时间(12小时制) • $sPlayerName → 玩家名称 • $sPlayTime → 在世界中的实际游玩时间 • $sTargetsChunkPosition → 你当前注视方块所在的区块坐标 |
耐久度指示器格式
| 选项 |
类型 |
默认值 |
描述 |
sDurabilityIndicatorFormat |
String |
$iCurrentDurability/$iMaxDurability ($fCurrentDurabilityPercent%) |
盔甲、盾牌和工具的耐久度自定义格式。支持以下变量: • $iCurrentDurability → 当前耐久度 • $iMaxDurability → 最大耐久度 • $fCurrentDurabilityPercent → 耐久度百分比 |
灵感来源
本模组最初受 Damage Indicators 和 Armor Status HUD 等经典模组启发,将其核心功能带入现代 Minecraft 版本。
与此同时,StatusHUD 计划演变为一个统一的解决方案,将许多不同 HUD 相关模组的功能整合到一个协调一致的项目中。
StatusHUD is a lightweight client-side mod for Minecraft (NeoForge) that enhances the in-game HUD with clean and useful real-time indicators. It is designed to give you essential gameplay information at a glance without cluttering your screen or breaking immersion.
Features
-
Damage Indicator
Displays the health of the entity you are currently looking at, including a visual bar and icon. Inspired by the classic Damage Indicators mod.
-
Durability Indicator
Shows durability of your equipped armor, main-hand tools, and shield, helping you avoid unexpected breaks during combat or exploration.
-
Status Indicator
Displays whatever you want, in config file you can specify any custom text and some in-game variables like coordinates, player name, real time spent in game, in-game daylight cycle time and more. Supports ARGB color codes via &AARRGGBB; tabs and line-breaks via \n perfect for streamers and time management.
Configuration
All features are fully configurable:
- Enable or disable each indicator independently
- Adjust behavior via config file
- Designed to be minimal, flexible, and unobtrusive
General Options
| Option |
Type |
Default |
Description |
bEnableDamageIndicator |
Boolean |
true |
Enables or disables the damage indicator on the HUD. |
bEnableDurabilityIndicator |
Boolean |
true |
Enables or disables the display of all durability indicators together. |
bEnableArmorDurabilityIndicator |
Boolean |
true |
Enables or disables the display of the currently equipped armor's remaining durability. |
bEnableShieldDurabilityIndicator |
Boolean |
true |
Enables or disables the display of the currently equipped shield's remaining durability. |
bEnableToolDurabilityIndicator |
Boolean |
true |
Enables or disables the display of the currently equipped tool's remaining durability. |
bEnableStatusIndicator |
Boolean |
true |
Enables or disables the display of the upper status line on the HUD. |
Damage Indicator
| Option |
Type |
Default |
Description |
fDamageIndicatorRaycastDistance |
Float |
30.0 |
Sets the maximum distance (in blocks) at which the damage indicator can detect entities. Vanilla distance is 3. |
Status Indicator Format
| Option |
Type |
Default |
Description |
sStatusIndicatorFormat |
String |
$sGameTime24 | &FF00FF00;$sPlayerName&FFFFFFFF; | $sPlayTime | &FFFFFF00;$sTargetsChunkPosition |
Custom format for the upper HUD line. Supports new lines (\n), ARGB color codes (&AARRGGBB;) and variables: • $sGameTime24 → in-game time (24h) • $sGameTime12 → in-game time (12h) • $sPlayerName → player’s name • $sPlayTime → real time played in world • $sTargetsChunkPosition → position the block you are looking at in chunk coordinates |
Durability Indicator Format
| Option |
Type |
Default |
Description |
sDurabilityIndicatorFormat |
String |
$iCurrentDurability/$iMaxDurability ($fCurrentDurabilityPercent%) |
Custom format for armor, shield, and tool durability. Supports variables: • $iCurrentDurability → current durability • $iMaxDurability → maximum durability • $fCurrentDurabilityPercent → durability percentage |
Inspiration
This mod is originally inspired by classic mods like Damage Indicators and Armor Status HUD, bringing their core functionality to modern Minecraft versions.
At the same time, StatusHUD is planned to evolve into a unified solution that combines the functionality of many different HUD-related mods into a single cohesive and consistent project.
评论 0
登录后参与评分
还没有评论,来抢沙发吧