Class BedwarsPlayerBreakBlock

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

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

    • BedwarsPlayerBreakBlock

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

    • getHandlerList

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

      public Game getGame()
      Returns:
    • getHandlers

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

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

      public RunningTeam getTeam()
      Returns:
    • getBlock

      public org.bukkit.block.Block getBlock()
      Returns:
    • 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
    • isDrops

      public boolean isDrops()
      Returns:
    • setDrops

      public void setDrops(boolean drops)
      Parameters:
      drops -