azalea_protocol/packets/game/
c_player_rotation.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3
4#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
5pub struct ClientboundPlayerRotation {
6    pub y_rot: f32,
7    pub relative_y: bool,
8    pub x_rot: f32,
9    pub relative_x: bool,
10}