aboutsummaryrefslogtreecommitdiff
path: root/azalea-nbt
AgeCommit message (Collapse)Author
2022-10-30chore: Releasemat
2022-10-30add "repository" field to all cratesmat
2022-10-27use variables directly in format stringsmat
thanks clippy we love you
2022-10-17(cargo-release) version 0.2.0Ubuntu
2022-10-17(cargo-release) version 0.2.0Ubuntu
2022-10-15fix clippy warningsmat
2022-10-07fix errors with rewritten packet readingmat
i forgot i never tested it before LMAO
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-14re-enable nbt benchesUbuntu
2022-08-30make some stuff publishable on crates.iomat
2022-08-29Physics (#11)mat
* Put physics module in azalea-entity * port aabb * add more stuff to PositionXYZ * azalea-physics * important collision things * more physics stuff * backup because i'm about to delete shapes * more shape stuff * CubeVoxelShape * no compile errors??? insane * impl VoxelShape for ArrayVoxelShape * Shapes stuff * collide_x but it doesn't work yet * binary_search * it compiles * Entity has bounding box * Update discrete_voxel_shape.rs * Entity::make_bounding_box * ok i'm about to merge az-entity and az-world might be a terrible idea which is why i'm committing first * ok so i moved entity to world * on_pos and move_entity compiles * add send_position * move collision stuff to collision module in az-physics * dimension is no longer an Option * start trying to do collision for the client * collision works :tada: * start adding palette resizing * get_and_set (pain) * it compiles but probably won't work * add a test * remove printlns * add more tests for palette stuff * ClientboundMoveVec3Packet -> ClientboundMoveEntityPosPacket i think i changed this on accident once * palette resizing works todo: remove the printlns * Remove printlns in palette.rs * fix issues from merge * fixes + work a bit more on physics * Better entities (#19) * well it compiles * add tests to entity storage * add suggestions in azalea-brigadier * this probably causes ub * fix brigadiersuggestions * get rid of entityid * test From<EntityMut> for EntityRef * don't mention other libraries since there's too many * fix warnings * do todos in brigadier suggestions * work on physics * more physics stuff * remove trait feature on az-block i think rust gets confused and compiles the macro without the feature * bump ahash * aes tests in az-crypto * optimize aes's deps * fix crashes * fix section_index for negative numbers and test * fix BlockPos protocol implementation * remove some debug prints * prepare to add ai_step * make ai step work * clippy
2022-08-24use unsigned integers for nbt lengthsmat
probably not an optimization, just makes more sense
2022-08-24fixmat
2022-08-24optimize nbt bytearraymat
2022-08-24make some code more idiomaticmat
2022-08-19NBT decoder optimizations (#17)mat
* replace HashMap with AHashMap * faster read_string by just doing read_exact * re-enable all the benchmarks
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-06-25read_into -> read_frommat
yeah
2022-06-23switch things to use azalea-bufmat
2022-06-23azalea-bufmat
2022-05-26Fixesmat
2022-05-03clippymat
2022-05-03more azalea-world stuffmat
2022-05-01Change some generics to impl Traitmat
2022-05-01Re-enable NBT decoding benchmarkmat
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-24fix warnings in azalea-nbtmat
2022-04-24fix writing wrong ids in nbtmat
2022-04-24remove an unused thing from dependenciesmat
2022-04-23Vec<Tag> to [Tag]Ubuntu
2022-04-23clean up some codeUbuntu
2022-04-22vroom vroommat
2022-04-22maybe optimizationmat
2022-04-22inline reading in nbt decodingmat
2022-04-22simplify nbt list optimizationmat
2022-04-22remove irrelevant commentmat
2022-04-22fix nbt decode benchmarkmat
2022-04-22nbt optimizationsmat
2022-04-22remove some useless codemat
2022-04-22simplify error handlingmat
2022-04-21make benchmarks work againmat
2022-04-21tokio features in az-nbtmat
2021-12-26reading nbt in the protocol worksmat
2021-12-25ok i give up remove the async benchmarksmat
2021-12-20start adding nbt to the protocolmat
2021-12-20add some things to readmesmat
2021-12-20add more tests and benchmarks for nbtmat
2021-12-20slight nbt optimizationsmat
2021-12-19make write_string its own functionmat
2021-12-19make read_string its own functionmat