public class BedwarsPlayerBreakBlock
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
BedwarsPlayerBreakBlock(Game game,
org.bukkit.entity.Player player,
RunningTeam team,
org.bukkit.block.Block block) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Block |
getBlock() |
Game |
getGame() |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.entity.Player |
getPlayer() |
RunningTeam |
getTeam() |
boolean |
isCancelled() |
boolean |
isDrops() |
void |
setCancelled(boolean cancel) |
void |
setDrops(boolean drops) |
public BedwarsPlayerBreakBlock(Game game, org.bukkit.entity.Player player, RunningTeam team, org.bukkit.block.Block block)
public static org.bukkit.event.HandlerList getHandlerList()
public Game getGame()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public org.bukkit.entity.Player getPlayer()
public RunningTeam getTeam()
public org.bukkit.block.Block getBlock()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
public boolean isDrops()
public void setDrops(boolean drops)
Copyright © 2019. All rights reserved.