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

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