aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src
AgeCommit message (Collapse)Author
2025-02-23fix memory leak in simulation tests (lol)mat
also, change some vecs into boxed slices, and add RelativeEntityUpdate::new
2025-02-23minor memory usage optimizationsmat
2025-02-22update to rust edition 2024mat
2025-02-21Fix errors on switching dimensions (#204)mat
* Fix errors on switching dimensions * fix other tests * clippy * fix log feature in test_simulation * fix chunks oops
2025-02-17Enable serde feature in sub-crates (#202)Shayne Hartford
Add serde derive to MinecraftEntityId
2025-02-16use MinecraftEntityId type instead of u32 in az-protocolmat
2025-02-04add todo about wrong calculated_bits_per_entry codemat
2025-01-27fix chunk parsing on hypixelmat
2025-01-21fix errors when switching worldsmat
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-27implement BlockState::outline_shapemat
2024-12-24make BlockState a u16 and add a BlockStateIntegerRepr typemat
2024-12-11Implement EntityPositionSync (#196)mat
* implement EntityPositionSync * fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
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-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-22Fix debug warning (#186)Shayne Hartford
2024-10-26group imports with rustfmtmat
2024-07-12fix: Chunk Storage Error (#158)Aditya Kumar
2024-02-25optimize physicsmat
2024-02-23reword comment for calculated_bits_per_entrymat
2024-02-22fix for hypixel limbomat
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-12-09add BlockState::propertymat
2023-12-04revert packet name to Disguised and make it more like ChatPacket::Playermat
2023-11-19Replace azalea-nbt with simdnbt (#111)mat
* delete azalea-nbt and replace with simdnbt * use simdnbt from crates.io * remove serde dependency on azalea-registry
2023-11-18share registries in swarms and fix some bugsmat
2023-11-18fix memory leak when loading chunks in swarmsmat
2023-11-18replace log with tracingmat
2023-11-12improve docs a bitmat
2023-10-26remove some more #![feature]smat
2023-10-07make pathfinder twice as fast :sunglasses:mat
2023-10-07update chunk batchingmat
2023-10-02cleanupmat
2023-10-02yet another W for linear searchesmat
2023-10-02optimize pathfinder moremat
2023-10-02add benchmarks to azalea-worldmat
2023-10-01add pathfinder benchmarkmat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-18fix entities not always being despawned after mergemat
2023-09-18instanceloadedevent and a few fixesmat
2023-09-17heightmapsmat
2023-08-24Support properly switching instances (#106)mat
* start implementing switching dimensions * fix removeentity in shared worlds * also store entity ids per local player * uncomment a trace in pathfinder * cleanup --------- Co-authored-by: mat <git@matdoes.dev>
2023-08-15upgrade thiserror and other depsmat
2023-08-01remove unnecessary parensmat
2023-08-01improve Instance::find_blockmat
2023-07-23fix sometimes not receiving chunksmat
2023-07-23clean up azalea-entity a littlemat
2023-07-20make PalettedContainer::new less weirdmat