public class PlayerDestroyBlockEvent extends PlayerWorldEditEvent
| Constructor and Description |
|---|
PlayerDestroyBlockEvent(Player player,
int blockID,
int cx,
int cy,
int cz,
int bx,
int by,
int bz) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBlockID()
Gets the id of the block the player is going to destroy.
|
getBlockPositionX, getBlockPositionY, getBlockPositionZ, getChunkPositionX, getChunkPositionY, getChunkPositionZ, getGlobalBlockPositionX, getGlobalBlockPositionY, getGlobalBlockPositionZ, isCancelled, setCancelledgetPlayerpublic PlayerDestroyBlockEvent(Player player, int blockID, int cx, int cy, int cz, int bx, int by, int bz)