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