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