aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat/src
AgeCommit message (Collapse)Author
10 dayscorrect shapes for blocks with random offsetsmat
2026-03-28slightly cleanup azalea-chat and add ChatFormatting::from_namemat
2026-03-28re-export azalea-chat from azalea, and rename azalea::chat to client_chatmat
2026-03-27optimize TranslatableComponent::readmat
2026-01-19deserialize ClickEvent from nbtmat
2026-01-20make click_event publicmat
2026-01-13Merge AzaleaRead and AzaleaWrite (#305)mat
2026-01-11add fuzzer for azalea-protocol and fix a few panicsmat
2025-12-27don't serialize 'extra' twice in FormattedTextmat
2025-12-24remove unused deps and fix compilation when certain features are disabledmat
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-12-12Refactor azalea-registry (#294)mat
* move registries in azalea-registry into separate modules * rename Item and Block to ItemKind and BlockKind * remove 'extra' registries from azalea-registry * hide deprecated items from docs * use DamageKindKey instead of Identifier when parsing registries * store tag entries as a Vec instead of a HashSet * sort tag values by protocol id * update changelog
2025-12-09Enchantments (#286)mat
* start implementing enchants * store parsed registries * more work on enchants * implement deserializer for some entity effects * mostly working definitions for enchants * fix tests * detect equipment changes * fix errors * update changelog * fix some imports * remove outdated todo * add basic test for enchants applying attributes * use git simdnbt
2025-12-01fix TranslatableComponent color inheritance (#287)H3XÐΛΞMѲИ
Recursively process translated components instead of flattening to string to preserve nested styling. Fixes advancement messages not showing correct colors.
2025-11-12upgrade depsmat
all set to the latest patch release to avoid bugs in older versions
2025-10-30Remove unnecessary MoveEntityError and MovePlayerError types and other cleanupmat
2025-10-12upgrade deps and clean up lots of doc commentsmat
2025-10-10Implement primitive translation arguments (#263)Tert0
* implement primitive translation arguments * add distinct number types to PrimitiveOrComponent * fix deserializing PrimitiveOrComponent::Boolean from nbt * improve nbt serialization for translatable component arguments
2025-09-301.21.9 (#235)mat
* start updating to 25w33a * 1.21.9-pre2 * clippy * cleanup, and fix c_explode and c_player_rotation * mc update should be in Changed section in the changelog * 1.21.9
2025-09-25fix compile error with new serde version, and update depsmat
2025-09-20more accurate mining and impl PartialEq for packetsmat
2025-09-14implement translation fallback (#244)Tert0
2025-08-12add nearest_entity_by and improve some docsmat
2025-08-12fix incorrect dark_red colormat
2025-08-12fix wrong chat styling sometimes when 'extra' field is usedmat
2025-08-10Send correct data component checksums (#234)mat
* start implementing data component crc32 hashes * start doing serde impls for checksums * make more components hashable * make all data components serializable * support recursive components * fix simdnbt dep * update changelog * clippy
2025-08-04Default components (#232)mat
* add default components * remove debug prints * clippy * use default components * fix tests
2025-07-24delete unused module from azalea-chatmat
2025-06-18fix: parse int lists in TranslatableComponent `with` field (#225)Yhgd
2025-06-16fix unused import warnings when compiling some crates individuallymat
2025-06-02add basic support for getting biome ids in chunksmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-05-17lowercase named colours (#222)activepass
2025-05-07support legacy hex colorsmat
2025-05-06fix incorrect chat parsing when legacy color codes are mixed inmat
2025-05-02Add AutoReconnectPlugin (#221)mat
* add AutoReconnectPlugin * merge main * start simplifying swarm internals * fix Swarm::into_iter, handler functions, DisconnectEvent, and add some more docs * add ClientBuilder/SwarmBuilder::reconnect_after * fix a doctest * reword SwarmEvent::Disconnect doc * better behavior when we try to join twice * reconnect on ConnectionFailedEvent too * autoreconnect is less breaking now
2025-05-01Implement a to_html method for FormattedText (#208)Kumpelinus
* Implement a to_html method for FormattedText Also fix a small issue with ansi formatting where it duplicated text. * cargo fmt * Make format conversion generic * cargo lint and fmt * Fix ascii conversion cleanup * Implement suggested changes * format, improve sanitization, add xss test --------- Co-authored-by: mat <git@matdoes.dev>
2025-04-04remove executable bit from filesmat
2025-02-22update to rust edition 2024mat
2025-01-14fix wrong ServerLinkKind and serialize hex colors correctly in nbtmat
2024-12-23fix 'extra' parsing in FormattedText::from_nbt_compound which results in ↵mat
duplicated chat fragments
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-27replace once_cell with std:;sync::LazyLockmat
2024-10-26group imports with rustfmtmat
2024-08-15fix incorrect comment in with_microsoft_access_token docsmat
2024-08-06cursor_remaining was stabilizedmat
2024-07-05upgrade to simdnbt 0.6 (#160)mat
2024-05-22fix another edge case in FormattedText::from_nbt_tag that happens with ↵mat
viaversion
2024-05-22read Tool blocks as HolderSetmat
fixes an error with viaversion servers