aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_take_item_entity.rs
blob: 0dfc85521a3a644c28a2286f8eeef2569277f3eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use azalea_buf::AzBuf;
use azalea_protocol_macros::ClientboundGamePacket;

#[derive(Clone, Debug, AzBuf, ClientboundGamePacket)]
pub struct ClientboundTakeItemEntity {
    #[var]
    pub item_id: u32,
    #[var]
    pub player_id: u32,
    #[var]
    pub amount: u32,
}