▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Vanilla DayTime Counter
Vanilla DayTime Counter

Vanilla DayTime Counter

A lightweight, vanilla-style day and clock counter for the HUD — shows the current day, time, and a vanilla XP-bar-style progress bar, with a toast reminder when it's time to sleep.

Оцените первым
2.0K
6
Все версии→DayTime Counter 1.4.3+26.1

DayTime Counter 1.4.3+26.1

Release03.09.2026

Список изменений

1.4.3

This release is about playing nicely with other mods' HUD elements, plus another batch of public API for developers building on top of this mod.

Added

  • HUD Position → "Extra top clearance": a new setting (Off / +20px / +40px / +60px) that adds extra space above this mod's HUD block for the "top" position presets — a manual fallback for the rare mod that draws its own top-of-screen bar (a custom boss bar, a level/progress bar on a OneBlock-style map, ...) through a channel this mod's automatic avoidance can't see. It stacks on top of that automatic avoidance rather than replacing it.
  • recordCustomCounter(Identifier) / recordCustomCounter(Identifier, int) and getCustomCounterCount(Identifier) / getCustomCounterCount(Identifier, long day): other mods can now track their own named counters (anything the built-in death/raid/trade/advancement counters don't cover) through this mod's journal, the same as those built-in ones — a world/server total or scoped to a single in-game day.
  • DayTimeEvents.DAY_MILESTONE_REACHED: fires the first time each in-game day this mod treats as a milestone is reached (day 50, day 365, and every multiple of 100 after that, with no upper bound) — the same day set that drives this mod's own HUD celebration and milestone sound, now something a third-party mod can hook into directly instead of re-deriving it.
  • getHudBlockBounds() / HudBlockBounds: returns where this mod's own day/time HUD block is currently drawn on screen (position, size, whether it's showing anything at all), so another mod can position its own independently-rendered HUD content anchored to it — or deliberately clear of it — instead of hardcoding a screen position that might collide.
  • Hardcore run recap: on a hardcore world's final death, a dedicated "You survived N days" screen now appears in front of the usual death screen, with a short recap pulled from this mod's own World Journal (dimension era names, first Nether/End, the Dragon, raids/trades/ advancements) and a shortcut straight into the full journal. A "Continue" button hands off to the normal death screen exactly as before — nothing about vanilla's own exit-to-title flow is touched. Has its own on/off toggle in settings (Info & Alerts).
  • Day display format: a new HUD setting groups the day counter into weeks, months, or years ("Week 36 · Day 1", "Month 9 · Week 4 · Day 1", ...) instead of the plain running count, purely as a different way to read the same number — with a second toggle choosing whether the smallest shown unit resets each period or keeps counting up alongside the bigger label. Everything this mod tracks internally (journal entries, milestones, the API's current day) still uses the plain absolute day count; only this HUD text changes. The unit order follows what reads naturally in each language — English lists largest-to-smallest ("Year 1 · Month 9 · Week 4 · Day 1"), Italian lists smallest-to-largest ("Giorno 1 · Settimana 4 · Mese 9 · Anno 1") — rather than forcing one fixed order translated word-for-word.

See "For developers" on this page for the full reference (method signatures, DTO fields, namespacing rules, threading notes).

Fixed / Clarified

  • Confirmed and documented: this mod's existing boss-bar avoidance (the shrink-and-duck behavior for the "top center" HUD position) already reacts to any boss bar shown through vanilla's own boss bar system — dragon, wither, a raid, or a server/datapack's own /bossbar command — which covers most OneBlock-style maps, since their "Level: X" bar is typically implemented exactly that way. No code change was needed for that case; the "Extra top clearance" setting above covers the remaining case of a mod that draws its own bar outside that shared channel.

Файлы

vanilladaytimecounter-1.4.3+26.1.jar(1.74 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.4.3+26.1

Загрузчики

Fabric

Версии игры

26.1.2

Загрузок

34

Дата публикации

03.09.2026

Загрузил

ID версии

Главная