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