Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Links
Creators
Details
Licensed MIT
Published 6 days ago
Updated 2 weeks ago
TickScheduler is a lightweight utility library for mods:
- run code in the future
- repeat actions every N ticks
- execute logic when conditions become true
- persist tasks across world reloads
- offload heavy work to async threads
FULL INFO ON GITHUB:
You can use lib to:
- temporary effects
- cooldown timers
- delayed world events
- repeating logic loops
- async computations
- persistent timers
- condition-triggered routines
- modular systems requiring precise tick control
Commands:
/scheduler debug
/scheduler profiler on
/scheduler profiler off
/scheduler profiler stats
/scheduler save
/scheduler load
/scheduler tasks
/scheduler test
API classes:
SchedulerAPI - High-level scheduling interface
TickScheduler - Internal engine
Types - Task types, context, builder, priorities
PersistentStorage - Save & load persistent tasks
ConditionScheduler - Condition-based logic
TaskRegistry - Restore persistent task types
Example: Custom task:
SchedulerAPI.builder()
.delay(60)
.repeat(10)
.maxRuns(5)
.priority(Types.Priority.HIGH)
.persistent()
.type("regenerate")
.submit(ctx -> {
System.out.println("Regenerating at " + ctx.tick);
});
Port on NeoForge maybe later...



