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

#[derive(Clone, Debug, McBuf, ServerboundGamePacket)]
pub struct ServerboundSwingPacket {
    pub hand: InteractionHand,
}