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

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