azalea_protocol/packets/game/
c_set_health.rs1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3
4#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
5pub struct ClientboundSetHealth {
6 pub health: f32,
7 #[var]
8 pub food: u32,
9 pub saturation: f32,
10}