public class PlayerDigEvent extends PlayerEvent implements Cancellable
| Constructor and Description |
|---|
PlayerDigEvent(Player player,
BlockDirection face,
short status) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(boolean cancelled) |
BlockDirection |
face() |
boolean |
isIgnored() |
short |
status() |
playerpublic PlayerDigEvent(Player player, BlockDirection face, short status)
public BlockDirection face()
public short status()
public boolean isIgnored()
isIgnored in interface Cancellablepublic void cancel(boolean cancelled)
cancel in interface Cancellablecancelled - set the cancellation state of the eventCopyright © 2016. All rights reserved.