azalea_protocol/packets/game/
c_cooldown.rs1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ClientboundGamePacket;
3use azalea_registry::builtin::ItemKind;
4
5#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
6pub struct ClientboundCooldown {
7 pub item: ItemKind,
8 #[var]
9 pub duration: u32,
10}