aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/packet
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2025-03-25 11:17:39 -0500
committerGitHub <noreply@github.com>2025-03-25 11:17:39 -0500
commitef357fdf3667f3ded03203fc0f7cdec48a01ad8f (patch)
tree6e7429c62a22fec1988278f63554c93bdd905a5d /azalea-client/src/plugins/packet
parent8af265e48bf9f3d5263c074d034770e4216bb3f3 (diff)
downloadazalea-drasl-ef357fdf3667f3ded03203fc0f7cdec48a01ad8f.tar.xz
1.21.5 (#198)
* 25w02a * move item_components codegen to a different module * remove outdated test * 25w03a * start updating to 24w09b * 1.21.5-pre2 * fix broken packets * 1.21.5-rc2 * merge main * delete unused acket_handling * 1.21.5
Diffstat (limited to 'azalea-client/src/plugins/packet')
-rw-r--r--azalea-client/src/plugins/packet/game/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/plugins/packet/game/mod.rs b/azalea-client/src/plugins/packet/game/mod.rs
index cc67bcd7..6bb93178 100644
--- a/azalea-client/src/plugins/packet/game/mod.rs
+++ b/azalea-client/src/plugins/packet/game/mod.rs
@@ -57,6 +57,7 @@ pub fn process_packet_events(ecs: &mut World) {
ecs,
};
+ // the order of these doesn't matter, that's decided by the protocol library
declare_packet_handlers!(
ClientboundGamePacket,
packet.as_ref(),
@@ -113,7 +114,6 @@ pub fn process_packet_events(ecs: &mut World) {
server_data,
set_equipment,
update_mob_effect,
- add_experience_orb,
award_stats,
block_changed_ack,
block_destruction,
@@ -193,6 +193,7 @@ pub fn process_packet_events(ecs: &mut World) {
recipe_book_add,
recipe_book_remove,
recipe_book_settings,
+ test_instance_block_status,
]
);
}
@@ -1196,8 +1197,6 @@ impl GamePacketHandler<'_> {
debug!("Got update mob effect packet {p:?}");
}
- pub fn add_experience_orb(&mut self, _p: &ClientboundAddExperienceOrb) {}
-
pub fn award_stats(&mut self, _p: &ClientboundAwardStats) {}
pub fn block_changed_ack(&mut self, _p: &ClientboundBlockChangedAck) {}
@@ -1601,4 +1600,5 @@ impl GamePacketHandler<'_> {
pub fn recipe_book_add(&mut self, _p: &ClientboundRecipeBookAdd) {}
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) {}
}