public class CountdownTickEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
| Constructor and Description |
|---|
CountdownTickEvent(Countdown c,
long timeLeft)
Called when a countdown ticks.
|
| Modifier and Type | Method and Description |
|---|---|
Countdown |
getCountdown() |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
long |
getTimeLeft() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel)
Sets the Event cancelled, effectively cancelling
the countdowns ability to call further Events
Not reversable!
|
public CountdownTickEvent(Countdown c, long timeLeft)
c - the countdown that this event belongs totimeLeft - the amount of time until this countdown finishespublic boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancel)
setCancelled in interface org.bukkit.event.Cancellablepublic org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic static org.bukkit.event.HandlerList getHandlerList()
public Countdown getCountdown()
public long getTimeLeft()