updateCoord

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

Updates the current coordinate of this world entity, along with a move speed to reach that coordinate, if applicable.

Parameters

level

the current level of this world entity.

x

the current absolute x coordinate of this world entity.

z

the current absolute z coordinate of this world entity.

moveSpeed

the movement speed of this world entity. See the table within the main class documentation for the possible move speed values.