teleportGeneral

fun Entity.teleportGeneral(targetWorld: ServerWorld, location: TeleportTarget): Entity?

A class-safe version of teleport, where the type of the teleported entity is not specified and therefore may have changed when teleported.

Author

sschr15