public class PlayerTeleportEvent extends PlayerMoveEvent
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
PlayerTeleportEvent.TeleportCause  | 
Event.Resultplayer| Constructor and Description | 
|---|
PlayerTeleportEvent(@NotNull Player player,
                   @NotNull Location from,
                   @Nullable Location to)  | 
PlayerTeleportEvent(@NotNull Player player,
                   @NotNull Location from,
                   @Nullable Location to,
                   @NotNull PlayerTeleportEvent.TeleportCause cause)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull PlayerTeleportEvent.TeleportCause | 
getCause()
Gets the cause of this teleportation event 
 | 
static @NotNull HandlerList | 
getHandlerList()  | 
@NotNull HandlerList | 
getHandlers()  | 
getFrom, getTo, isCancelled, setCancelled, setFrom, setTogetPlayergetEventName, isAsynchronouspublic PlayerTeleportEvent(@NotNull
                           @NotNull Player player,
                           @NotNull
                           @NotNull Location from,
                           @Nullable
                           @Nullable Location to)
public PlayerTeleportEvent(@NotNull
                           @NotNull Player player,
                           @NotNull
                           @NotNull Location from,
                           @Nullable
                           @Nullable Location to,
                           @NotNull
                           @NotNull PlayerTeleportEvent.TeleportCause cause)
@NotNull public @NotNull PlayerTeleportEvent.TeleportCause getCause()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class PlayerMoveEvent@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.