teleport

fun teleport(modifyLocation: Location.() -> Unit)

Teleports the FakeEntity to a different location. (Different worlds aren't supported)

This function automatically chooses which packet (Teleport / Pos / PosRot / Rot) to send.


fun teleport(newLocation: Location, forceTeleport: Boolean = false)

Teleports the FakeEntity to a different location.

This function automatically chooses which packet (Teleport / Pos / PosRot / Rot) to send.