valence_protocol/packets/play/
damage_tilt_s2c.rs

1use crate::{Decode, Encode, Packet, VarInt};
2
3#[derive(Copy, Clone, Debug, Encode, Decode, Packet)]
4pub struct DamageTiltS2c {
5    /// The ID of the entity taking damage.
6    pub entity_id: VarInt,
7    /// The direction the damage is coming from in relation to the entity.
8    pub yaw: f32,
9}