public interface CooldownEvent extends Event
| Modifier and Type | Interface and Description |
|---|---|
static class |
CooldownEvent.Cause |
| Modifier and Type | Method and Description |
|---|---|
CooldownEvent.Cause |
getCause() |
java.time.Duration |
getDuration() |
java.lang.String |
getKey() |
Identifier |
getSender() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
void |
setDuration(java.time.Duration duration) |
void |
setKey(java.lang.String key) |
Identifier getSender()
java.lang.String getKey()
void setKey(java.lang.String key)
java.time.Duration getDuration()
void setDuration(java.time.Duration duration)
boolean isCancelled()
void setCancelled(boolean cancelled)
@ApiStatus.Experimental CooldownEvent.Cause getCause()