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, hasPlayerpublic Block getBlock()
public Block getOldBlock()
public boolean isCancelled()
isCancelled in interface CancellableEventpublic void setCancelled(boolean cancel)
setCancelled in interface CancellableEvent