aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder/mod.rs
AgeCommit message (Collapse)Author
2025-04-15make goto async and clean up some examplesmat
2025-02-22update to rust edition 2024mat
2025-02-01fix doc errorsmat
2024-12-28bump minimum rust version and improve pathfinder docsmat
2024-12-28better pathfinder debug messagesmat
2024-12-27implement fluid_shapemat
2024-12-26patch path on timeout instead of recalculating everythingmat
2024-12-26better pathfinder timeoutsmat
2024-12-26make a_star function use an IndexMap like the pathfinding cratemat
2024-12-25patch pathfinder obstructions instead of just truncating the pathmat
2024-12-25optimize pathfindermat
2024-12-24fix parsing Dust particle and treat waterlogged blocks as liquid in pathfindermat
2024-12-24add additional pathfinder test and fix pathfinder failuremat
2024-12-24improve some docs and apis related to pathfindermat
2024-12-21fix flakey pathfinder tests by moving stop_pathfinding_on_instance_change to ↵mat
be before path_found_listener
2024-12-11Implement EntityPositionSync (#196)mat
* implement EntityPositionSync * fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
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-12Make some internal system handles public for use with before/after (#180)Shayne Hartford
2024-10-26group imports with rustfmtmat
2024-10-21Rename InventoryComponent to Inventory to match other components (#177)Shayne Hartford
(cherry picked from commit 266058a8d441169b46ef819595eee62337ab324c)
2024-08-15fix sometimes being able to mine blocks through wallsmat
2024-04-09make recalculate_near_end_of_path publicmat
so other plugins can do .after(recalculate_near_end_of_path)
2024-01-08fix ping packet, explosion packet, and panic lessmat
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-10more reliable StopPathfindingEventmat
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-03clippymat
2023-11-18replace log with tracingmat
2023-11-12improve docs a bitmat
2023-11-12fix pathfinder testsmat
2023-11-06bevy 0.12mat
2023-10-12KnockbackEvent and rename Physics::delta to velocitymat
2023-10-10start adding mining to pathfindermat
2023-10-08PathfinderCtxmat
2023-10-08don't pathfind into lava lolmat
2023-10-08update repo linksmat
2023-10-07split pathfinder execution into multiple systems (and fix some bugs)mat
2023-10-073 block jumps and other parkourmat
2023-10-07improve pathfinder path executionmat
2023-10-06make sure pathfinder is always centered on the destination block (fixes tests)mat
2023-10-04preallocate edges vec in pathfindermat
2023-10-03fix world being locked while pathfindingmat
2023-10-03upgrade deps and make test not flakymat
the test just always fails now, this needs to be fixed but at least it's easier to fix now
2023-10-03tweak pathfinder costsmat
2023-10-02cleanupmat
2023-10-02yet another W for linear searchesmat
2023-10-02optimize pathfinder moremat
2023-10-01add pathfinder benchmarkmat
2023-10-01fix panic when pathfindingmat