diff options
| author | mat <github@matdoes.dev> | 2022-05-07 21:58:10 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-07 21:58:10 -0500 |
| commit | ff79c1838add53ecf10e9e2783cdcaba122f1650 (patch) | |
| tree | b8992d3f17f9fc074d705a9eb7ae41d2ffee30e9 /azalea-protocol/src/packets/game/clientbound_level_event_packet.rs | |
| parent | ffba10185401ebdbfd93b1181eda04ce08fa72d5 (diff) | |
| download | azalea-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.rs | 10 |
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, +} |
