diff options
| author | mat <git@matdoes.dev> | 2025-06-17 06:49:07 -1200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-17 06:49:07 -1200 |
| commit | ffbe7a3e426e66c21c7156780728f96f8277c68a (patch) | |
| tree | 5358ab47c013cc848dd7d24781676062fc87da4e /azalea-client/src/plugins | |
| parent | 319d144995e0ca635806941cbb5d6ceaf0fcf515 (diff) | |
| download | azalea-drasl-ffbe7a3e426e66c21c7156780728f96f8277c68a.tar.xz | |
1.21.6 (#215)
Diffstat (limited to 'azalea-client/src/plugins')
| -rw-r--r-- | azalea-client/src/plugins/packet/config/mod.rs | 9 | ||||
| -rw-r--r-- | azalea-client/src/plugins/packet/game/mod.rs | 11 |
2 files changed, 20 insertions, 0 deletions
diff --git a/azalea-client/src/plugins/packet/config/mod.rs b/azalea-client/src/plugins/packet/config/mod.rs index afe02159..3116e245 100644 --- a/azalea-client/src/plugins/packet/config/mod.rs +++ b/azalea-client/src/plugins/packet/config/mod.rs @@ -56,6 +56,8 @@ pub fn process_packet(ecs: &mut World, player: Entity, packet: &ClientboundConfi select_known_packs, custom_report_details, server_links, + clear_dialog, + show_dialog, ] ); } @@ -220,4 +222,11 @@ impl ConfigPacketHandler<'_> { pub fn custom_report_details(&mut self, p: &ClientboundCustomReportDetails) { debug!("Got custom report details packet {p:?}"); } + + pub fn clear_dialog(&mut self, p: &ClientboundClearDialog) { + debug!("Got clear dialog packet {p:?}"); + } + pub fn show_dialog(&mut self, p: &ClientboundShowDialog) { + debug!("Got show dialog packet {p:?}"); + } } diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs index de226e49..1ea4db10 100644 --- a/azalea-client/src/plugins/packet/game/mod.rs +++ b/azalea-client/src/plugins/packet/game/mod.rs @@ -176,6 +176,9 @@ pub fn process_packet(ecs: &mut World, player: Entity, packet: &ClientboundGameP recipe_book_remove, recipe_book_settings, test_instance_block_status, + waypoint, + clear_dialog, + show_dialog, ] ); } @@ -1584,4 +1587,12 @@ impl GamePacketHandler<'_> { pub fn recipe_book_remove(&mut self, _p: &ClientboundRecipeBookRemove) {} pub fn recipe_book_settings(&mut self, _p: &ClientboundRecipeBookSettings) {} pub fn test_instance_block_status(&mut self, _p: &ClientboundTestInstanceBlockStatus) {} + pub fn waypoint(&mut self, _p: &ClientboundWaypoint) {} + + pub fn clear_dialog(&mut self, p: &ClientboundClearDialog) { + debug!("Got clear dialog packet {p:?}"); + } + pub fn show_dialog(&mut self, p: &ClientboundShowDialog) { + debug!("Got show dialog packet {p:?}"); + } } |
