Uses of Enum Class
org.bukkit.event.player.PlayerTeleportEvent.TeleportCause
Packages that use PlayerTeleportEvent.TeleportCause
Package
Description
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.-
Uses of PlayerTeleportEvent.TeleportCause in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type PlayerTeleportEvent.TeleportCauseModifier and TypeMethodDescriptionbooleanEntity.teleport(@NotNull Entity destination, @NotNull PlayerTeleportEvent.TeleportCause cause) Teleports this entity to the target Entity.booleanEntity.teleport(@NotNull Location location, @NotNull PlayerTeleportEvent.TeleportCause cause) Teleports this entity to the given location.default booleanEntity.teleport(@NotNull Location location, @NotNull PlayerTeleportEvent.TeleportCause cause, boolean ignorePassengers) Teleports this entity to the given location.booleanEntity.teleport(@NotNull Location location, @NotNull PlayerTeleportEvent.TeleportCause cause, boolean ignorePassengers, boolean dismount) Teleports this entity to the given location.booleanPlayer.teleport(@NotNull Location location, PlayerTeleportEvent.TeleportCause cause, boolean ignorePassengers, boolean dismount, @NotNull RelativeTeleportFlag @NotNull ... teleportFlags) Teleports this entity to the given location.default CompletableFuture<Boolean>Entity.teleportAsync(@NotNull Location loc, @NotNull PlayerTeleportEvent.TeleportCause cause) Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready. -
Uses of PlayerTeleportEvent.TeleportCause in org.bukkit.event.player
Methods in org.bukkit.event.player that return PlayerTeleportEvent.TeleportCauseModifier and TypeMethodDescriptionPlayerTeleportEvent.getCause()Gets the cause of this teleportation eventReturns the enum constant of this class with the specified name.static PlayerTeleportEvent.TeleportCause[]PlayerTeleportEvent.TeleportCause.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in org.bukkit.event.player with parameters of type PlayerTeleportEvent.TeleportCauseModifierConstructorDescriptionPlayerPortalEvent(@NotNull Player player, @NotNull Location from, @Nullable Location to, @NotNull PlayerTeleportEvent.TeleportCause cause) PlayerPortalEvent(@NotNull Player player, @NotNull Location from, @Nullable Location to, @NotNull PlayerTeleportEvent.TeleportCause cause, int getSearchRadius, boolean canCreatePortal, int creationRadius) PlayerTeleportEvent(@NotNull Player player, @NotNull Location from, @Nullable Location to, @NotNull PlayerTeleportEvent.TeleportCause cause) PlayerTeleportEvent(@NotNull Player player, @NotNull Location from, @Nullable Location to, @NotNull PlayerTeleportEvent.TeleportCause cause, boolean dismounted, Set<@NotNull RelativeTeleportFlag> teleportFlagSet)