
ModsJava
TimerAPI
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
TimerAPI
An api easily create and coding as simple to timer.
Features
- On start, end and tick handling
- Method chain writing
- Some utility methods
- Run timer as async
Usage
Add below to build.gradle.kts.
repositories {
maven("https://repo.chihuyu.love/snapshots/")
}
dependencies {
compileOnly("love.chihuyu:TimerAPI:1.4.1-SNAPSHOT")
}
Example
// this timer length is 180 * 20(1sec) = 3600tick(3min)
val timer = TimerAPI.build("wait ramen", duration = 180, period = 20, delay = 0)
.start {
hotWater.drip()
}
.tick {
some()
}
.end {
ramen.eat()
}
timer.run()
Support
If you need any help or want to share some ideas to add, just DM me!
Discord: @hirosukt
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.8.1, 1.8.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as TimerAPI-1.4.1-SNAPSHOT.jar — drop this file into the mods folder
- Download size: 30 KB
- Download link checked 30 Aug 2026 — working
These come from our own check of the pack file, not from the source page.