steel_protocol/packets/game/c_move_vehicle.rs
1use glam::DVec3;
2use steel_macros::{ClientPacket, WriteTo};
3use steel_registry::packets::play::C_MOVE_VEHICLE;
4
5/// Clientbound controlled-vehicle position correction packet.
6#[derive(ClientPacket, WriteTo, Clone, Debug)]
7#[packet_id(Play = C_MOVE_VEHICLE)]
8pub struct CMoveVehicle {
9 pub position: DVec3,
10 pub y_rot: f32,
11 pub x_rot: f32,
12}