aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/auto_tool.rs
AgeCommit message (Collapse)Author
9 dayschange panicking functions in Client and EntityRef to return an AzaleaResult ↵mat
instead
2026-03-05optimized converting from blockstate to blockkindmat
2026-02-07replace hard-coded block break speed checksmat
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-12Refactor azalea-registry (#294)mat
* move registries in azalea-registry into separate modules * rename Item and Block to ItemKind and BlockKind * remove 'extra' registries from azalea-registry * hide deprecated items from docs * use DamageKindKey instead of Identifier when parsing registries * store tag entries as a Vec instead of a HashSet * sort tag values by protocol id * update changelog
2025-12-09Enchantments (#286)mat
* start implementing enchants * store parsed registries * more work on enchants * implement deserializer for some entity effects * mostly working definitions for enchants * fix tests * detect equipment changes * fix errors * update changelog * fix some imports * remove outdated todo * add basic test for enchants applying attributes * use git simdnbt
2025-10-30Add support for mob effects (#269)ShayBox
* Add support for mob effects * Remove Option * MobEffectFlags * jump_boost_power f32
2025-09-28upgrade bevy to 0.17.0-rc.2mat
2025-09-26don't re-export azalea::bot::*, and some doc improvementsmat
2025-08-04Default components (#232)mat
* add default components * remove debug prints * clippy * use default components * fix tests
2025-06-11take BlockPos instead of &BlockPos in all function argumentsmat
2025-06-10add mine_with_auto_toolmat
2025-06-03rename the Block trait to BlockTrait to disambiguate with azalea_registry::Blockmat
2025-05-07upgrade rust version and fix clippy warningsmat
2025-02-22update to rust edition 2024mat
2025-01-10Fluid physics (#199)mat
* start implementing fluid physics * Initial implementation of fluid pushing * different travel function in water * bubble columns * jumping in water * cleanup * change ultrawarm to be required * fix for clippy
2024-12-11Implement EntityPositionSync (#196)mat
* implement EntityPositionSync * fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-11-28switch some packet structs to unit structsmat
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-10-21Rename InventoryComponent to Inventory to match other components (#177)Shayne Hartford
(cherry picked from commit 266058a8d441169b46ef819595eee62337ab324c)
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
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-10-12KnockbackEvent and rename Physics::delta to velocitymat
2023-10-11remove unnecessary clonemat
2023-10-10start adding mining to pathfindermat