Mineuniverse
Log in Register
Mods

ScheduledTickDispatcherLib

Library for creating unregisterable client and server tick events with dynamic lifecycles and delays
by WhiteTowerGames
Download Claim this project
63 downloads
0 likes
Updated Jul 6, 2026
0 hypes
API and Library

ScheduledTickDispatcherLib

ScheduledTickDispatcherLib is a lightweight library mod built on top of the Fabric API, providing a clean, secure, and memory-safe way to schedule ticking tasks in Minecraft.

Designed for mod developers, it allows you to register both immediate and delayed tasks that automatically unregister themselves upon completion (or allow you to unregister them manually) — eliminating memory leaks and ensuring optimal performance.

Features

  • Tick Phases – Hook into precise lifecycle events (e.g. START_SERVER_TICK, END_CLIENT_WORLD_TICK) for exact control.
  • Delayed Tasks – Schedule delayed executions that begin after a custom tick offset.
  • Task Chaining – Utilities for chaining tasks together for serialized execution.
  • Self-Cleanup – Tasks automatically remove themselves after completion to prevent memory bloat.
  • Security Limits – Built-in caps on task registration per phase as well as limits to task duration and delays to avoid abuse and performance issues.

Installation

Add the library as a dependency via Maven:

repositories {
    maven {
        url "https://cursemaven.com"
    }
}

dependencies {
//Change latest_version to version of the file you're downloading.
//Current latest is 6397403.
    modImplementation "curse.maven:scheduledtickdispatcherlib-1236960:latest_version"
}

Then, refresh your project dependencies and you're good to go!

Usage

ScheduledTickDispatcher contains rich javadoc all over the place, documenting every class and method, as well as an example mod in the repository. For more in-depth explanation to cover most use cases, please view the Wiki.

Built-in Security

To ensure stability and prevent abuse:

  • A hard cap of 30 tasks per phase is enforced.
  • Internal logging tracks misuse and provides context for debugging.
  • Tasks unregister automatically when complete.
scheduledtickdispatcher-1.0.0.jar
MC 1.21, 1.21.5, Fabric, Client, 1.21.4, 1.21.3, 1.21.1, Server, 1.21.2
Release 2025-04-09 Get

More from WhiteTowerGames

Pedestals - Display your items!
31,465
StrippableBlocks API
28,845
Enchanted Vertical Slabs - Nemo's Woodcutter compatch
1,068

You Might Also Like

Fragmentum [NeoForge Edition]
The lightweight framework for the Obscuria Collection multi-loader mods
992,307
Iguana Lib
An iguana lib core for my mods.
992,164
Potentials
Library to allow mod developers to use cross platform capabilities
981,373
SDM Engine Core
The game engine in Minecraft!
980,484
Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527