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.

File Details

ticktoklib-1.4.1.jar

  • R
  • Dec 26, 2025
  • 38.72 KB
  • 2.6K
  • 1.21.1
  • NeoForge

File Name

ticktoklib-1.4.1.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:tick-tok-lib-1298954:7382106"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

# 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.