Uses of Interface
io.papermc.paper.entity.TeleportFlag
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of TeleportFlag in io.papermc.paper.entity
Modifier and TypeClassDescriptionstatic enum
Represents flags that effect the entity's state on teleportation.static enum
Note: These flags only work onPlayer
entities. -
Uses of TeleportFlag in org.bukkit.entity
Modifier and TypeMethodDescriptiondefault boolean
Entity.teleport
(@NotNull Location location, TeleportFlag @NotNull ... teleportFlags) Teleports this entity to the given location.boolean
Entity.teleport
(@NotNull Location location, @NotNull PlayerTeleportEvent.TeleportCause cause, TeleportFlag @NotNull ... teleportFlags) Teleports this entity to the given location.Entity.teleportAsync
(@NotNull Location loc, @NotNull PlayerTeleportEvent.TeleportCause cause, TeleportFlag @NotNull ... teleportFlags) Loads/Generates(in 1.13+) the Chunk asynchronously, and then teleports the entity when the chunk is ready.