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

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

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