aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/packet_handling/game.rs
AgeCommit message (Collapse)Author
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-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-16use MinecraftEntityId type instead of u32 in az-protocolmat
2025-02-03Fix deadlock when changing server (#200)Kumpelinus
* Fix deadlock when changing server * remove unnecessary clones --------- Co-authored-by: mat <git@matdoes.dev>
2025-02-01set player metadata on init instead of loginmat
2025-02-01add failing test_set_health_before_login testmat
2025-01-29change some warns to debugsmat
2025-01-27don't warn on release mode for unknown PlayerInfoUpdatemat
2025-01-21fix name of field in CommonPlayerSpawnInfomat
2025-01-21fix errors when switching worldsmat
2025-01-14fix wrong ServerLinkKind and serialize hex colors correctly in nbtmat
2025-01-13change some warnings to debug logs and improve some entity id index codemat
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-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-05fix container_set_content, player_position, and recipe_book_remove packetsmat
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-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-05-22read Tool blocks as HolderSetmat
fixes an error with viaversion servers
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-04-20clippymat
2024-02-24track entity rotationsmat
2024-02-23fix 'CommandQueue has un-applied commands being dropped.' spammat
2024-02-17upgrade deps, bevy 0.13mat
2023-12-09fix typos in code with crate-ci/typosmat
2023-12-07apply command in StartConfigurationmat
2023-12-07implement StartConfiguration packet maybemat
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-04revert packet name to Disguised and make it more like ChatPacket::Playermat
2023-12-04Add masked chat type/event (#118)Shayne Hartford
2023-12-03make it so plugins can send and receive packets during the login statemat
2023-12-01disconnect fixesmat
2023-12-01addd disconnect reason (#114)1zuna
2023-11-18share registries in swarms and fix some bugsmat
2023-11-18make loading chunks its own bevy systemmat
2023-11-18upgrade all dependenciesmat
2023-11-18replace log with tracingmat
2023-11-18make packet an Arc in PacketEventmat
2023-11-18simplify some codemat
2023-11-06bevy 0.12mat
2023-10-12rename KnockbackEvent::kind to knockbackmat
2023-10-12KnockbackEvent and rename Physics::delta to velocitymat
2023-10-08knockbackmat
2023-10-02optimize pathfinder moremat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-29update block shapesmat
2023-09-28check for entity duplication before spawningmat
this fixes behavior where in swarms entities in the world might sometimes have a duplicate that gets spawned and despawned immediately