aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_player_rotation.rs
blob: 07adf78f29282f1fc27d5fb736d142f58687a68d (plain)
1
2
3
4
5
6
7
8
9
10
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundPlayerRotation {
    pub y_rot: f32,
    pub relative_y: bool,
    pub x_rot: f32,
    pub relative_x: bool,
}