Class SessionSelectionChangeEvent

java.lang.Object
org.bukkit.event.Event
me.c7dev.dexterity.api.events.SessionSelectionChangeEvent
All Implemented Interfaces:
Cancellable

public class SessionSelectionChangeEvent extends Event implements Cancellable
  • Constructor Details

  • Method Details

    • getFromSelectedDisplay

      public DexterityDisplay getFromSelectedDisplay()
      Returns the DexterityDisplay that the player is about to un-select, or null
      Returns:
    • getToSelectedDisplay

      public DexterityDisplay getToSelectedDisplay()
      Returns the DexterityDisplay that the player is about to select, or null
      Returns:
    • getSession

      public DexSession getSession()
    • getPlayer

      public Player getPlayer()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface Cancellable
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface Cancellable
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()