Community listing page, reviews here may not be monitored by the author.
Tick Tok lib
No reviews yet
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.
Does not follow a specific thematic focus apart from vanilla Minecraft.
Used for mods with little to no gameplay elements.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Provides a framework or library for other mods to use.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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);
}
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources