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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetArena()Get the arena where happened.static org.bukkit.event.HandlerListorg.bukkit.event.HandlerListGet 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:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-