Files
Pumpkin/crates/pumpkin-protocol/src/bedrock/client/set_actor_motion.rs
Demetrius Kanios 24ae9faa4f chore(bedrock): Update most of the packets to mirror the official docs (#3044)
* chore(bedrock): Update most of the packets to mirror the official docs
more closely.

* Fix typo

* Fix CCreativeContent

* Undo unrelated `registry.rs` change

* Update WIT to merged PR

---------

Signed-off-by: Demetrius Kanios <demetrius@kanios.net>
2026-08-25 09:06:23 -07:00

15 lines
321 B
Rust

// Last verified for v2169
use pumpkin_macros::packet;
use pumpkin_util::math::vector3::Vector3;
use crate::{codec::var_ulong::VarULong, serial::PacketWrite};
#[derive(PacketWrite)]
#[packet(40)]
pub struct CSetActorMotion {
pub target_runtime_id: VarULong,
pub motion: Vector3<f32>,
pub tick: VarULong,
}