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

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundSetEntityMotion {
    #[var]
    pub id: MinecraftEntityId,
    pub delta: PositionDelta8,
}