1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00
azalea/azalea-protocol/src/packets/game/clientbound_set_experience_packet.rs
2022-10-28 16:18:22 +00:00

11 lines
293 B
Rust
Executable file

use azalea_buf::McBuf;
use azalea_protocol_macros::ClientboundGamePacket;
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
pub struct ClientboundSetExperiencePacket {
pub experience_progress: f32,
#[var]
pub experience_level: u32,
#[var]
pub total_experience: u32,
}