aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets
AgeCommit message (Collapse)Author
2024-11-30Add missing world border boolean to use item on packet in 1.21.2 (#192)Shayne Hartford
2024-11-28switch some packet structs to unit structsmat
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-12Switch to u32 to match other entity ids in Azalea (#182)Shayne Hartford
* Switch to u32 to match other entity ids in Azalea * Forgot about the other entity id * Revert "Forgot about the other entity id" That wasn't meant for this branch, squash merge this out lol.
2024-10-26group imports with rustfmtmat
2024-10-26fix ClientboundPlayerInfoUpdatePacket and replace GameProfile with ↵mat
LoginFinished in an example
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-22Add missing yaw and patch fields to ServerboundUseItemPacket (#178)Shayne Hartford
(cherry picked from commit ed7b306aff5ed1d1ce9659d41f76f3f3a6884dd6)
2024-08-15fix ClientboundLevelParticlesPacket errors and pathfinder /particle errorsmat
2024-06-16Fix command packets (#155)EnderKill98
* Fix copy&paste mistake from chat command signed packet to chat command packet * Bugfix --------- Co-authored-by: EnderKill98 <no@mail.tld>
2024-06-131.21 (#145)mat
* 24w18a (data driven enchantments not implemented yet) * 1.21
2024-05-22fix another edge case in FormattedText::from_nbt_tag that happens with ↵mat
viaversion
2024-04-27fmtmat
2024-04-27Use ClientIntention over ConnectionProtocol for ClientIntentionPacket (#143)Luis
* fix!: use ClientIntention over ConnectionProtocol for ClientIntentionPacket * chore: remove McBufRead/Writable from ConnectionProtocol * chore: use From over Into for ClientIntention to ConnectionProtocol conversion * chore: organise imports in existing style
2024-04-24fix ClientboundLevelParticlesPacketmat
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-20fix edge case with reading FormattedText as nbtmat
2024-03-08Update clientbound_game_event_packet.rs (#133)veronoicc
Added 2 new game even types
2024-02-24fix parsing textcomponents failing when it's translatable and has a ↵mat
primitive as an argument
2024-02-22fix for hypixel limbomat
2024-01-20remove unnecessary map_errmat
2024-01-08fix ping packet, explosion packet, and panic lessmat
2023-12-28fix FormattedText when 'extra' isn't a list of compoundsmat
2023-12-28read nbt as optional in more placesmat
2023-12-17Publicize all fields on `AddOperation` and `Style` (#124)Tijn
The struct itself was already public, I assume the fields where meant to be as well.
2023-12-16fix non-u8 gamemodesmat
love you wynncraft
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-02change protocol_version to an i32mat
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-18replace log with tracingmat
2023-10-12KnockbackEvent and rename Physics::delta to velocitymat
2023-10-12brigadier usagesmat
2023-10-01organize azalea_core and re-export it from azaleamat
2023-09-211.20.2 (#99)mat
* add configuration state * start updating to 23w31a * implement a bit more of 23w31a * chunk batching * start adding configuration state * ioasfhjgsd * almost works * configuration state mostly implemented * handle other packets in configuration state and fix keepalive * cleanup, fix warnings * 23w32a * fix some doctests * 23w33a * 23w35a * 1.20.2-pre2 * fix system conflicts * 1.20.2-pre4 * make tests compile * tests pass * 1.20.2-rc2 * 1.20.2 * Revert "1.20.2" This reverts commit dd152fd265332ead333c919e585ded6d609d7468. * didn't mean to commit that code --------- Co-authored-by: mat <git@matdoes.dev>
2023-09-17heightmapsmat
2023-09-07Don't crash when missing extra registries (#108)EightFactorial
* Fix decoding on missing Nbt structures * Fix default and renaming
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-22fix writing ClientboundUpdateRecipesPacketmat
2023-08-15fix testsmat
2023-07-14Mining (#95)mat
* more mining stuff * initialize azalea-tags crate * more mining stuff 2 * mining in ecs * well technically mining works but no codegen for how long it takes to mine each block yet * rename downloads to __cache__ it was bothering me since it's not *just* downloads * codegen block behavior * fix not sending packet to finish breaking block * mining animation 🎉 * clippy * cleanup, move Client::mine into a client extension * add azalea/src/mining.rs --------- Co-authored-by: mat <git@matdoes.dev>
2023-07-09Update to Bevy 0.11 (#94)mat
* update to bevy 0.11 * clippy --------- Co-authored-by: mat <git@matdoes.dev>
2023-06-15fix clientboundsoundpacketmat
closes #89
2023-06-121.20mat
2023-05-241.20-pre5mat
2023-05-161.20-pre2mat
2023-05-12protocol fixesmat
2023-05-111.20-pre1mat