PlayerTeleportEvent

public class PlayerTeleportEvent extends Event implements Cancellable

Constructors

Link copied to clipboard
public void PlayerTeleportEvent(Player player, Location destination)
Event fired when players teleport due to EliteMobs.
public void PlayerTeleportEvent(Player player, Location destination, PlayerTeleportEvent.Purpose purpose)

Types

Link copied to clipboard
public class PlayerTeleportEventExecutor implements Listener
Link copied to clipboard
public enum Purpose

Properties

Link copied to clipboard
public final Location destination
Link copied to clipboard
public final static HandlerList handlers
Link copied to clipboard
public boolean isCancelled
Link copied to clipboard
public final Location originalLocation
Link copied to clipboard
public final Player player

Functions

Link copied to clipboard
public void executeTeleport()
Link copied to clipboard
public Location getDestination()
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
public HandlerList getHandlers()
Link copied to clipboard
public Location getOriginalLocation()
Link copied to clipboard
public Player getPlayer()
Link copied to clipboard
public boolean isCancelled()
Link copied to clipboard
public void setCancelled(boolean b)
Link copied to clipboard
public static void teleportPlayer(Player player, Location destination)
public static void teleportPlayer(Player player, Location destination, PlayerTeleportEvent.Purpose purpose)
Link copied to clipboard
public static boolean teleportPlayers(Collection<Player> players, Location destination)
Fires every cancellable EliteMobs teleport event before executing any teleport in the batch.

Inherited functions

Link copied to clipboard
public String getEventName()
Link copied to clipboard
public abstract HandlerList getHandlers()
Link copied to clipboard
public final boolean isAsynchronous()
Link copied to clipboard
public abstract boolean isCancelled()
Link copied to clipboard
public abstract void setCancelled(boolean p)