PlayerTeleportEvent
Constructors
Link copied to clipboard
Event fired when players teleport due to EliteMobs.
public void PlayerTeleportEvent(Player player, Location destination, PlayerTeleportEvent.Purpose purpose)
Properties
Link copied to clipboard
Link copied to clipboard
public boolean isCancelled
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public static void teleportPlayer(Player player, Location destination, PlayerTeleportEvent.Purpose purpose)
Link copied to clipboard
Fires every cancellable EliteMobs teleport event before executing any teleport in the batch.