public class PlayerMoveEvent extends PlayerEvent implements Cancellable
| Constructor and Description |
|---|
PlayerMoveEvent(Player player,
Location from,
Location to) |
PlayerMoveEvent(Player player,
Location from,
Location to,
boolean resetBlocks) |
| Modifier and Type | Method and Description |
|---|---|
Location |
getFrom() |
static HandlerList |
getHandlers() |
Location |
getTo() |
boolean |
isResetBlocksAround() |
void |
setCancelled() |
void |
setFrom(Location from) |
void |
setResetBlocksAround(boolean value) |
void |
setTo(Location to) |
getPlayergetEventName, isCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelledpublic static HandlerList getHandlers()
public Location getFrom()
public void setFrom(Location from)
public Location getTo()
public void setTo(Location to)
public boolean isResetBlocksAround()
public void setResetBlocksAround(boolean value)
public void setCancelled()
setCancelled in interface CancellablesetCancelled in class EventCopyright © 2020. All rights reserved.