promotional bannermobile promotional banner
premium banner
Mod adds simple clock time for your world

Description

tips

🕒 World Clock

A simple quality-of-life mod that adds a clean in-game clock to your world.

World Clock helps you keep track of time without cluttering your screen or breaking immersion. It’s lightweight and configurable.


✨ Features

  • ⏱️ Displays the current in-game time
  • 🌍 Enable or disable the clock per world
  • 🔠 Adjustable font size and format
  • 🪶 Lightweight and minimal UI
  • ⚙️ MultipleHUD supported

⚙️ Configuration

{
  "ClockPattern": "hh:mm",
  "ClockPosition": "center",
  "WidthClockArea": 77,
  "BackgroundColorEnabled": true,
  "FontSize": 16,
  "WorldsWithClockEnabled": [
    "default"
  ]
}

Config options

ClockPattern Defines how the time is displayed.
Examples:

  • 24-hour format HH:mm → 20:45
  • year-month-day 24-hour format yyyy-MMM-dd HH:mm → 0001-Jan-01 20:45
  • 12-hour format hh:mm a → 08:45 am / pm
  • 12-hour format with custom text 'time:' hh:mm a → time: 08:45 am / pm

ClockPosition Sets the position of the clock on the screen. Possible values: left, center, right - not implemented yet

WidthClockArea Controls the width of the clock background area.
Increase this value if the time format is longer or appears cramped.

BackgroundColorEnabled Enables or disables background color.

FontSize Changes the size of the clock text.

WorldsWithClockEnabled List of worlds where the clock is visible.
The default world is enabled by default.

If you have any problems, go to Issues tab and add new issue.