Class BedwarsPreSpawnEffectEvent

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

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

    • BedwarsPreSpawnEffectEvent

      public BedwarsPreSpawnEffectEvent(Game game, org.bukkit.entity.Player player, String effectsGroupName)
      Parameters:
      game -
      player -
      effectsGroupName -
  • Method Details

    • getHandlerList

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

      public Game getGame()
      Returns:
      game
    • getPlayer

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

      public String getEffectsGroupName()
      Returns:
      group effects
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • 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