aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
AgeCommit message (Collapse)Author
2025-02-24update outdated commentmat
2025-02-24fix send_receivepacketevent running outside of game statemat
2025-02-24don't remove LocalEntity from disconnected players, add new debug logs, and ↵mat
make GameProfile clones cheaper
2025-02-23make run_schedule a bounded channelmat
2025-02-22Refactor azalea-client (#205)mat
* 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
2025-02-22update to rust edition 2024mat
2025-02-22fix brand and client info so they're only sent when leaving login instead of ↵mat
entering config closes #206
2025-02-21despawn entities when switching worlds and some testbot fixesmat
2025-02-21GameTick should only happen after Updatemat
2025-02-14upgrade depsmat
2025-02-02start implementing data driven registriesmat
2025-02-01fix doc errorsmat
2025-02-01set player metadata on init instead of loginmat
2025-02-01add failing test_set_health_before_login testmat
2025-01-29add support for tickend and playerinputmat
2025-01-25Rename Connection::configuration to config and add some clientbound ↵mat
functions that already existed serverbound taken from Shay's fork: https://github.com/Shays-Forks/azalea/commit/b0ca6076ed411b31e32a4abaa0350eb297067476
2024-12-24improve some docs and apis related to pathfindermat
2024-12-04Update Bevy and migrate to workspace dependencies and package attributes (#181)EightFactorial
* Use workspace `Cargo.toml` for dependencies and package atributes * Fix a couple clippy warnings * Update bevy, update build script, move deps to workspace, and fix clippy warnings * Remove carrots from crate versions The default behavior is the same * Remove unused dependencies Compiles and all tests pass, so it should be fine * Update codegen to use `std::sync::LazyLock` instead of `once_cell::sync::Lazy` * Update Bevy to `0.15.0-rc.3` Surprisingly little needed to be changed * Update to bevy 0.15.0 * Fix leftover merge issues * Clarify the reason the swarm can't connect * Fix duplicate lint, remove `log` dependency
2024-11-27Refactor azalea-protocol (#190)mat
* start updating to 1.21.4 * fix block codegen and stop using block data from burger * rename packet related modules and structs to be simpler * ItemSlot -> ItemStack for more consistency with mojmap * .get() -> .into_packet() * simplify declare_state_packets by removing packet ids * rename read_from and write_into to azalea_read and azalea_write * rename McBufReadable and McBufWritable to AzaleaRead and AzaleaWrite * McBuf -> AzBuf * remove most uses of into_variant * update codegen and use resourcelocation names for packets * implement #[limit(i)] attribute for AzBuf derive macro * fixes for 1.21.4 * fix examples * update some physics code and fix ChatType * remove unused imports in codegen * re-add some things to migrate.py and update +mc version numbers automatically * downgrade to 1.21.3 lol
2024-11-23Update and merge the dependencies (#187)Shayne Hartford
* Add rust rover to .gitignore * Fold dependency feature lists * Sort dependencies alphabetically * Update dependencies * Upgrade dependencies * Comment out unused dependencies * Nightly is broken right now :) * Fix conflict with derive_more * cargo autoinherit to merge dependencies * Fix clippy lints
2024-10-26group imports with rustfmtmat
2024-10-231.21.2 (#171)mat
* partially implement 24w35a * start updating to 24w39a + itemcomponent codegen * fix codegen and broken packets to finish updating to 24w39a :D * update to 1.21.2 except for blocks * update ServerboundPlayerInputPacket impl
2024-10-21Rename InventoryComponent to Inventory to match other components (#177)Shayne Hartford
(cherry picked from commit 266058a8d441169b46ef819595eee62337ab324c)
2024-08-15fix incorrect comment in with_microsoft_access_token docsmat
2024-04-27fmtmat
2024-04-27Use ClientIntention over ConnectionProtocol for ClientIntentionPacket (#143)Luis
* fix!: use ClientIntention over ConnectionProtocol for ClientIntentionPacket * chore: remove McBufRead/Writable from ConnectionProtocol * chore: use From over Into for ClientIntention to ConnectionProtocol conversion * chore: organise imports in existing style
2024-04-231.20.5 (#127)mat
* 23w51b * make recalculate_near_end_of_path public so other plugins can do .after(recalculate_near_end_of_path) * update to 24w03a i think * start implementing 24w13a * registries work (but a lot of packets are still broken) * fix recipes and commands packets * i love codecs :D i am not going insane :D mojang's java is very readable :D * item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow * update to 1.20.5-pre3 * fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone) * 1.20.5-rc1 * fix failing tests * 1.20.5
2024-04-20add Client::join_with_proxy and fix testsmat
2024-04-20socks5 support (#113)mat
2024-02-18fix for hypixel (wasn't sending ClientInformation on configuration)mat
2023-12-10Climbing (#121)mat
* start implementing climbing * fix tests * fix bots running at lower tick rate
2023-12-04Replace Bevy's FixedUpdate with Azalea's GameTick (#119)mat
* replace bevy FixedUpdate with azalea GameTick * Update to Bevy 0.12.1
2023-12-03remove debug printmat
2023-12-03let plugins override query responsesmat
2023-12-03clippymat
2023-12-03make it so plugins can send and receive packets during the login statemat
2023-12-02make sure Startup system runs before any bots joinmat
2023-12-01addd disconnect reason (#114)1zuna
2023-11-28slightly change Client::partial_world examplemat
2023-11-28add Client::partial_world()mat
2023-11-18clippymat
2023-11-18share registries in swarms and fix some bugsmat
2023-11-18make loading chunks its own bevy systemmat
2023-11-18replace log with tracingmat
2023-11-18simplify some codemat
2023-11-12improve docs a bitmat
2023-11-06bevy 0.12mat
2023-10-06fix QueryDoesNotMatch and improve errormat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-28check for entity duplication before spawningmat
this fixes behavior where in swarms entities in the world might sometimes have a duplicate that gets spawned and despawned immediately