public final class PlayerTeleportEvent extends PlayerEvent implements Cancellable
| Modifier and Type | Class and Description |
|---|---|
static class |
PlayerTeleportEvent.TeleportCause |
| Constructor and Description |
|---|
PlayerTeleportEvent(Player player,
Location from,
Location to,
PlayerTeleportEvent.TeleportCause cause) |
| Modifier and Type | Method and Description |
|---|---|
PlayerTeleportEvent.TeleportCause |
getCause() |
Location |
getFrom() |
Location |
getTo() |
getPlayerisCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledpublic PlayerTeleportEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause)
public Location getFrom()
public Location getTo()
public PlayerTeleportEvent.TeleportCause getCause()
Copyright © 2021. All rights reserved.