valence_protocol/packets/play/
rotate_s2c.rs

1use crate::{packet_id, ByteAngle, Decode, Encode, Packet, VarInt};
2
3#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
4#[packet(id = packet_id::ROTATE)]
5pub struct RotateS2c {
6    pub entity_id: VarInt,
7    pub yaw: ByteAngle,
8    pub pitch: ByteAngle,
9    pub on_ground: bool,
10}