aboutsummaryrefslogtreecommitdiff
path: root/azalea/src
AgeCommit message (Collapse)Author
2025-02-23make run_schedule a bounded channelmat
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-22debug log CARGO_PKG_VERSION on swarm startmat
2025-02-21despawn entities when switching worlds and some testbot fixesmat
2025-02-14remove stabilized trait_upcasting feature gatesmat
2025-02-01fix doc errorsmat
2025-02-01add failing test_set_health_before_login testmat
2025-01-29add support for tickend and playerinputmat
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-25close tcp connection on bot disconnect and add swarms to testbot climat
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-23update outdated doc in Swarm and remove unnecessary genericsmat
2024-12-23lift requirement on anyhow for handler functionmat
2024-12-23make testbot take cli argsmat
2024-12-21fix flakey pathfinder tests by moving stop_pathfinding_on_instance_change to ↵mat
be before path_found_listener
2024-12-19fix incorrect packetsmat
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-28switch some packet structs to unit structsmat
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-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-20Add SwarmBuilder::add_account_with_opts (#185)Shayne Hartford
2024-11-15Add more derives to the pathfinder goals for flexibility (#183)Shayne Hartford
2024-11-12Make some internal system handles public for use with before/after (#180)Shayne Hartford
2024-10-26group imports with rustfmtmat
2024-10-231.21.2 (#171)mat
* partially implement 24w35a * start updating to 24w39a + itemcomponent codegen * fix codegen and broken packets to finish updating to 24w39a :D * update to 1.21.2 except for blocks * update ServerboundPlayerInputPacket impl
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-08-15fix ClientboundLevelParticlesPacket errors and pathfinder /particle errorsmat
2024-07-05upgrade to simdnbt 0.6 (#160)mat