Optimized Day Counter
Optimized Day Counter 是一款轻量级的客户端 HUD 模组,显示当前的游戏天数以及可选的 12 小时制时钟,让你一目了然地追踪世界的进度。
? 工作原理
该模组添加了一个小巧且不显眼的 HUD 元素,用于显示当前世界天数,并可选择以 12 小时制格式显示时间。它随着世界进程自动更新,并且可以通过配置文件进行完全自定义。


✨ 功能特性
- 天数显示 — 显示“第 X 天”,其中 X 是基于世界时间的当前天数。
- 可选 12 小时制时钟 — 显示当前时间(例如,“第 3 天 | 下午 2 点”或“第 3 天 | 下午 2:30”)。
- 可配置的锚点位置 — 提供 6 个位置选项:
top_left(左上)、top_right(右上)、bottom_left(左下)、bottom_right(右下)、center_top(中上)、center_bottom(中下)。 - 像素级偏移调整 — 通过
offset_x和offset_y微调 HUD 相对于所选锚点的位置。 - 三种显示模式 — 可选择仅显示天数、天数+小时,或天数+小时+分钟。
- 热重载配置 — 在游戏中编辑配置文件即可生效;更改会在短暂延迟后应用(每 500ms 检查一次配置)。
- 信息卡片 — 启动时打印精美的作者及贡献者信息卡片。
? 安装方法
- 安装你选择的加载器(Fabric、Forge 或 NeoForge)。
- 下载
optimizeddaycounter-<version>.jar并将其放入.minecraft/mods文件夹中。 - 启动游戏——模组将在首次运行时创建配置文件。
此模组仅限客户端,无需安装在服务器上。
? 兼容性
| Minecraft | Loader | Status | Version |
|---|---|---|---|
| 1.21.1 | NeoForge | ✅ Supported | Latest |
| 1.21.1 | Fabric | ✅ Supported | Latest |
| 1.21.11 | Fabric | ✅ Supported | Latest |
| 26.1.2 | Fabric | ✅ Supported | Latest |
| 1.20.1 | Forge | ✅ Supported | Latest |
| 1.20.1 | Fabric | ✅ Supported | Latest |
| 1.12.2 | Forge | ✅ Supported | Latest |
所需依赖: 无。
已知不兼容项: 无。
共存支持: 可与任何其他客户端模组共存,包括 Sodium、Iris 和 OptiFine。
❓ 常见问题
这个模组需要安装在服务器上吗?
不需要。该模组纯为客户端运行,直接读取本地世界状态。你可以安全地在任何服务器上使用它。
我该如何配置 HUD?
打开 ./config/optimizeddaycounter.txt(首次启动时会自动创建)。编辑设置并保存文件,模组将在几秒内重新加载配置。
我可以将 HUD 移动到其他角落吗?
可以!将 anchor 设置为以下之一:top_left、top_right、bottom_left、bottom_right、center_top 或 center_bottom。然后调整 offset_x 和 offset_y 以微调位置。
这个模组会添加任何命令、物品或方块吗?
不会。它只是一个简单的 HUD 叠加层,没有额外的机制需要学习。
我发现了一个 bug,在哪里报告?
请在 GitHub Issue Tracker 上报问题。请包含你的 Minecraft 版本、模组加载器以及日志文件。
? 支持本项目
如果你觉得这个模组有用,请考虑支持开发!
? 整合包与许可
本模组采用 MIT License 授权。你可以自由地将此模组包含在任何 Modrinth 或 CurseForge 托管的整合包中,只需注明出处即可。请勿在其他地方重新分发 jar 文件。
致谢
- Author: Itamio
- Contributor: Asd1281yss
移植说明
本模组是原版 "Day Counter" 模组的现代化移植版,扩展至支持多个 Minecraft 版本和加载器。移植版保留了原有的核心逻辑,同时适配了各平台的渲染和配置 API。
Optimized Day Counter
Optimized Day Counter is a lightweight, client-side HUD mod that shows the current in-game day and optional 12‑hour clock, letting you track your world's progress at a glance.
? How It Works
The mod adds a small, unobtrusive HUD element that displays the current world day and, optionally, the time of day in a 12‑hour format. It updates automatically as the world progresses and can be fully customized through a config file.


✨ Features
- Day Number Display — Shows “Day X” where X is the current day number based on world time.
- Optional 12‑Hour Clock — Displays the current time of day with AM/PM (e.g., “Day 3 | 2 PM” or “Day 3 | 2:30 PM”).
- Configurable Anchor Position — Choose from 6 positions:
top_left,top_right,bottom_left,bottom_right,center_top,center_bottom. - Pixel‑Perfect Offsets — Fine‑tune the HUD placement with
offset_xandoffset_yfrom the selected anchor. - Three Display Modes — Choose between days only, days + hour, or days + hour + minute.
- Hot‑Reload Config — Edit the config file while the game is running; changes appear after a short delay (config checks every 500ms).
- Info Card — Prints a stylish author and contributor info card on launch.
? Installation
- Install the mod loader of your choice (Fabric, Forge, or NeoForge).
- Download
optimizeddaycounter-<version>.jarand place it into your.minecraft/modsfolder. - Launch the game — the mod will create the config file on first run.
This mod is client‑side only and does not need to be installed on the server.
? Compatibility
| Minecraft | Loader | Status | Version |
|---|---|---|---|
| 1.21.1 | NeoForge | ✅ Supported | Latest |
| 1.21.1 | Fabric | ✅ Supported | Latest |
| 1.21.11 | Fabric | ✅ Supported | Latest |
| 26.1.2 | Fabric | ✅ Supported | Latest |
| 1.20.1 | Forge | ✅ Supported | Latest |
| 1.20.1 | Fabric | ✅ Supported | Latest |
| 1.12.2 | Forge | ✅ Supported | Latest |
Required dependencies: None.
Known incompatibilities: None known.
Works alongside: Any other client‑side mods, including Sodium, Iris, and OptiFine.
❓ FAQ
Does this need to be installed on the server?
No. The mod is purely client‑side and reads directly from the local world state. You can safely use it on any server.
How do I configure the HUD?
Open ./config/optimizeddaycounter.txt (created automatically on first launch). Edit the settings, save the file, and the mod will reload the config within a few seconds.
Can I move the HUD to a different corner?
Yes! Set anchor to one of: top_left, top_right, bottom_left, bottom_right, center_top, or center_bottom. Adjust offset_x and offset_y to fine‑tune the position.
Does this mod add any commands, items, or blocks?
No. It’s a simple HUD overlay with no extra mechanics to learn.
I found a bug, where do I report it?
Please report issues on the GitHub issue tracker. Include your Minecraft version, mod loader, and a log file.
? Support the Project
If you find this mod useful, consider supporting development!
? Modpacks & License
Licensed under the MIT License. You are free to include this mod in any Modrinth or CurseForge‑hosted modpack with attribution. Do not redistribute the jar file elsewhere.
Credits
- Author: Itamio
- Contributor: Asd1281yss
Port Notes
This mod is a modern port of the original "Day Counter" mod, expanded to support multiple Minecraft versions and loaders. The port retains the original core logic while adapting to each platform’s rendering and configuration APIs.
下载 Optimized Day Counter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Optimized Day Counter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Optimized Day Counter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Optimized Day Counter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Optimized Day Counter
下载 Optimized Day Counter
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Optimized Day Counter
下载 Optimized Day Counter
下载 Optimized Day Counter
下载 Optimized Day Counter
- 初始移植至 Minecraft 26.1.2 的 Fabric 版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
AE2:一款流行的自动化与存储模组

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