chunkedge_protocol/packets/play/
entity_position_sync_s2c.rs

1use chunkedge_binary::{Decode, Encode, VarInt};
2use chunkedge_math::DVec3;
3
4use crate::Packet;
5
6#[derive(Clone, Debug, Encode, Decode, Packet)]
7pub struct EntityPositionSyncS2c {
8    pub entity_id: VarInt,
9    pub position: DVec3,
10    pub velocity: DVec3,
11    pub yaw: f32,
12    pub pitch: f32,
13    pub on_ground: bool,
14}