azalea_protocol/packets/game/c_container_set_slot.rs
1use azalea_buf::AzBuf;
2use azalea_inventory::ItemStack;
3use azalea_protocol_macros::ClientboundGamePacket;
4
5#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
6pub struct ClientboundContainerSetSlot {
7 #[var]
8 pub container_id: i32,
9 #[var]
10 pub state_id: u32,
11 pub slot: u16,
12 pub item_stack: ItemStack,
13}