aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_set_entity_motion.rs
blob: f6219888510fe7d2b8c2f36fe3cff63af4f20665 (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_world::MinecraftEntityId;

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