aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-26 22:15:07 -0500
committermat <github@matdoes.dev>2022-04-26 22:15:07 -0500
commitf859dbbba06278f52517b0096b92ff3a6932ee28 (patch)
tree66f72298eb041f77afd4cff75e39e41caf91a7b0 /azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs
parent9c69d7d5f2f704b1de37e1a102bf4390cdd879a5 (diff)
downloadazalea-drasl-f859dbbba06278f52517b0096b92ff3a6932ee28.tar.xz
update brigadier
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs b/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs
new file mode 100644
index 00000000..82b0072d
--- /dev/null
+++ b/azalea-protocol/src/packets/game/clientbound_entity_event_packet.rs
@@ -0,0 +1,9 @@
+use azalea_core::{game_type::GameType, resource_location::ResourceLocation};
+use packet_macros::GamePacket;
+
+// we can't identify the status in azalea-protocol since they vary depending on the entity
+#[derive(Clone, Debug, GamePacket)]
+pub struct ClientboundEntityEventPacket {
+ pub entity_id: i32,
+ pub entity_status: i8,
+}