use azalea_buf::AzBuf; use azalea_inventory::ItemStack; use azalea_protocol_macros::ClientboundGamePacket; #[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)] pub struct ClientboundContainerSetSlot { #[var] pub container_id: i32, /// An identifier used by the server to track client inventory desyncs. #[var] pub state_id: u32, /// The slot index. /// /// See . pub slot: u16, pub item_stack: ItemStack, }