aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_level_event_packet.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-07 21:58:10 -0500
committermat <github@matdoes.dev>2022-05-07 21:58:10 -0500
commitff79c1838add53ecf10e9e2783cdcaba122f1650 (patch)
treeb8992d3f17f9fc074d705a9eb7ae41d2ffee30e9 /azalea-protocol/src/packets/game/clientbound_level_event_packet.rs
parentffba10185401ebdbfd93b1181eda04ce08fa72d5 (diff)
downloadazalea-drasl-ff79c1838add53ecf10e9e2783cdcaba122f1650.tar.xz
level event packet
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_level_event_packet.rs')
-rw-r--r--azalea-protocol/src/packets/game/clientbound_level_event_packet.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_level_event_packet.rs b/azalea-protocol/src/packets/game/clientbound_level_event_packet.rs
new file mode 100644
index 00000000..b8572a85
--- /dev/null
+++ b/azalea-protocol/src/packets/game/clientbound_level_event_packet.rs
@@ -0,0 +1,10 @@
+use azalea_core::BlockPos;
+use packet_macros::GamePacket;
+
+#[derive(Clone, Debug, GamePacket)]
+pub struct ClientboundLevelEventPacket {
+ pub type_: i32,
+ pub pos: BlockPos,
+ pub data: i32,
+ pub global_event: bool,
+}