aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_cooldown.rs
blob: 016101b77355cb0b3509ea74f44ef16dcbc5c848 (plain)
1
2
3
4
5
6
7
8
9
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundCooldown {
    pub item: azalea_registry::Item,
    #[var]
    pub duration: u32,
}