public class EntityTeleportEvent extends EntityEvent implements Cancellable
entity| Constructor and Description |
|---|
EntityTeleportEvent(Entity entity,
Location from,
Location to) |
| Modifier and Type | Method and Description |
|---|---|
Location |
getFrom() |
static HandlerList |
getHandlers() |
Location |
getTo() |
void |
setFrom(Location from) |
void |
setTo(Location to) |
getEntitygetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic static HandlerList getHandlers()
public Location getFrom()
public void setFrom(Location from)
public Location getTo()
public void setTo(Location to)
Copyright © 2020. All rights reserved.