aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_attack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/s_attack.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_attack.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_attack.rs b/azalea-protocol/src/packets/game/s_attack.rs
new file mode 100644
index 00000000..0edc2395
--- /dev/null
+++ b/azalea-protocol/src/packets/game/s_attack.rs
@@ -0,0 +1,8 @@
+use azalea_buf::AzBuf;
+use azalea_core::entity_id::MinecraftEntityId;
+use azalea_protocol_macros::ServerboundGamePacket;
+
+#[derive(Clone, Debug, AzBuf, PartialEq, ServerboundGamePacket)]
+pub struct ServerboundAttack {
+ pub entity_id: MinecraftEntityId,
+}