Class BedwarsTeamChestOpenEvent

java.lang.Object
org.bukkit.event.Event
org.screamingsandals.bedwars.api.events.BedwarsTeamChestOpenEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class BedwarsTeamChestOpenEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Constructor Details

    • BedwarsTeamChestOpenEvent

      public BedwarsTeamChestOpenEvent(Game game, org.bukkit.entity.Player player, RunningTeam team)
      Parameters:
      game -
      player -
      team -
  • Method Details

    • getHandlerList

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

      public Game getGame()
      Returns:
      game
    • getHandlers

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

      public org.bukkit.entity.Player getPlayer()
      Returns:
      player
    • getTeam

      public RunningTeam getTeam()
      Returns:
      team of player
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable