promotional bannermobile promotional banner

Nightfall Clock

A day counter and clock above your hotbar that follows where the sun really is, so it stays right on longer days, plus a heads-up when the sun starts to set.
1 the sun's getting real low.png

1 the sun's getting real low.png

2 gold clock at sunset.png

2 gold clock at sunset.png

3 clock above the hotbar.png

3 clock above the hotbar.png

Description

A clock above your hotbar that follows where the sun really is, so it stays right even on packs with longer days, and warns you before dark: "The sun's getting real low".

I kept getting caught out by the dark, halfway through a build or a long way from home. Nightfall Clock shows the day and time where you'd glance anyway, and an hour before night it tells you: "The sun's getting real low".

What you see

A line of text just above your hearts and hunger: "Day 4 · 2:35 PM". It turns gold at 6:00 PM and stays gold until 7:00 PM, when night falls.

At 6:00 PM that line reads "The sun's getting real low" for a few seconds, then goes back to the time. It only happens when dusk arrives as you play, not when you sleep or jump ahead with /time set (a jump of just a few minutes still counts as playing through it).

The clock shares its spot politely. When something else needs that space (the name of the item you just switched to, a message in the action bar, or recent chat), the clock steps aside and fades back in once it's gone. If a server keeps its own text in the action bar all the time, the clock shows alongside it instead of staying hidden.

It hides with the rest of the HUD when you press F1, and in the Nether and the End, which have no day.

Right on longer days

Most clocks divide the day's ticks into 24 equal hours. That works for vanilla, but packs and datapacks that make days longer, or stretch the daylight more than the night, throw them off: "6:00 PM" can arrive while it's still bright, or after dark.

Nightfall Clock reads the time from where the sun actually is, the same way Minecraft's own clock item does. However long the day is, 6:00 PM is when the sun is where it sits at 6:00 PM in vanilla.

Settings

On Fabric, with Mod Menu installed, open Mods, pick Nightfall Clock and click the settings button. On NeoForge and Forge, open Mods, pick Nightfall Clock and click Config. Changes show straight away.

  • Clock: on or off.
  • Dusk Warning: on or off.
  • Position: above the hotbar, or in any corner of the screen. (Minimaps and some HUD mods use the top corners; pick one they don't.)
  • Time Format: 12-hour (6:00 PM), 24-hour (18:00), or Auto, which follows your computer's region settings.

The same settings are also in config/nightfallclock.properties.

If you play with Text Background set to Everywhere (Options, Accessibility), the clock gets the same dark box behind it as the rest of the game's text.

Good to know

  • It's client-side only. It works on any server, and the server doesn't need it.
  • The day number changes at 6:00 AM, the way Minecraft counts days, so 2:00 AM still belongs to the day before.

Requirements

Minecraft Loader Also needs
26.2 and 26.3 Fabric Fabric API
26.2 and 26.3 NeoForge nothing else
1.21.1 Fabric Fabric API
1.21.1 NeoForge nothing else
1.20.1 Fabric Fabric API
1.20.1 Forge nothing else

Pick the file for your version and loader in the Files tab. Optional on Fabric: Mod Menu, for the settings screen; on NeoForge and Forge, the settings are on the Mods screen's Config button.

About this mod

I made this for my own modded playthroughs and am sharing it in case it helps others. I built it with help from Claude, an AI assistant. The source is on GitHub under the MIT License, so you're welcome to read it, fork it or include it in a modpack.

Found a bug or have an idea? Tell me on GitHub.

Nightfall Clock Team

profile avatar
  • 4
    Projects
  • 180
    Downloads

I make small, polished Minecraft mods for Fabric, Forge and NeoForge, built with help from Claude, an AI assistant. Free and open source (MIT). Source and issues: https://github.com/gabmaybelle.

More from GabMaybelle

  • Spawn Gazebo project image

    Spawn Gazebo

    New worlds start in a little round stone gazebo: pillars of the local wood, a green copper dome, lanterns, benches and a starter chest. It can't be broken outside creative unless you say so.

    • 17
    • October 17, 2026
  • Pocket List project image

    Pocket List

    A checklist in the corner of your screen that ticks itself off as you gather. Pin items or recipes and break them down into ingredients. Client-side.

    • 40
    • October 17, 2026
  • Not Now, Shield project image

    Not Now, Shield

    Axes, hoes and shovels work even with a shield in your off-hand, and the shield sits lower on screen so it covers less of your view.

    • 66
    • October 17, 2026
  • Spawn Gazebo project image

    Spawn Gazebo

    New worlds start in a little round stone gazebo: pillars of the local wood, a green copper dome, lanterns, benches and a starter chest. It can't be broken outside creative unless you say so.

    • 17
    • October 17, 2026
  • Pocket List project image

    Pocket List

    A checklist in the corner of your screen that ticks itself off as you gather. Pin items or recipes and break them down into ingredients. Client-side.

    • 40
    • October 17, 2026
  • Not Now, Shield project image

    Not Now, Shield

    Axes, hoes and shovels work even with a shield in your off-hand, and the shield sits lower on screen so it covers less of your view.

    • 66
    • October 17, 2026