aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
AgeCommit message (Collapse)Author
2024-11-30Add missing world border boolean to use item on packet in 1.21.2 (#192)Shayne Hartford
2024-11-28change DataComponentPatch::get to take in a generic (and add get_kind, has, ↵mat
and has_kind)
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-27replace once_cell with std:;sync::LazyLockmat
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-11-12Make some internal system handles public for use with before/after (#180)Shayne Hartford
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-08-15modify some docsmat
2024-08-15fix sometimes being able to mine blocks through wallsmat
2024-08-11Auth Customization Options (#159)Aditya Kumar
* Added Support for Custom Auth using `client_id` and `scope` * fix: `Account::microsoft` and added lifetime to `Account::microsoft_with_custom_client_id` * Added function `with_microsoft_access_token_and_custom_client_id` * Removed Custom Scope. * I got carried away, and made scope also customizable, later realized no customization is needed. * Better Documentation and Minor fixes * Added Custom Scope * Added RpsTicket format for custom `client_id` * Moved to non-static str * fix example Co-authored-by: mat <27899617+mat-1@users.noreply.github.com> * fix doc grammer * changed function signature * fmt * fixed example * removed dead code * Removed `d=` insertion in `client_id` * removed unnecessary `mut` --------- Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
2024-08-11fmtmat
2024-07-21Added Left Click Mine (1.21) (#168)Aditya Kumar
* Added Auto Mine * Unnecessary Block Reach Check * Added `LeftClickMine`
2024-07-22remove unwraps in events.rsmat
2024-07-22fix panic in update_modifiers_for_held_itemmat
found from https://github.com/azalea-rs/azalea/commit/27cecdb8bf4d0239f6f54e63d3158f129ec0e270
2024-07-20Made `Hunger` and `DataComponentPatch` public (#167)Aditya Kumar
* Made `Hunger` component public * Made `DataComponentPatch` public
2024-06-16Fix command packets (#155)EnderKill98
* Fix copy&paste mistake from chat command signed packet to chat command packet * Bugfix --------- Co-authored-by: EnderKill98 <no@mail.tld>
2024-06-131.21 (#145)mat
* 24w18a (data driven enchantments not implemented yet) * 1.21
2024-05-22read Tool blocks as HolderSetmat
fixes an error with viaversion servers
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-20clippymat
2024-04-20add Client::join_with_proxy and fix testsmat
2024-04-20socks5 support (#113)mat
2024-02-24add some more convenience functionsmat
2024-02-24track entity rotationsmat
2024-02-23fix 'CommandQueue has un-applied commands being dropped.' spammat
2024-02-22fix for hypixel limbomat
2024-02-18fix for hypixel (wasn't sending ClientInformation on configuration)mat
2024-02-17upgrade deps, bevy 0.13mat
2024-01-20remove unnecessary map_errmat
2024-01-20fixes unwrap on write_raw_packet(...) (#128)1zuna
2024-01-04rename open_container to open_container_at and add get_open_containermat
2023-12-15Add mining to the pathfinder (#122)mat
* basic pathfinder mining poc * mining descending and autotool * pathfinder mining descending * pathfinder fixes * allow disabling pathfinder miner and other fixes * small optimization to avoid chunk vec iter lookup sometimes * seeded rng in pathfinder bench * consistently use f32::INFINITY this brings performance much closer to how it was before * astar heuristic optimization from baritone * add downward_move * fix downward move execute * avoid liquids and falling blocks when mining * fix COST_HEURISTIC * fix to not path through flowing liquids * only reset pathfinder timeout while mining if the block is close enough * cache mining costs of block positions * fix mine_while_at_start and move PathfinderDebugParticles to its own module * add ReachBlockPosGoal in other news: azalea's sin/cos functions were broken this whole time and i never noticed * clippy and add things that i accidentally didn't commit * improve wording on doc for azalea::pathfinder
2023-12-10Climbing (#121)mat
* start implementing climbing * fix tests * fix bots running at lower tick rate
2023-12-09fix typos in code with crate-ci/typosmat
2023-12-07apply command in StartConfigurationmat
2023-12-07implement StartConfiguration packet maybemat
2023-12-06use minecraft_folder_pathmat
2023-12-051.20.3 (#110)mat
* 23w40a * 23w41a * 23w42a * 23w43a * 23w44a * serialize FormattedText as nbt in network * use azalea-nbt/serde in azalea-chat * 23w45a * fix 23w45a to compile * handle Object in codegen * 1.20.3-pre2 * remove unused clientbound_resource_pack_packet.rs * merge main and make azalea-chat use simdnbt * 1.20.3-rc1 * fix tests * use simdnbt 0.3 * fix ServerboundSetJigsawBlockPacket * 1.20.3
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-04revert packet name to Disguised and make it more like ChatPacket::Playermat
2023-12-04Add masked chat type/event (#118)Shayne Hartford
2023-12-03clippymat
2023-12-03remove debug printmat
2023-12-03let plugins override query responsesmat
2023-12-03clippymat