S12PacketEntityVelocity

getEntityID(): int

Returns the entity ID of the entity whose velocity is being updated. This is an integer value uniquely identifying the entity in the game world.

getMotionX(): float

Retrieves the X-axis motion (velocity) of the entity. This is an float value representing the entity's horizontal movement speed along the X-axis.

getMotionY(): float

Retrieves the Y-axis motion (velocity) of the entity. This is an float value representing the entity's vertical movement speed along the Y-axis.

getMotionZ(): float

Retrieves the Z-axis motion (velocity) of the entity. This is an float value representing the entity's horizontal movement speed along the Z-axis.

setMotionX(float motionX): void

setMotionY(float motionY): void

setMotionZ(float motionZ): void

Last updated