azalea_protocol/packets/game/
c_set_entity_motion.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3use azalea_world::MinecraftEntityId;
4
5#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
6pub struct ClientboundSetEntityMotion {
7    #[var]
8    pub id: MinecraftEntityId,
9    pub xa: i16,
10    pub ya: i16,
11    pub za: i16,
12}