Class NextEventChangeEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.NextEventChangeEvent
public class NextEventChangeEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Get the arena where happened.static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Get the event that is coming.Get the event that happened in this moment.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
NextEventChangeEvent
-
-
Method Details
-
getArena
Get the arena where happened.- Returns:
- the arena where happened.
-
getNewEvent
Get the event that is coming.- Returns:
- upcoming event.
-
getOldEvent
Get the event that happened in this moment.- Returns:
- the event that just happened.
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-