updateCoord

fun updateCoord(worldId: Int, level: Int, x: Int, z: Int)

Updates the current real absolute coordinate of the local player in the world.

Parameters

worldId

the id of the world in which the player currently resides, if they are inside a world entity, this would be that index. If they are in the root world, this should be ROOT_WORLD.

level

the current height level of the player

x

the current absolute x coordinate of the player

z

the current absolute z coordinate of the player