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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBedwarsPlayerBreakBlock
(Game game, org.bukkit.entity.Player player, RunningTeam team, org.bukkit.block.Block block) -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
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
- Returns:
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getPlayer
public org.bukkit.entity.Player getPlayer()- Returns:
-
getTeam
- Returns:
-
getBlock
public org.bukkit.block.Block getBlock()- Returns:
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
isDrops
public boolean isDrops()- Returns:
-
setDrops
public void setDrops(boolean drops) - Parameters:
drops
-
-