aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_entity_velocity_packet.rs
blob: 07218c4e73e50a8b69c1a3ac855e913f8c61c55b (plain)
1
2
3
4
5
6
7
8
9
10
use packet_macros::{GamePacket, McBuf};

#[derive(Clone, Debug, McBuf, GamePacket)]
pub struct ClientboundEntityVelocityPacket {
    #[var]
    pub entity_id: u32,
    pub x_vel: i16,
    pub y_vel: i16,
    pub z_vel: i16,
}