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