aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
AgeCommit message (Collapse)Author
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-27better astar WeightedNode::cmpmat
2024-12-27resolve some todos in az-coremat
2024-12-25optimize pathfindermat
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-21fix unlinked link in commentmat
2024-12-12chore(core): Derive Serialize and Deserialize for `direction` types (#197)Gaspard Culis
When crate's `serde` feature is enabled
2024-12-11Implement EntityPositionSync (#196)mat
* implement EntityPositionSync * fix EntityPositionSync setting the wrong vec_delta_codec and also move into a RelativeEntityUpdate
2024-12-11remove the generic_const_exprs feature since it's unused and to make the ↵mat
rust compiler devs happy
2024-12-11fix for latest nightly by changing the FixedBitSet generic to take bytes ↵mat
instead of bits
2024-12-05fix container_set_content, player_position, and recipe_book_remove packetsmat
2024-11-30Add missing world border boolean to use item on packet in 1.21.2 (#192)Shayne Hartford
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-08-15fix sometimes being able to mine blocks through wallsmat
2024-07-05upgrade to simdnbt 0.6 (#160)mat
2024-05-14Update simdnbt dep (#148)veronoicc
* Update simdnbt dep * Fix not compiling (rust analyzer is still yapping, i trust you cargo check) * Update simdnbt to 0.5.2 * finally everything works :prayge:
2024-05-14update simdnbtmat
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-26optimize physics a bit moremat
2024-02-24add Display for Vec3, add SimulationSet, and add EntityChunkPos componentmat
2024-02-24add some more convenience functionsmat
2024-01-04rename open_container to open_container_at and add get_open_containermat
2023-12-17make ParticleData fail to compile when new particles are added to ParticleKindmat
2023-12-17Add missing particles (#125)Tijn
* Add missing particles Has all particles present on https://wiki.vg/Protocol#Particle as of 17 December 2023. This also fixes particles being parsed as the incorrect type due to id shifts caused by newly added particles. * Add missing comma
2023-12-16fix non-u8 gamemodesmat
love you wynncraft
2023-12-16default to survival mode when GameMode is out of boundsmat
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-05put azalea_core::tick behind feature flagmat
2023-12-051.20.3 (#110)mat
* 23w40a * 23w41a * 23w42a * 23w43a * 23w44a * serialize FormattedText as nbt in network * use azalea-nbt/serde in azalea-chat * 23w45a * fix 23w45a to compile * handle Object in codegen * 1.20.3-pre2 * remove unused clientbound_resource_pack_packet.rs * merge main and make azalea-chat use simdnbt * 1.20.3-rc1 * fix tests * use simdnbt 0.3 * fix ServerboundSetJigsawBlockPacket * 1.20.3
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-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-10-26remove some more #![feature]smat
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-10start adding mining to pathfindermat
2023-10-07make pathfinder twice as fast :sunglasses:mat
2023-10-06make sure pathfinder is always centered on the destination block (fixes tests)mat
2023-10-05replace a linear search with a binary search . . .mat
2023-10-04improve pathfinder heuristicsmat
2023-10-04add safety comments and simplify some codemat