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

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundSetEntityMotion {
    #[var]
    pub id: MinecraftEntityId,
    pub xa: i16,
    pub ya: i16,
    pub za: i16,
}