use azalea_buf::AzBuf; use azalea_core::delta::PositionDelta8; use azalea_protocol_macros::ClientboundGamePacket; use azalea_world::MinecraftEntityId; /// This packet is sent by the server when an entity moves less then 8 blocks. #[derive(Clone, Debug, AzBuf, ClientboundGamePacket)] pub struct ClientboundMoveEntityPosRot { #[var] pub entity_id: MinecraftEntityId, pub delta: PositionDelta8, pub y_rot: i8, pub x_rot: i8, pub on_ground: bool, }