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

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundRotateHead {
    #[var]
    pub entity_id: MinecraftEntityId,
    pub y_head_rot: i8,
}