aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
AgeCommit message (Collapse)Author
2025-06-25improve packet_order test, add BlockUpdatePlugin, fix packet order for sprintingmat
2025-06-14add note about current_thread to azalea readmemat
2025-06-11implement reverting block state predictions on ackmat
2025-06-08insert ClientInformation earliermat
2025-06-03fix collisions bugsmat
2025-06-03fix issues when pathfinding to non-full blocks and add Client::view_inventorymat
2025-06-02fix issues related to pathfinder miningmat
2025-06-02simplify some join logic so the Entity is returned even on connection errormat
2025-05-30more formatting fixesmat
2025-05-02Add AutoReconnectPlugin (#221)mat
* add AutoReconnectPlugin * merge main * start simplifying swarm internals * fix Swarm::into_iter, handler functions, DisconnectEvent, and add some more docs * add ClientBuilder/SwarmBuilder::reconnect_after * fix a doctest * reword SwarmEvent::Disconnect doc * better behavior when we try to join twice * reconnect on ConnectionFailedEvent too * autoreconnect is less breaking now
2025-05-02make ClientBuilder/SwarmBuilder Sendmat
2025-04-25update to bevy 0.16mat
2025-04-24always insert Swarm before any systems can start runningmat
2025-04-19add StartJoinServerEvent to allow joining servers exclusively from ecsmat
2025-04-19send correct uuid in offline modemat
2025-04-17Move login state to the ECS (#213)mat
* use packet handlers code for login custom_query * initial broken implementation for ecs-only login * fixes * run Update schedule 60 times per second and delete code related to run_schedule_sender * fix tests * fix online-mode * reply to query packets in a separate system and make it easier for plugins to disable individual replies * remove unused imports
2025-04-15make goto async and clean up some examplesmat
2025-04-05remove unwrap in Hello packet handlermat
2025-04-04rename ChatPacket::username and uuid to sender and sender_uuidmat
also adds more convenience functions to Client
2025-03-25PongPluginmat
2025-03-24Wait for plugins to load before starting the ECS (#212)EightFactorial
* Wait for plugins to load before starting the ECS Also runs `App:finish()` after plugins finish loading. * Forgot to run `App::cleanup()` Oops haha * copy a check from bevy and don't busywait --------- Co-authored-by: mat <git@matdoes.dev>
2025-03-25make events channel in Client::start_client optionalmat
2025-03-20upgrade deps and slightly improve docsmat
2025-03-20document Position defaultmat
2025-03-16fix broken doc linksmat
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