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

#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
pub struct ClientboundMoveEntityRot {
    #[var]
    pub entity_id: MinecraftEntityId,
    pub y_rot: i8,
    pub x_rot: i8,
    pub on_ground: bool,
}