azalea_protocol/packets/game/
c_set_player_inventory.rs

1use azalea_buf::AzBuf;
2use azalea_inventory::ItemStack;
3use azalea_protocol_macros::ClientboundGamePacket;
4
5#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
6pub struct ClientboundSetPlayerInventory {
7    #[var]
8    pub slot: u32,
9    pub contents: ItemStack,
10}