public class PlayerRemoveVegetationEvent extends PlayerVegetationEvent implements Cancellable
| Constructor and Description |
|---|
PlayerRemoveVegetationEvent(Player player,
commons.world.Plant plant) |
PlayerRemoveVegetationEvent(Player player,
short plantid,
int cx,
int cy,
int cz,
short px,
short py,
short pz,
short rx,
short ry,
short rz,
boolean cut) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled()
Determines if the event is cancelled.
|
void |
setCancelled(boolean cancel)
Cancels this event.
|
getChunkPositionX, getChunkPositionY, getChunkPositionZ, getPlantDefinition, getPlantPosition, getPlantPositionX, getPlantPositionY, getPlantPositionZ, getPlantRotation, getPlantRotationX, getPlantRotationY, getPlantRotationZ, getPlantTypeID, getPX, getPY, getPZ, getRX, getRY, getRZgetPlayerpublic PlayerRemoveVegetationEvent(Player player, commons.world.Plant plant)
public PlayerRemoveVegetationEvent(Player player, short plantid, int cx, int cy, int cz, short px, short py, short pz, short rx, short ry, short rz, boolean cut)
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - set to true if you want to cancel this event.