Community voices
Reviews
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
Compatibility
Supported Environments
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
TickScheduler is a lightweight tick 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 it 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 persistent 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);
});
Persistent tasks survive world reloads
Profiler measures real execution time of scheduled tasks
Port on NeoForge and on 1.21.1 later maybe…
TickScheduler is a lightweight Tick 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 it 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 <- for test lib
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 persistent 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);
});
Persistent tasks survive world reloads. Profiler measures real execution time of scheduled tasks.
Port on NeoForge and on 1.21.1 later maybe...
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