aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory/src
AgeCommit message (Collapse)Author
2026-02-04fix ClientboundSetEquipment failing to deserialize if using animal armor slotsmat
2026-01-13Merge AzaleaRead and AzaleaWrite (#305)mat
2026-01-13fix memory leaks in azalea-protocolmat
2025-12-19smaller EntityDataValue typemat
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-11fix data component codegenmat
2025-12-12polish readmesmat
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-091.21.11 (#273)mat
* run codegen for 25w44a * 25w44a * 25w46a * rename ResourceLocation to Identifier per mojmap changes * update changelog * 1.21.11-pre1 * 1.21.11-pre2 * 1.21.11-pre3 * add AttackRange fields from pre4 * 1.21.11-rc3 * 1.21.11
2025-11-13rename ResourceLocation to Identifier ahead of mojmap changesmat
2025-10-12fix wrong WritableBookContent representationmat
fixes #264
2025-10-12upgrade deps and clean up lots of doc commentsmat
2025-10-06allow skipping serialization of PartialProfile::propertiesmat
2025-10-07update ResolvableProfile data component to 1.21.9mat
2025-10-04fix(inventory): update 1.21.9 entity and block entity component structures ↵eihqnh
(#260)
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-20more accurate mining and impl PartialEq for packetsmat
2025-08-18fix ClientboundMerchantOffersmat
2025-08-18fix DataComponentPatch::getmat
2025-08-12add nearest_entity_by and improve some docsmat
2025-08-10revert PotDecorations structure updatemat
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-06-09replace Client::get_open_container and view_container_or_inventory with ↵mat
get_inventory
2025-06-03copy player part of container_menu to inventory_menu on closemat
2025-06-04re-enable click prediction and fix related issuesmat
2025-06-03replace wait_one_tick with wait_ticks and some other api improvementsmat
2025-05-30more formatting fixesmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-04-25fix some data componentsmat
2025-04-12fix ChickenVariant data componentmat
2025-04-13fix incorrect data componentsmat
2025-03-29update ServerboundContainerClick to use HashedStack from 1.21.5mat
2025-03-26fix components, show_in_tooltip was removedmat
2025-03-251.21.5 (#198)mat
* 25w02a * move item_components codegen to a different module * remove outdated test * 25w03a * start updating to 24w09b * 1.21.5-pre2 * fix broken packets * 1.21.5-rc2 * merge main * delete unused acket_handling * 1.21.5
2025-03-13fix wrong Potion data componentmat
2025-03-13fix wrong Consumable component implementation and add set_equipment testmat
2025-02-22update to rust edition 2024mat
2025-02-22fix is_trapdoor_useable_as_ladder and add testmat
2025-02-21fix CustomModelData and WrittenBookContent datacomponentsmat
2025-02-14remove stabilized trait_upcasting feature gatesmat
2025-01-29fix wrong Profile data component implmat
2025-01-12fix bugs with decoding/encoding DataComponentPatchmat
2024-12-11remove the generic_const_exprs feature since it's unused and to make the ↵mat
rust compiler devs happy
2024-12-05fix container_set_content, player_position, and recipe_book_remove packetsmat
2024-11-28improve DataComponentPatch::has and has_kindmat
2024-11-28change DataComponentPatch::get to take in a generic (and add get_kind, has, ↵mat
and has_kind)
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-26group imports with rustfmtmat