Class BedwarsTargetBlockDestroyedEvent

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

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

    • BedwarsTargetBlockDestroyedEvent

      public BedwarsTargetBlockDestroyedEvent(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 or null if target block has been destroyed by explosion
    • getTeam

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

      public boolean destroyedByExplosion()
      Returns:
      true if block has been destroyed by explosion