public class BedwarsPlayerBuildBlock
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
BedwarsPlayerBuildBlock(Game game,
org.bukkit.entity.Player player,
RunningTeam team,
org.bukkit.block.Block block,
org.bukkit.inventory.ItemStack itemInHand,
org.bukkit.block.BlockState replaced) |
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.inventory.ItemStack |
getItemInHand() |
org.bukkit.entity.Player |
getPlayer() |
org.bukkit.block.BlockState |
getReplaced() |
RunningTeam |
getTeam() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
public BedwarsPlayerBuildBlock(Game game, org.bukkit.entity.Player player, RunningTeam team, org.bukkit.block.Block block, org.bukkit.inventory.ItemStack itemInHand, org.bukkit.block.BlockState replaced)
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 org.bukkit.block.BlockState getReplaced()
public org.bukkit.inventory.ItemStack getItemInHand()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
setCancelled
in interface org.bukkit.event.Cancellable
Copyright © 2019. All rights reserved.