aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/serverbound_use_item_packet.rs
blob: 4fb9d34dc5089c952226d094461929fe5914a0f1 (plain)
1
2
3
4
5
6
7
8
9
10
use crate::packets::game::serverbound_interact_packet::InteractionHand;
use azalea_buf::McBuf;
use packet_macros::ServerboundGamePacket;

#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundUseItemPacket {
    pub hand: InteractionHand,
    #[var]
    pub sequence: u32,
}