aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/position.rs
AgeCommit message (Collapse)Author
2026-01-19add simulation-based pathfinder execution enginemat
2026-01-17use more compact chunk section positions in pathfindermat
2026-01-13Merge AzaleaRead and AzaleaWrite (#305)mat
2026-01-12Make Bevy dependencies optional in azalea-protocol (#303)mat
* Make Bevy dependencies optional in azalea-protocol * derive serde traits on Direction again * update docs for types that may not have Component
2025-12-18fix warning when Vec3 codec is represented as floatsmat
2025-12-15write/update docs for several itemsmat
2025-12-15sort derives with cargo sort-derivesmat
might add to ci later, unsure how to do it without adding significant friction for contributors though
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-11-13rename ResourceLocation to Identifier ahead of mojmap changesmat
2025-11-11cleanupmat
- remove deprecated code - add `[lints] workspace=true` to every Cargo.toml, to make modifying clippy lints easier for later - remove some unnecessary #[allow]s - use Vec3i in some parts of the collision code
2025-10-12upgrade deps and clean up lots of doc commentsmat
2025-08-10use Vec3f32 in entity metadata to fix parsing Vector3 valuesmat
2025-08-10Send correct data component checksums (#234)mat
* start implementing data component crc32 hashes * start doing serde impls for checksums * make more components hashable * make all data components serializable * support recursive components * fix simdnbt dep * update changelog * clippy
2025-07-24update movement code for 1.21.5 changesmat
fixes grim flags
2025-06-16implement EntityHitResultmat
2025-06-11use owned instead of borrowed Vec3 moremat
2025-06-11add BlockPos::distance_to and lengthmat
2025-06-11take BlockPos instead of &BlockPos in all function argumentsmat
2025-06-02add BlockPos::center_bottommat
2025-06-03fix issues when pathfinding to non-full blocks and add Client::view_inventorymat
2025-06-02actually send Event::ReceiveChunkmat
2025-06-02add basic support for getting biome ids in chunksmat
2025-05-30more formatting fixesmat
2025-05-30formatting: merge importsmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-04-04remove executable bit from filesmat
2025-03-251.21.5 (#198)mat
* 25w02a * move item_components codegen to a different module * remove outdated test * 25w03a * start updating to 24w09b * 1.21.5-pre2 * fix broken packets * 1.21.5-rc2 * merge main * delete unused acket_handling * 1.21.5
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-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-27better astar WeightedNode::cmpmat
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-11Implement EntityPositionSync (#196)mat
* implement EntityPositionSync * fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-12-05fix container_set_content, player_position, and recipe_book_remove packetsmat
2024-11-30Impl FromStr for BlockPos & Vec (again) (#191)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-10-26group imports with rustfmtmat
2024-10-21Impl FromStr for BlockPos & Vec (#174)Shayne Hartford
* Impl FromStr for BlockPos & Vec (cherry picked from commit 288db1ca303c801c189f950fa99d5ae8369235c4) * Add comments
2024-10-21Derive Deserialize & Serialize for BlockPos & Vec3 (#175)Shayne Hartford
(cherry picked from commit f0d15d08320cbca1f3383e60cdd97efc488c3b34)
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-02-24add Display for Vec3, add SimulationSet, and add EntityChunkPos componentmat
2024-02-24add some more convenience functionsmat
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-13i didn't actually commit the codemat
2023-10-26optimize azalea-core positions and remove some unnecessary nightly featuresmat
2023-10-11fix State incorrectly being reused when calling handlers in swarmmat
2023-10-07make pathfinder twice as fast :sunglasses:mat