UI Timer Lib
by FilXD
UI Timer Lib is a Fabric library that lets mod developers show text and live countdown timers on the player's HUD without writing their own renderer.
What it does
The library covers the common case of putting a short line of text or a running countdown on a player's screen. On screen, the library lets a developer place custom text on the HUD, run live countdown timers, set the color behind that text, and toggle the overlay on or off. Its stated aim is a quick, lightweight way to draw these elements, so a minigame or timer mod does not need a separate rendering layer.
Because it is a library, it is added as a project dependency and imported from Java code, and the example library use shows how the calls fit together. Other mods can build on it: Random Effects Every Minute and TNT Storm Every Minute both require it. The author notes that the fields are open for direct access when a normal usage needs them. The UI Utils dependency mod is also required, so both it and this library must be on the classpath.
Players add it to their own game, and a server needs no copy. The files target Fabric alone, for the game versions 1.21.6 – 1.21.11, and the code is released under the MIT License, which is not open source. The public issue tracker is the only listed link. The first release came out on 2026-06-10 and the latest file, 1.0.0 for 1.21.11, is dated 2026-06-12.
Key features
Custom HUD text
Developers can place their own text on the player's screen as a HUD element without drawing it by hand.
Live countdown timers
Countdown timers update on screen while the game runs, suitable for round timers and event clocks.
Background colors
The background behind displayed text can be given its own color to keep it readable against the game view.
Show and hide overlay
The overlay can be turned on and off from code, so a mod controls when its elements are visible.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 2 mods
Use cases
Who it’s for: Mod developers who want to add timers or short text to the HUD and do not want to write their own renderer. Players only benefit indirectly, through the mods that use the library.
How it compares
TimerDisplay Mod is a Fabric client mod covering 1.21.1 – 1.21.11 under the MIT License, but it is not open source. Race timers is a Fabric client mod for 1.21.6 – 1.21.11 under the MIT License, and it is open source, which this library is not. AXHud is a Fabric client mod for 1.21.7 under All rights reserved, so it is a single-version option with a different license.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| UI Timer Lib | Fabric | 1.21.6 – 1.21.11 | Client-side only | 2026-06-12 |
| TimerDisplay Mod | Fabric | 1.21.1 – 1.21.11 | Client-side only | 2026-04-12 |
| Race timers | Fabric | 1.21.6 – 1.21.11 | Client-side only | 2026-04-23 |
| AXHud | Fabric | 1.21.7 | Client-side only | 2025-12-13 |
Questions
Does UI Timer Lib need UI Utils?
Does a server need UI Timer Lib?
Which game versions have files?
In the catalog
UI Timer Lib is one of 2,135 Minigame mods on ModsFinder, and one of 1,454 Minigame mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from FilXD
Similar mods
What the author says
UI Utils is a small Fabric library that makes it easy to display simple HUD elements without having to write your own renderer. It is designed for mod developers who want a quick and lightweight way to show text and timers on the player's screen.
Official listing
- Modrinth page
- modrinth.com/mod/ui-timer-lib
- Owner
- FilXD
- Published
- 2026-06-10
- Updated on Modrinth
- 2026-06-12
- Facts verified
- 2026-10-15
