public final class ChunkBusterFinishEvent
extends org.bukkit.event.Event
Modifier and Type | Class and Description |
---|---|
static class |
ChunkBusterFinishEvent.FinishReason
FinishReason holds the reasons for finishing tasks of chunk busters.
|
Constructor and Description |
---|
ChunkBusterFinishEvent(PlayerBuster playerBuster,
ChunkBusterFinishEvent.FinishReason finishReason)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
ChunkBusterFinishEvent.FinishReason |
getFinishReason()
The reason to finish the task of the chunk buster.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
PlayerBuster |
getPlayerBuster()
The chunk buster that finished it's task.
|
public ChunkBusterFinishEvent(PlayerBuster playerBuster, ChunkBusterFinishEvent.FinishReason finishReason)
playerBuster
- The chunk buster that finished it's task.finishReason
- The reason to finish the task.public PlayerBuster getPlayerBuster()
public ChunkBusterFinishEvent.FinishReason getFinishReason()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()