Class AsyncPlayerWorldChangeEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
io.prismmc.prism.event.player.AsyncPlayerWorldChangeEvent

@NullMarked public class AsyncPlayerWorldChangeEvent extends PlayerEvent
Called once a player is in another world after a teleport through Entity.teleportAsync(Location). Folia never calls PlayerChangedWorldEvent for these teleports; this event stands for it.

It is called on the thread that owns the player in its new world, where the player may be read and changed.