CooldownLib
by New
CooldownLib is a Fabric library that gives other mods a shared way to store, count and expire cooldowns, so their developers do not write timers from scratch.
What it does
Many mods need a cooldown for abilities, spells, weapons, special attacks, items or machines. Without a shared library, each developer tends to build the same storage, time calculation and expiration logic again. CooldownLib supplies that layer: it keeps cooldown storage for each player, allows several cooldowns per player at once, calculates the remaining time and clears entries when they expire.
The library is meant to be added as a dependency by other Fabric mods rather than used directly by players. Its API is fluent and readable, and it supports custom cooldowns with their own messages, such as a notice that an ability is still charging or unavailable. Developers can focus on gameplay while the library handles timing.
CooldownLib is server-side only, so players join a server that runs it without installing anything. It is published for Fabric only, for 1.21.9, 1.21.10, 1.21.11 and 26.2, under a custom license that is not open source.
Key features
Cooldown storage per player
Each player has stored cooldowns, and the library tracks several of them at the same time.
Fluent API
A readable, chainable API lets developers start, query and cancel cooldowns without manual timer code.
Automatic expiration
Expired cooldowns are removed by the library, so the mod using it does not need its own tick logic.
Custom cooldown messages
A cooldown can carry its own message, for example to tell a player that an ability is unavailable or still charging.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does a player need to install CooldownLib?
Which loader does CooldownLib support?
Which game versions have files?
In the catalog
CooldownLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.
More from New
Similar mods
What the author says
Instead of creating custom timers, HashMaps, and tick logic for every ability or item, CooldownLib provides a clean and easy-to-use API for managing cooldowns. .message("§cFireball is still on cooldown!")
Official listing
- Modrinth page
- modrinth.com/mod/cooldownlib
- Owner
- New
- Published
- 2026-07-23
- Updated on Modrinth
- 2026-09-13
- Facts verified
- 2026-10-15
