azalea_protocol/packets/game/c_entity_position_sync.rs
1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3use azalea_world::MinecraftEntityId;
4
5use crate::common::movements::PositionMoveRotation;
6
7#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
8pub struct ClientboundEntityPositionSync {
9 #[var]
10 pub id: MinecraftEntityId,
11 pub values: PositionMoveRotation,
12 pub on_ground: bool,
13}