Class BedwarsGameTickEvent

java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsGameTickEvent

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

    • BedwarsGameTickEvent

      public BedwarsGameTickEvent(Game game, int previousCountdown, GameStatus previousStatus, int countdown, GameStatus status, int nextCountdown, GameStatus nextStatus)
      Parameters:
      game -
      previousCountdown -
      previousStatus -
      countdown -
      status -
      nextCountdown -
      nextStatus -
  • Method Details

    • getHandlerList

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

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getGame

      public Game getGame()
      Returns:
    • getCountdown

      public int getCountdown()
      Returns:
    • getStatus

      public GameStatus getStatus()
      Returns:
    • getNextCountdown

      public int getNextCountdown()
      Returns:
    • setNextCountdown

      public void setNextCountdown(int nextCountdown)
      Parameters:
      nextCountdown -
    • getNextStatus

      public GameStatus getNextStatus()
      Returns:
    • setNextStatus

      public void setNextStatus(GameStatus nextStatus)
      Parameters:
      nextStatus -
    • getPreviousCountdown

      public int getPreviousCountdown()
      Returns:
    • getPreviousStatus

      public GameStatus getPreviousStatus()
      Returns:
    • preventContinuation

      public void preventContinuation(boolean prevent)
      Parameters:
      prevent -
    • isNextCountdownChanged

      public boolean isNextCountdownChanged()
      Returns:
    • isNextStatusChanged

      public boolean isNextStatusChanged()
      Returns:
    • isNextTickChanged

      public boolean isNextTickChanged()
      Returns: