Uses of Interface
io.papermc.paper.entity.TeleportFlag
Packages that use 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
Classes in io.papermc.paper.entity that implement TeleportFlagModifier and TypeClassDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version.As of 1.21.10, the default behavior for teleportation is now aligned with vanilla behavior.static enumRelative flags enable an entity to not lose their velocity in the flag-specific axis/context when teleporting. -
Uses of TeleportFlag in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type TeleportFlagModifier and TypeMethodDescriptiondefault booleanEntity.teleport(@NotNull Location location, TeleportFlag @NotNull ... teleportFlags) Teleports this entity to the given location.booleanEntity.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.