Uses of Class
org.bukkit.event.player.PlayerTeleportEvent.TeleportCause
Package | Description |
---|---|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.player |
-
Uses of PlayerTeleportEvent.TeleportCause in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type PlayerTeleportEvent.TeleportCause Modifier and Type Method Description boolean
Entity. teleport(Entity destination, PlayerTeleportEvent.TeleportCause cause)
Teleports this entity to the target Entity.boolean
Entity. teleport(Location location, PlayerTeleportEvent.TeleportCause cause)
Teleports this entity to the given location. -
Uses of PlayerTeleportEvent.TeleportCause in org.bukkit.event.player
Methods in org.bukkit.event.player that return PlayerTeleportEvent.TeleportCause Modifier and Type Method Description PlayerTeleportEvent.TeleportCause
PlayerTeleportEvent. getCause()
Gets the cause of this teleportation eventstatic PlayerTeleportEvent.TeleportCause
PlayerTeleportEvent.TeleportCause. valueOf(String name)
Returns the enum constant of this type with the specified name.static PlayerTeleportEvent.TeleportCause[]
PlayerTeleportEvent.TeleportCause. values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in org.bukkit.event.player with parameters of type PlayerTeleportEvent.TeleportCause Constructor Description PlayerPortalEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause)
PlayerPortalEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause, int getSearchRadius, boolean canCreatePortal, int creationRadius)
PlayerTeleportEvent(Player player, Location from, Location to, PlayerTeleportEvent.TeleportCause cause)