aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_move_entity_rot.rs
blob: e33a12e9772ec7da1157b0dbe879ab536c072db1 (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, ClientboundGamePacket)]
pub struct ClientboundMoveEntityRot {
    #[var]
    pub entity_id: MinecraftEntityId,
    pub y_rot: i8,
    pub x_rot: i8,
    pub on_ground: bool,
}