azalea_protocol/packets/game/
s_swing.rs

1use azalea_buf::AzBuf;
2use azalea_protocol_macros::ServerboundGamePacket;
3
4use crate::packets::game::s_interact::InteractionHand;
5
6#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
7pub struct ServerboundSwing {
8    pub hand: InteractionHand,
9}