aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_attack.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2026-03-24 11:15:56 -0500
committerGitHub <noreply@github.com>2026-03-24 11:15:56 -0500
commiteeaf1435e81d9cbd8daa0efa22029c1f259a64b5 (patch)
tree3486e26d5409708370e4e259d240fb77c6e1e439 /azalea-protocol/src/packets/game/s_attack.rs
parent41a9ae6aaff77646c08c64ac1334a8cc6081c24f (diff)
downloadazalea-drasl-eeaf1435e81d9cbd8daa0efa22029c1f259a64b5.tar.xz
26.1 (#316)
* start updating to 26.1 * start updating to 26.1-snapshot-6 * 26.1-snapshot-6 * 26.1-snapshot-10 * 26.1-rc-1 * fix tests * 26.1-rc-2 and sort default components * 26.1 * update changelog
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,
+}