RealClockHUD
在 Minecraft 中以 HUD 叠加层的形式显示现实系统时间。

功能
- 以游戏内 HUD 叠加层形式显示现实时钟
- 支持 12 小时制和 24 小时制切换
- 可选的秒数显示
- 显示现实日期(例如
Jun 28, 2026)
- 显示游戏内时间(例如
Day 42 - 6:30am)
- 会话计时器,显示你已游玩的时间(例如
Session: 1h 23m)
- 可配置的角落位置(左上、右上、左下、右下)
- X/Y 偏移量用于微调位置
- 自定义文本颜色(十六进制)
- 可选的背景框
- 可选的文字阴影
- 按键绑定用于切换可见性(默认:
K,可在“控制”中重新绑定)
/realclock 命令用于所有设置
- 配置自我修复——无效或缺失的值会自动修正并重新保存
- 在按 F1/F3 或截图时隐藏
- 已适配 26.2
设置/命令
所有设置都存储在 .minecraft/config/realclock.json 中,可以手动编辑。
配置文件具有自我修复功能——任何无效值将在下次启动时自动重置为默认值。
你也可以使用 /realclock 命令更改任何设置——无需直接编辑配置文件。更改立即生效并自动保存。
时钟也可以通过 K 键绑定进行切换(可在“选项 > 控制”中重新绑定)。
| 设置项 |
命令 |
默认值 |
描述 |
24h |
/realclock 24h true |
false |
使用 24 小时制而非 12 小时制 |
background |
/realclock background true |
true |
在时钟后方显示深色方框 |
color |
/realclock color #FF0000 |
#FFFFFF |
文本颜色的十六进制值 |
corner |
/realclock corner top-left |
top-right |
时钟位置 - top-left、top-right、bottom-left、bottom-right |
date |
/realclock date true |
false |
在时钟下方显示现实日期 |
gametime |
/realclock gametime true |
false |
显示游戏内的日期和时间 |
offsetx |
/realclock offsetx 8 |
4 |
距离角落的水平像素偏移量 |
offsety |
/realclock offsety 8 |
4 |
距离角落的垂直像素偏移量 |
scale |
/realclock scale 1.5 |
1.0 |
文本缩放比例 - 1.0 为正常大小,2.0 为两倍大小 |
seconds |
/realclock seconds true |
false |
在时间旁显示秒数 |
sessiontimer |
/realclock sessiontimer true |
false |
显示当前会话的游玩时长 |
shadow |
/realclock shadow true |
true |
在文本后方渲染投影阴影 |
toggle |
/realclock toggle |
true |
时钟当前是否可见 |
配置
配置文件会在首次启动时自动创建在 .minecraft/config/realclock.json。
{
"visible": true,
"corner": "TOP_RIGHT",
"use24Hour": false,
"showSeconds": false,
"color": 16777215,
"scale": 1.0,
"showDate": false,
"showGameTime": false,
"showSessionTimer": false,
"showBackground": true,
"textShadow": true,
"offsetX": 4,
"offsetY": 4
}
color 存储为十进制整数。16777215 = #FFFFFF (白色)。
RealClockHUD
Displays the real-life system time as a HUD overlay in Minecraft.

Features
- Real-life clock displayed as an in-game HUD overlay
- 12-hour and 24-hour format toggle
- Optional seconds display
- Real-life date display (e.g.
Jun 28, 2026)
- In-game time display (e.g.
Day 42 - 6:30am)
- Session timer showing how long you've been playing (e.g.
Session: 1h 23m)
- Configurable corner positioning (top-left, top-right, bottom-left, bottom-right)
- X/Y offset for fine-tuned placement
- Custom text color (hex)
- Optional background box
- Optional text shadow
- Keybind to toggle visibility (default:
K, rebindable in Controls)
/realclock commands for all settings
- Self-healing config - invalid or missing values are corrected and re-saved automatically
- Hides during F1/F3 and screenshots
- Updated for 26.2
Settings/Commands
All settings are stored in .minecraft/config/realclock.json and can be edited manually.
The config is self-healing - any invalid values will be reset to defaults automatically on next launch.
You can also change any setting using the /realclock command - no need to edit the config file directly. Changes take effect immediately and are saved automatically.
The clock can also be toggled with the K keybind (rebindable in Options > Controls).
| Setting |
Command |
Default |
Description |
24h |
/realclock 24h true |
false |
Use 24hr time format instead of 12hr |
background |
/realclock background true |
true |
Show a dark box behind the clock |
color |
/realclock color #FF0000 |
#FFFFFF |
Text color as a hex value |
corner |
/realclock corner top-left |
top-right |
Clock position - top-left, top-right, bottom-left, bottom-right |
date |
/realclock date true |
false |
Show the real-life date below the clock |
gametime |
/realclock gametime true |
false |
Show the in-game day and time of day |
offsetx |
/realclock offsetx 8 |
4 |
Horizontal nudge in pixels from the corner |
offsety |
/realclock offsety 8 |
4 |
Vertical nudge in pixels from the corner |
scale |
/realclock scale 1.5 |
1.0 |
Text scale - 1.0 is normal, 2.0 is double size |
seconds |
/realclock seconds true |
false |
Show seconds alongside the time |
sessiontimer |
/realclock sessiontimer true |
false |
Show how long you've been in the current session |
shadow |
/realclock shadow true |
true |
Render a drop shadow behind the text |
toggle |
/realclock toggle |
true |
Whether the clock is currently visible |
Configuration
Config file is created automatically at .minecraft/config/realclock.json on first launch.
{
"visible": true,
"corner": "TOP_RIGHT",
"use24Hour": false,
"showSeconds": false,
"color": 16777215,
"scale": 1.0,
"showDate": false,
"showGameTime": false,
"showSessionTimer": false,
"showBackground": true,
"textShadow": true,
"offsetX": 4,
"offsetY": 4
}
color is stored as a decimal integer. 16777215 = #FFFFFF (white).
评论 0
登录后参与评分
还没有评论,来抢沙发吧