public class PlayerRemoveObjectEvent extends PlayerObjectEvent implements Cancellable
| Constructor and Description |
|---|
PlayerRemoveObjectEvent(Player player,
commons.objects.ObjectElement object) |
PlayerRemoveObjectEvent(Player player,
short objectid,
byte variation,
int cx,
int cy,
int cz,
short px,
short py,
short pz,
short rx,
short ry,
short rz,
int info,
byte status) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled()
Determines if the event is cancelled.
|
void |
setCancelled(boolean cancel)
Cancels this event.
|
getChunkPositionX, getChunkPositionY, getChunkPositionZ, getObjectDefinition, getObjectInfoID, getObjectPosition, getObjectPositionX, getObjectPositionY, getObjectPositionZ, getObjectRotation, getObjectRotationX, getObjectRotationY, getObjectRotationZ, getObjectStatus, getObjectTypeID, getObjectVariation, getPX, getPY, getPZ, getRX, getRY, getRZgetPlayerpublic PlayerRemoveObjectEvent(Player player, commons.objects.ObjectElement object)
public PlayerRemoveObjectEvent(Player player, short objectid, byte variation, int cx, int cy, int cz, short px, short py, short pz, short rx, short ry, short rz, int info, byte status)
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.