getServerPosition

Creates a new instance of ServerPos3d representing the entity's position.


abstract fun getServerPosition(position: ServerPos3d): ServerPos3d

Copies all position information to the provided ServerPos3d instance without creating a new instance of ServerPos3d.

Return

The same ServerPos3d instance with updated position information.

Parameters

position

The ServerPos3d instance to copy the position to.