setEntityMotion

abstract fun setEntityMotion(player: Player, entityId: Int, velocity: Vector)

Sets the velocity/motion of an entity for the player via a packet.

Parameters

player

The target player.

entityId

The entity to update.

velocity

The velocity vector.