diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/serverbound_swing_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/serverbound_swing_packet.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/serverbound_swing_packet.rs b/azalea-protocol/src/packets/game/serverbound_swing_packet.rs new file mode 100644 index 00000000..b22375d9 --- /dev/null +++ b/azalea-protocol/src/packets/game/serverbound_swing_packet.rs @@ -0,0 +1,8 @@ +use crate::packets::game::serverbound_interact_packet::InteractionHand; +use azalea_buf::McBuf; +use packet_macros::ServerboundGamePacket; + +#[derive(Clone, Debug, McBuf, ServerboundGamePacket)] +pub struct ServerboundSwingPacket { + pub hand: InteractionHand, +} |
