CancellablePlayerPortalEvent, PlayerTeleportEndGatewayEventpublic class PlayerTeleportEvent extends PlayerMoveEvent
| Modifier and Type | Class | Description | 
|---|---|---|
| static class  | PlayerTeleportEvent.TeleportCause | 
Event.Resultplayer| Constructor | Description | 
|---|---|
| PlayerTeleportEvent(Player player,
                   Location from,
                   Location to) | |
| PlayerTeleportEvent(Player player,
                   Location from,
                   Location to,
                   PlayerTeleportEvent.TeleportCause cause) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| PlayerTeleportEvent.TeleportCause | getCause() | Gets the cause of this teleportation event | 
| static HandlerList | getHandlerList() | |
| HandlerList | getHandlers() | 
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayergetFrom, getTo, isCancelled, setCancelled, setFrom, setTopublic PlayerTeleportEvent(@NotNull
                           Player player,
                           @NotNull
                           Location from,
                           @Nullable
                           Location to)
public PlayerTeleportEvent(@NotNull
                           Player player,
                           @NotNull
                           Location from,
                           @Nullable
                           Location to,
                           @NotNull
                           PlayerTeleportEvent.TeleportCause cause)
@NotNull public PlayerTeleportEvent.TeleportCause getCause()
@NotNull public HandlerList getHandlers()
getHandlers in class PlayerMoveEvent@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.