aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/src/lib.rs
AgeCommit message (Collapse)Author
2025-08-04fix wrong float rounding in get_friction_influenced_speedmat
2025-07-24update movement code for 1.21.5 changesmat
fixes grim flags
2025-06-25remove some unused system orderingmat
2025-06-11use owned instead of borrowed Vec3 moremat
2025-06-11take BlockPos instead of &BlockPos in all function argumentsmat
2025-06-03rename the Block trait to BlockTrait to disambiguate with azalea_registry::Blockmat
2025-04-25update to bevy 0.16mat
2025-03-16entity collisionsmat
2025-03-16Fluid physics fixes (#210)mat
* start fixing code related to fluid physics * implement force_solid for blocks * afk pool test
2025-02-22update to rust edition 2024mat
2025-01-12fix panic on bot disconnectmat
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-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-10-26group imports with rustfmtmat
2024-07-05upgrade to simdnbt 0.6 (#160)mat
2024-02-22fix for hypixel limbomat
2024-01-08fix ping packet, explosion packet, and panic lessmat
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-11-07fix tests to compilemat
2023-10-12KnockbackEvent and rename Physics::delta to velocitymat
2023-10-02start optimizing pathfindermat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-18fix entities not always being despawned after mergemat
2023-09-14rename Local to LocalEntitymat
2023-09-13fix testsmat
2023-09-11fix falling through blocks on spawn (and triggering anticheats)mat
2023-09-10clippymat
2023-09-10fix physics bugsmat
2023-09-10fix incorrect jumpingmat
2023-08-25fix all bevy ambiguitiesmat
2023-08-25implement stepping up stairsmat
2023-08-25add failing test for that weird diagonal edge casemat
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2023-08-25add basic pathfinding testmat
2023-08-15fix testsmat
2023-07-23clean up azalea-entity a littlemat
2023-07-14Mining (#95)mat
* more mining stuff * initialize azalea-tags crate * more mining stuff 2 * mining in ecs * well technically mining works but no codegen for how long it takes to mine each block yet * rename downloads to __cache__ it was bothering me since it's not *just* downloads * codegen block behavior * fix not sending packet to finish breaking block * mining animation 🎉 * clippy * cleanup, move Client::mine into a client extension * add azalea/src/mining.rs --------- Co-authored-by: mat <git@matdoes.dev>
2023-07-09Update to Bevy 0.11 (#94)mat
* update to bevy 0.11 * clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-05-03Inventory (#48)mat
* start adding azalea-inventory * design more of how inventories are defined * start working on az-inv-macros * inventory macro works * start adding inventory codegen * update some deps * add inventory codegen * manually write inventory menus * put the inventories in Client * start on containersetcontent * inventory menu should hopefully work * checks in containersetcontent * format a comment * move some variant matches * inventory.rs * inventory stuff * more inventory stuff * inventory/container tracking works * start adding interact function * sequence number * start adding HitResultComponent * implement traverse_blocks * start adding clip * add clip function * update_hit_result_component * start trying to fix * fix * make some stuff simpler * clippy * lever * chest * container handle * fix ambiguity * fix some doc tests * move some container stuff from az-client to azalea * clicking container * start implementing simulate_click * keep working on simulate click * implement more of simulate_click this is really boring * inventory fixes * start implementing shift clicking * fix panic in azalea-chat i hope * shift clicking implemented * more inventory stuff * fix items not showing in containers sometimes * fix test * fix all warnings * remove a println --------- Co-authored-by: mat <git@matdoes.dev>
2023-03-14make ResourceLocation::new -> Self and impl Serialize/Deserialize for ↵mat
ResourceLocation
2023-03-11fix doc errorsmat
2023-03-07Add World::find_block (#80)mat
* start adding World::find_block * keep working on find_block * BlockStates * fix sorting * update examples that use find_one_block * azalea_block::properties * fix tests * add a gotoblock command to testbot
2023-03-07Bevy 0.10 (#79)mat
* replace 0.9.1 with 0.10.0 * start migrating to bevy .10 * well it compiles * doesn't immediately panic * remove unused imports * fmt * delete azalea-ecs * make RelativeEntityUpdate an EntityCommand * fix a doc test * explain what FixedUpdate does
2023-02-25Fix system order ambiguities (#74)mat
* start fixing stuff where systems run in the wrong order * fix ordering ambiguity * add debugging guide * some fixes * fix panic for swarms * fix some warnings
2023-02-23fix jumpingmat
2023-02-13fix comment in testsUbuntu
2023-02-13fix `BlockCollisions` bounding box (#68)Charles Johnson
* fix `BlockCollisions` bounding box * add test --------- Co-authored-by: Ubuntu <github@matdoes.dev>
2023-02-10make blockstate goodUbuntu