Class ArenaStatusChangeEvent

java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.arena.ArenaStatusChangeEvent
All Implemented Interfaces:
ArenaEvent

public class ArenaStatusChangeEvent extends Event implements ArenaEvent
Gets called when the status of an arena is about to change
  • Constructor Details

  • Method Details

    • getOldStatus

      public ArenaStatus getOldStatus()
      Returns the current status.
      Returns:
      The current status of the arena
    • getNewStatus

      public ArenaStatus getNewStatus()
      Returns the new status status that should be set.
      Returns:
      The new status
    • setNewStatus

      public void setNewStatus(ArenaStatus status)
      Set the new status that should be set.
      Parameters:
      status - The new status
    • getHandlers

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

      public static HandlerList getHandlerList()