Class SessionSelectionChangeEvent
java.lang.Object
org.bukkit.event.Event
me.c7dev.dexterity.api.events.SessionSelectionChangeEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSelectionChangeEvent
(DexSession session, DexterityDisplay from, DexterityDisplay to) -
Method Summary
Modifier and TypeMethodDescriptionReturns the DexterityDisplay that the player is about to un-select, or nullstatic HandlerList
Returns the DexterityDisplay that the player is about to select, or nullboolean
void
setCancelled
(boolean b) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
SessionSelectionChangeEvent
-
-
Method Details
-
getFromSelectedDisplay
Returns the DexterityDisplay that the player is about to un-select, or null- Returns:
-
getToSelectedDisplay
Returns the DexterityDisplay that the player is about to select, or null- Returns:
-
getSession
-
getPlayer
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-