HomeJavaModsTickrate API
Tickrate API
ModsJava

Tickrate API

by min01 · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.1 · NeoForge⬇ Download for 1.20.1 · Forge⬇ Download for 1.19.2 · Forge
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.

Tickrate API is simple(?) library mod for manipulate in-game tickrate.
Inspired from Tickrate Changer by Guichaguri

Basic Usage:

Use TickrateUtil class to modify in-game tickrate.
Entities will have a tickrate with highest priority.
Default priority is 1000.
Most of method should be self-explanation.

- TickrateUtil#setBaseTickrate
Permanently change tickrate of entity.
Only need to call once.

- TickrateUtil#setTickrate
Temporarily change tickrate of entity.
Need to call every tick.
While you can call this in anywhere, using 0 tickrate inside LivingTickEvent won't work since event is not fired.
in that case, use below event instead.

- EntityTickEvent
Unlike LivingTickEvent, this event is fired for every entities, including player.
If tickrate of entity is 0, it will be fired with 20 tickrate.
Fired on both sides.

For create a new instance of TickrateTimer, use TickrateTimer#createDefault or TickrateTimer#createWithTickrate

Pressing F3 + B will show existing tickrate areas in dimension.

Also there is in-game command for none-developer.
For remove area, put -1 tickrate with same coordinate.

/tickrate entity <targets> <tickrate> [<priority>]
/tickrate dimension <dimension> <tickrate> [<priority>]
/tickrate area <dimension> <from> <to> <tickrate> [<priority>]

Quick facts

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

These come from our own check of the pack file, not from the source page.

Explore more