Skip to content

CooldownModule

Kapitencraft edited this page Jun 25, 2026 · 1 revision

the cooldown module adds cooldowns that are applied to entities and can be queried in order to create cooldowns for item abilities or other actions.

you can activate cooldowns via Cooldown#applyCooldown and check if the cooldown is active via Cooldown#isActive.

cooldowns live in the CooldownRegistries#COOLDOWNS where custom cooldowns can be registered to.

Clone this wiki locally