Class ClientCooldownManager<T>
java.lang.Object
dev.bouncingelf10.timelesslib.api.countdown.CountdownManager<T>
dev.bouncingelf10.timelesslib.api.cooldown.AbstractCooldownManager<T>
dev.bouncingelf10.timelesslib.api.cooldown.ClientCooldownManager<T>
A Cooldown manager that tracks cooldowns for the local client
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected UUIDnormalizeOwner(UUID owner) voidvoidresetAll()startIfAbsent(String key, Duration duration, TimeSource timeSource) startRealtime(String key, Duration duration) Methods inherited from class AbstractCooldownManager
isReady, remaining, reset, resetAll, start, startIfAbsent, startRealtimeMethods inherited from class CountdownManager
get, shutdown, shutdownGracefully, start, start, startRealtime
-
Constructor Details
-
ClientCooldownManager
-
-
Method Details
-
normalizeOwner
- Specified by:
normalizeOwnerin classAbstractCooldownManager<T>
-
start
-
startRealtime
-
startIfAbsent
-
isReady
-
remaining
-
reset
-
resetAll
public void resetAll() -
getLocalClient
-