aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
AgeCommit message (Collapse)Author
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
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-19add Loaded component and fix clamping look directionmat
2023-09-18fix entities not always being despawned after mergemat
2023-09-16don't apply metadata updates multiple times in swarmsmat
2023-09-15simplify some code related to Account being a componentmat
2023-09-15make Account a componentmat
2023-09-15rename start_ecs to start_ecs_runnermat
2023-09-14rename Local to LocalEntitymat
2023-09-11fix falling through blocks on spawn (and triggering anticheats)mat
2023-08-25fix all bevy ambiguitiesmat
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-15fix brigadier booleansmat
2023-07-15Attacking (#96)mat
* add Client::attack * partially implement attack cooldowns * attack speed modifiers * don't care clippy --------- Co-authored-by: mat <git@matdoes.dev>