Class NextEventChangeEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.NextEventChangeEvent

public class NextEventChangeEvent extends org.bukkit.event.Event
  • Constructor Details

  • Method Details

    • getArena

      public IArena getArena()
      Get the arena where happened.
      Returns:
      the arena where happened.
    • getNewEvent

      public NextEvent getNewEvent()
      Get the event that is coming.
      Returns:
      upcoming event.
    • getOldEvent

      public NextEvent 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 class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()