aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/clientbound_player_position_packet.rs
AgeCommit message (Collapse)Author
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
2023-10-01organize azalea_core and re-export it from azaleamat
2023-03-141.19.4 (#57)mat
* 23w03a * 23w04a * 23w05a * 23w06a * fix * 23w07a mojang broke their json data generator so some stuff is missing * didn't mean to commit that file here * 1.19.4-pre2 * fix * 1.19.4-pre3 * fix * how did these packets get here * 1.19.4-pre4 * 1.19.4-rc1 * 1.19.4-rc2 * 1.19.4-rc3 * merge main * remove debugging code * 1.19.4
2023-01-30More packet fixes, tests, handle error (#61)EightFactorial
* Fix packet, fix tests, fixedbitsets * Clippy: Nightmare Mode * Fix mistake * simplify impl Display and make thing pub --------- Co-authored-by: mat <github@matdoes.dev>
2022-11-12Pathfinder (#25)mat
Pathfinding is very much not done, but it works enough and I want to get this merged. TODO: fast replanning, goals that aren't a single node, falling moves (it should be able to play the dropper), parkour moves
2022-10-07Replace impl Read with Cursor<&[u8]> (#26)mat
* Start getting rid of Cursor * try to make the tests pass and fail * make the tests pass * remove unused uses * fix clippy warnings * fix potential OOM exploits * fix OOM in az-nbt * fix nbt benchmark * fix a test * start replacing it with Cursor<Vec<u8>> * wip * fix all the issues * fix all tests * fix nbt benchmark * fix warnings
2022-09-05Publish everything* to crates.iomat
Except azalea-client since it's not ready yet
2022-09-02get rid of Readable & Writable (#21)mat
2022-08-06Better errors (#14)mat
* make reading use thiserror * finish implementing all the error things * clippy warnings related to ok_or * fix some errors in other places * thiserror in more places * don't use closures in a couple places * errors in writing packet * rip backtraces * change some BufReadError::Custom to UnexpectedEnumVariant * Errors say what packet is bad * error on leftover data and fix it wasn't reading the properties for gameprofile
2022-07-29Split clientbound and serverbound packetsmat
2022-06-25read_into -> read_frommat
yeah
2022-06-24i hate mutexesmat
2022-06-23Fix everything so azalea-buf worksmat
2022-05-14add derive McBuf to every packetmat
2022-05-08Merge branch 'main' into chunk-decodingmat
2022-05-07Initialize worldborder packetmat
Also add varlong and replace #[varint] with #[var]
2022-05-03clippymat
2022-05-01impl Write instead of Vec<u8> for consistencymat
2022-05-01impl Write instead of Vec<u8> for consistencymat
2022-05-01Reduce usage of AsyncReadmat
We already receive everything from the server when it tells us the length, so we can actually just treat the stream as a Read instead of an AsyncRead.
2022-04-27add player position packetmat