diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2025-02-22 21:45:26 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 21:45:26 -0600 |
| commit | e21e1b97bf9337e9f4747cd1b545b1b3a03e2ce7 (patch) | |
| tree | add6f8bfce40d0c07845d8aa4c9945a0b918444c /azalea-client/src/lib.rs | |
| parent | f8130c3c92946d2293634ba4e252d6bc93026c3c (diff) | |
| download | azalea-drasl-e21e1b97bf9337e9f4747cd1b545b1b3a03e2ce7.tar.xz | |
Refactor azalea-client (#205)
* start organizing packet_handling more by moving packet handlers into their own functions
* finish writing all the handler functions for packets
* use macro for generating match statement for packet handler functions
* fix set_entity_data
* update config state to also use handler functions
* organize az-client file structure by moving things into plugins directory
* fix merge issues
Diffstat (limited to 'azalea-client/src/lib.rs')
| -rw-r--r-- | azalea-client/src/lib.rs | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/azalea-client/src/lib.rs b/azalea-client/src/lib.rs index abe7c692..d2302b78 100644 --- a/azalea-client/src/lib.rs +++ b/azalea-client/src/lib.rs @@ -8,26 +8,13 @@ #![feature(error_generic_member_access)] mod account; -pub mod attack; -pub mod chat; -pub mod chunks; mod client; -pub mod configuration; -pub mod disconnect; mod entity_query; -pub mod events; -pub mod interact; -pub mod inventory; mod local_player; -pub mod mining; -pub mod movement; -pub mod packet_handling; pub mod ping; mod player; +mod plugins; pub mod raw_connection; -pub mod respawn; -pub mod send_client_end; -pub mod task_pool; #[doc(hidden)] pub mod test_simulation; @@ -44,3 +31,4 @@ pub use movement::{ PhysicsState, SprintDirection, StartSprintEvent, StartWalkEvent, WalkDirection, }; pub use player::PlayerInfo; +pub use plugins::*; |
