aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/local_player.rs
AgeCommit message (Collapse)Author
2026-03-21Extensible ChunkStoragemat
Co-authored-by: sdwhw <191973436+sdwhw@users.noreply.github.com>
2026-01-30warn if pathfinder is running without optimizations, and other minor fixesmat
2026-01-23Implement SetExperience (#307)Raeders
2026-01-13Rename Instance to World (#304)mat
2026-01-06add a few more convenience functions and update some docsmat
2025-12-28move Event and auto_reconnect to the azalea cratemat
2025-12-27Move Client struct to azalea crate (#297)mat
* move the Client struct out of azalea-client into azalea * actually add client impls in azalea
2025-12-15sort derives with cargo sort-derivesmat
might add to ci later, unsure how to do it without adding significant friction for contributors though
2025-10-12upgrade deps and clean up lots of doc commentsmat
2025-09-28split version in changelogmat
2025-08-14Sneaking (#237)mat
* start implementing sneaking * fix horizontal_collision being inverted and cleanup * clippy * change dimensions and eye height based on pose * proper support for automatically crouching in certain cases * fix anticheat issues * add line to changelog and update a comment
2025-06-02fix issues related to pathfinder miningmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-05-07upgrade rust version and fix clippy warningsmat
2025-05-07fix chunk errors when joining a world with a same name but different heightmat
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-17update docs for TabList to mention how it works as a resourcemat
2025-02-01add failing test_set_health_before_login testmat
2024-12-24improve some docs and apis related to pathfindermat
2024-12-19fix incorrect packetsmat
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-02-22fix for hypixel limbomat
2023-12-03clippymat
2023-12-03make it so plugins can send and receive packets during the login statemat
2023-11-18share registries in swarms and fix some bugsmat
2023-11-18replace log with tracingmat
2023-11-18make packet an Arc in PacketEventmat
2023-11-06bevy 0.12mat
2023-10-02optimize pathfinder moremat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-211.20.2 (#99)mat
* add configuration state * start updating to 23w31a * implement a bit more of 23w31a * chunk batching * start adding configuration state * ioasfhjgsd * almost works * configuration state mostly implemented * handle other packets in configuration state and fix keepalive * cleanup, fix warnings * 23w32a * fix some doctests * 23w33a * 23w35a * 1.20.2-pre2 * fix system conflicts * 1.20.2-pre4 * make tests compile * tests pass * 1.20.2-rc2 * 1.20.2 * Revert "1.20.2" This reverts commit dd152fd265332ead333c919e585ded6d609d7468. * didn't mean to commit that code --------- Co-authored-by: mat <git@matdoes.dev>
2023-09-14rename Local to LocalEntitymat
2023-09-11fix falling through blocks on spawn (and triggering anticheats)mat
2023-09-08make PacketReceiver::packet_writer publicmat
2023-08-25add basic pathfinding testmat
2023-08-24Support properly switching instances (#106)mat
* start implementing switching dimensions * fix removeentity in shared worlds * also store entity ids per local player * uncomment a trace in pathfinder * cleanup --------- Co-authored-by: mat <git@matdoes.dev>
2023-08-21Food/saturation component support (#97)Luuk van Oijen
* modified for food stuff * moved food/saturation to a separate file * hunger component * simplify some logic --------- Co-authored-by: mat <git@matdoes.dev>
2023-07-23fix sometimes not receiving chunksmat
2023-07-14Mining (#95)mat
* more mining stuff * initialize azalea-tags crate * more mining stuff 2 * mining in ecs * well technically mining works but no codegen for how long it takes to mine each block yet * rename downloads to __cache__ it was bothering me since it's not *just* downloads * codegen block behavior * fix not sending packet to finish breaking block * mining animation 🎉 * clippy * cleanup, move Client::mine into a client extension * add azalea/src/mining.rs --------- Co-authored-by: mat <git@matdoes.dev>
2023-07-09Update to Bevy 0.11 (#94)mat
* update to bevy 0.11 * clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-05-06fix panic on disconnectmat
2023-05-03Inventory (#48)mat
* start adding azalea-inventory * design more of how inventories are defined * start working on az-inv-macros * inventory macro works * start adding inventory codegen * update some deps * add inventory codegen * manually write inventory menus * put the inventories in Client * start on containersetcontent * inventory menu should hopefully work * checks in containersetcontent * format a comment * move some variant matches * inventory.rs * inventory stuff * more inventory stuff * inventory/container tracking works * start adding interact function * sequence number * start adding HitResultComponent * implement traverse_blocks * start adding clip * add clip function * update_hit_result_component * start trying to fix * fix * make some stuff simpler * clippy * lever * chest * container handle * fix ambiguity * fix some doc tests * move some container stuff from az-client to azalea * clicking container * start implementing simulate_click * keep working on simulate click * implement more of simulate_click this is really boring * inventory fixes * start implementing shift clicking * fix panic in azalea-chat i hope * shift clicking implemented * more inventory stuff * fix items not showing in containers sometimes * fix test * fix all warnings * remove a println --------- Co-authored-by: mat <git@matdoes.dev>
2023-03-11fix doc errorsmat
2023-03-08make ClientInformation and TabList their own componentsmat
2023-03-07Bevy 0.10 (#79)mat
* replace 0.9.1 with 0.10.0 * start migrating to bevy .10 * well it compiles * doesn't immediately panic * remove unused imports * fmt * delete azalea-ecs * make RelativeEntityUpdate an EntityCommand * fix a doc test * explain what FixedUpdate does
2023-02-21properly disconnect on ungraceful disconnectmat
2023-02-12DisconnectEventmat