aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/difficulty.rs
AgeCommit message (Collapse)Author
2026-01-13Merge AzaleaRead and AzaleaWrite (#305)mat
2025-12-15sort derives with cargo sort-derivesmat
might add to ci later, unsure how to do it without adding significant friction for contributors though
2025-12-11enable str_to_string clippy lintmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-04-04remove executable bit from filesmat
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
2023-02-21Make things public (#71)EightFactorial
* Make struct data pub * Add derives * Rename packet fields * Make Palette structs pub
2022-10-27use variables directly in format stringsmat
thanks clippy we love you
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-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-31clippo the sequelmat
2022-06-25read_into -> read_frommat
yeah
2022-06-23Fix everything so azalea-buf worksmat
2022-06-23azalea-bufmat
2022-05-14get_block_state worksmat
2022-04-22simplify error handlingmat
2022-01-03difficulty packetmat