跳到正文

Realtime Day

作者:GregoryAM

Realtime Day syncs Minecraft’s day/night cycle to your server’s real-world clock — sunrise, noon, and midnight match local time.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Realtime Day

Syncs Minecraft’s day/night cycle to real-world time.

When it’s noon where the server is running, the sun is overhead. When it’s midnight, it’s night in-game. Singleplayer uses your PC’s clock; dedicated servers use the host machine’s timezone (or one you configure).

Features

  • Overworld time follows real local time (dawn ≈ 6:00, noon, dusk, midnight)
  • Uses the server/host timezone by default
  • Optional IANA timezone override (e.g. America/Chicago)
  • Optional on-screen real-time clock in the bottom-right corner
  • Sleep still works — after a vanilla night skip, time snaps back to real time
  • Reload config in-game with /realtimeday reload
  • Server sync works without the mod on clients; install on the client to see the HUD

Config

Created automatically at config/realtimeday.json:

{
  "enabled": true,
  "showHud": true,
  "hudTimeFormat": "24h",
  "timezone": "",
  "syncIntervalTicks": 20,
  "dimensions": ["minecraft:overworld"]
}

| Option | Description |
|——–|————-|
| enabled | Turn world time sync on or off |
| showHud | Show the real-time clock in the bottom-right corner |
| hudTimeFormat | HUD clock style: "24h" (22:52) or "12h" (10:52 PM) |
| timezone | Empty = system default; otherwise an IANA timezone id |
| syncIntervalTicks | How often (in ticks) real time is applied to the world clock |
| dimensions | Dimension ids whose default clocks should be synced |

Commands

  • /realtimedayhud — toggle the on-screen clock (any player, saved to your client config)
  • /realtimedayhud on / /realtimedayhud off — show or hide the clock
  • /realtimedayhud 12h / /realtimedayhud 24h — set 12-hour or 24-hour clock (10:52 PM / 22:52)
  • /realtimedayhud format — show your current format
  • /realtimeday reload — reload world time sync config (server / op)

Notes

  • Install on the server (or in singleplayer) for day/night sync. Install on the client for the HUD clock.
  • HUD visibility and time format are per-player on each client (config/realtimeday.json).
  • Requires Fabric API.

常见问题

Realtime Day 支持哪些 Minecraft 版本?

Realtime Day 支持 Minecraft Java 版 26.2,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Realtime Day 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

GregoryAM 的其他作品

查看全部 →