aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/pathfinder
AgeCommit message (Collapse)Author
2025-06-02add basic support for getting biome ids in chunksmat
2025-05-30formatting: merge importsmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-05-30make fixedbitset require generic const exprs again :3mat
2025-05-23doc fixesmat
2025-05-24patch pathfinder path on cost increasemat
2025-05-09add distance param for ReachBlockPosGoal (#220)x-osc
* add distance param for ReachBlockPosGoal * add new impl for ReachBlockPosGoal and optimize slightly
2025-05-10add StartUseItemEvent and improve code related to interactionsmat
2025-05-07upgrade rust version and fix clippy warningsmat
2025-05-06fix various issues with miningmat
2025-05-06fix pathfinder descending onto non-full blocksmat
2025-05-07fix some edge cases when pathfinding on slabs and stairsmat
2025-05-07pathfinder can now handle slabs, stairs, and dirt pathsmat
2025-04-25update to bevy 0.16mat
2025-04-22faster pathfinder WeightedNode::ordmat
2025-04-19make azalea::pathfinder::debug publicmat
2025-04-19remove `.unwrap()` from `wait_until_goto_target_reached` (#216)manen
* fix panics in `wait_until_goto_target_reached` * replace eprintln with warn --------- Co-authored-by: mat <git@matdoes.dev>
2025-04-17make BlockState::id privatemat
2025-04-16clippy and fix broken doc testsmat
2025-04-15make goto async and clean up some examplesmat
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-01fix doc errorsmat
2025-02-01add failing test_set_health_before_login testmat
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-28bump minimum rust version and improve pathfinder docsmat
2024-12-28better pathfinder debug messagesmat
2024-12-27implement fluid_shapemat
2024-12-27implement BlockState::outline_shapemat
2024-12-27better astar WeightedNode::cmpmat
2024-12-27don't save Movement type while pathfinding as an optimization, recalculate ↵mat
it later in reconstruct_path
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-26replace priority_queue crate with std BinaryHeapmat
2024-12-25patch pathfinder obstructions instead of just truncating the pathmat
2024-12-25optimize pathfindermat
2024-12-24optimize cost_for_breaking_block by making its cache an UnsafeCell insteadmat
2024-12-24make BlockState a u16 and add a BlockStateIntegerRepr typemat
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-11fix for latest nightly by changing the FixedBitSet generic to take bytes ↵mat
instead of bits
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-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-15Add more derives to the pathfinder goals for flexibility (#183)Shayne Hartford