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

use crate::common::movements::PositionMoveRotation;

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundEntityPositionSync {
    #[var]
    pub id: u32,
    pub values: PositionMoveRotation,
    pub on_ground: bool,
}