promotional bannermobile promotional banner

Tick Tok lib

this lib converts ticks into milliseconds, seconds, minutes, and hours so you can develop your mod easier. it also comes with 2 features displays the ingame time and your system time.
Back to Files

ticktoklib-1.4.1.jar

File nameticktoklib-1.4.1.jar
Uploaded
Dec 26, 2025
Downloads
2.6K
Size
38.7 KB
Mod Loaders
NeoForge
File ID
7382106
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:tick-tok-lib-1298954:7382106"

Learn more about Curse Maven

What's new

# Changelog

[Released]

Highlights

  • Added Java-time helpers (`ticksToDuration`, `durationToTicks`, `timeUnitToTicks`, `sleepTicksAsync`, `sleepTicksOnServer`) so mods can bridge TickTok timings with `Duration`, `TimeUnit`, and async scheduling via the public API.
  • Introduced phase scheduling utilities (`scheduleAtPhase`, level-aware scheduling, and `phaseBarrier`) to run callbacks precisely when dawn/day/dusk/night begin.
  • Reworked the server's "Can't keep up" warning to report ticks, seconds, and milliseconds behind using TickTok's lag formatter for clearer diagnostics.
  • Optimized the HUD clock overlay by caching formatted game/local time once per tick/second and skipping redundant renders when the player isn't holding a clock.
  • Bundled a logo in the mod metadata so TickTokLib displays with branding in the NeoForge mod list.

This mod has no additional files