aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory/src
AgeCommit message (Collapse)Author
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
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
2024-08-11fmtmat
2024-07-20Made `Hunger` and `DataComponentPatch` public (#167)Aditya Kumar
* Made `Hunger` component public * Made `DataComponentPatch` public
2024-06-131.21 (#145)mat
* 24w18a (data driven enchantments not implemented yet) * 1.21
2024-05-22read Tool blocks as HolderSetmat
fixes an error with viaversion servers
2024-04-231.20.5 (#127)mat
* 23w51b * make recalculate_near_end_of_path public so other plugins can do .after(recalculate_near_end_of_path) * update to 24w03a i think * start implementing 24w13a * registries work (but a lot of packets are still broken) * fix recipes and commands packets * i love codecs :D i am not going insane :D mojang's java is very readable :D * item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow * update to 1.20.5-pre3 * fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone) * 1.20.5-rc1 * fix failing tests * 1.20.5
2024-01-06add doc comment about d=mat
2023-12-051.20.3 (#110)mat
* 23w40a * 23w41a * 23w42a * 23w43a * 23w44a * serialize FormattedText as nbt in network * use azalea-nbt/serde in azalea-chat * 23w45a * fix 23w45a to compile * handle Object in codegen * 1.20.3-pre2 * remove unused clientbound_resource_pack_packet.rs * merge main and make azalea-chat use simdnbt * 1.20.3-rc1 * fix tests * use simdnbt 0.3 * fix ServerboundSetJigsawBlockPacket * 1.20.3
2023-11-19Replace azalea-nbt with simdnbt (#111)mat
* delete azalea-nbt and replace with simdnbt * use simdnbt from crates.io * remove serde dependency on azalea-registry
2023-10-26remove some unnecessary code and improve docs for Menumat
2023-07-14Mining (#95)mat
* more mining stuff * initialize azalea-tags crate * more mining stuff 2 * mining in ecs * well technically mining works but no codegen for how long it takes to mine each block yet * rename downloads to __cache__ it was bothering me since it's not *just* downloads * codegen block behavior * fix not sending packet to finish breaking block * mining animation 🎉 * clippy * cleanup, move Client::mine into a client extension * add azalea/src/mining.rs --------- Co-authored-by: mat <git@matdoes.dev>
2023-05-12Merge branch 'main' into 1.20mat
2023-05-05fix some warningsmat
2023-05-04merge mainmat
2023-05-03Inventory (#48)mat
* start adding azalea-inventory * design more of how inventories are defined * start working on az-inv-macros * inventory macro works * start adding inventory codegen * update some deps * add inventory codegen * manually write inventory menus * put the inventories in Client * start on containersetcontent * inventory menu should hopefully work * checks in containersetcontent * format a comment * move some variant matches * inventory.rs * inventory stuff * more inventory stuff * inventory/container tracking works * start adding interact function * sequence number * start adding HitResultComponent * implement traverse_blocks * start adding clip * add clip function * update_hit_result_component * start trying to fix * fix * make some stuff simpler * clippy * lever * chest * container handle * fix ambiguity * fix some doc tests * move some container stuff from az-client to azalea * clicking container * start implementing simulate_click * keep working on simulate click * implement more of simulate_click this is really boring * inventory fixes * start implementing shift clicking * fix panic in azalea-chat i hope * shift clicking implemented * more inventory stuff * fix items not showing in containers sometimes * fix test * fix all warnings * remove a println --------- Co-authored-by: mat <git@matdoes.dev>