Cooldown class
What is it?
Cooldown.java
is a pretty easy way to make a delay before using a command/item etc. Cooldown.java
provides quite a bit of flexibility. It also gives you the ability to specify what happens after the cooldown.
How to use it
Declare Cooldown
variable.
Adding cooldown
Removing and checking cooldowns
Last updated