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