public class BlockPlaceEvent extends PlayerEvent implements CancellableEvent
Constructor and Description |
---|
BlockPlaceEvent(Player p,
Block b) |
Modifier and Type | Method and Description |
---|---|
Block |
getBlock() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
getPlayer
public Block getBlock()
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean cancel)
setCancelled
in interface CancellableEvent