1 2 3 4 5 6 7 8 9 10 11 12 13
use azalea_buf::AzBuf; use azalea_protocol_macros::ServerboundGamePacket; use crate::packets::game::s_interact::InteractionHand; #[derive(AzBuf, Clone, Debug, PartialEq, ServerboundGamePacket)] pub struct ServerboundUseItem { pub hand: InteractionHand, #[var] pub seq: u32, pub y_rot: f32, pub x_rot: f32, }