valence_protocol/packets/play/
entity_position_s2c.rs
1use valence_math::DVec3;
2
3use crate::{ByteAngle, Decode, Encode, Packet, VarInt};
4
5#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
6pub struct EntityPositionS2c {
7 pub entity_id: VarInt,
8 pub position: DVec3,
9 pub yaw: ByteAngle,
10 pub pitch: ByteAngle,
11 pub on_ground: bool,
12}