valence_protocol/packets/play/
position_and_on_ground_c2s.rs

1use valence_math::DVec3;
2
3use crate::{packet_id, Decode, Encode, Packet};
4
5#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
6#[packet(id = packet_id::POSITION_AND_ON_GROUND)]
7pub struct PositionAndOnGroundC2s {
8    pub position: DVec3,
9    pub on_ground: bool,
10}