Mineuniverse
Mods
Tick Tok lib

Tick Tok lib

MOD
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.
by thunderrock424242
Download Claim this project
11,867 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
API and Library Server Utility Utility & QoL
Advertisement Remove ads with Premium →

this will change your developing experince by converting ticks into seconds so in your dev enviroment you can mod with ease instead of calculating in ticks you can code with seconds minuts or hours or both.

  

we also added 2 features it will display the game time ingame and your systems local time. you can turn it on or off and choose the placment in the configs area. you have to hold a clock to use it.

 

example is under me, i also suggest reading through the codebase to understand it more

package com.example.examplemod;

import com.thunder.ticktoklib.TickTokAPI;

/**
 * Demonstrates how to use Tick Tock Lib to convert between Minecraft ticks and real-world time.
 */
public class TickTokExampleUsage {

    public void runExamples() {
        //  Convert 10 seconds into ticks
        int cooldownTicks = TickTokAPI.toTicks(10);
        System.out.println("10 seconds = " + cooldownTicks + " ticks");

        //  Convert 3 minutes into ticks
        int durationTicks = TickTokAPI.toTicksMinutes(3);
        System.out.println("3 minutes = " + durationTicks + " ticks");

        //  Convert ticks back into hours, minutes, and seconds
        int totalTicks = 54000; // Example: 45 minutes
        float seconds = TickTokAPI.toSeconds(totalTicks);
        float minutes = TickTokAPI.toMinutes(totalTicks);
        float hours = TickTokAPI.toHours(totalTicks);

        System.out.println("54000 ticks = " + seconds + "s = " + minutes + "m = " + hours + "h");

        //  Use full time duration on one line
        int customDuration = TickTokAPI.duration(1, 25, 0); // 1 hour, 25 minutes
        System.out.println("1h 25m = " + customDuration + " ticks");

        // Format ticks into readable time
        String asMinSec = TickTokAPI.formatTicksToMinSec(7280);   // "6:04"
        String asHMS = TickTokAPI.formatTicksToHMS(72800);        // "1:00:40"

        System.out.println("7280 ticks = " + asMinSec);
        System.out.println("72800 ticks = " + asHMS);
    }
}
ticktoklib-1.4.3.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-08-19 Get
ticktoklib-1.4.2.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-29 Get
ticktoklib-1.4.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-26 Get
ticktoklib-1.4.0.jar
MC Client, 1.21.1, NeoForge, Server
Release 2025-12-06 Get
ticktoklib-1.3.3.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-10-20 Get
ticktoklib-1.3.2.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-10-19 Get
ticktoklib-1.3.1.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-10-18 Get
ticktoklib-1.3.0.jar
MC NeoForge, 1.21.1, Server
Release 2025-07-26 Get
ticktoklib-1.2.1.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-07-24 Get
ticktoklib-1.1.5.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-07-22 Get
ticktoklib-1.1.6.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-07-22 Get
ticktoklib-1.2.0.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-07-22 Get
ticktoklib-1.1.0.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-07-05 Get
ticktoklib-1.0.0.jar
MC Client, NeoForge, 1.21.1, Server
Release 2025-07-03 Get

More from thunderrock424242

Advertisement Remove ads with Premium →

You Might Also Like