aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib
AgeCommit message (Collapse)Author
2025-12-15write/update docs for several itemsmat
2025-12-15generate docs for metadata componentsmat
2025-12-14create typos.toml and fix typosmat
2025-12-11fix data component codegenmat
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 in a few more placesmat
2025-11-13rename ResourceLocation to Identifier ahead of mojmap changesmat
2025-10-30Remove unnecessary MoveEntityError and MovePlayerError types and other cleanupmat
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-21fix pickable entity querymat
2025-09-20more accurate mining and impl PartialEq for packetsmat
2025-09-14Add functions for getting block properties as strings (#240)urisinger
* add tests and fix * fix integer properties * refactor azalea-block-macros and improve apis --------- Co-authored-by: mat <git@matdoes.dev>
2025-08-14Sneaking (#237)mat
* start implementing sneaking * fix horizontal_collision being inverted and cleanup * clippy * change dimensions and eye height based on pose * proper support for automatically crouching in certain cases * fix anticheat issues * add line to changelog and update a comment
2025-08-10use Vec3f32 in entity metadata to fix parsing Vector3 valuesmat
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-301.21.7 (#227)mat
* 1.21.7-rc1 * 1.21.7 * update Cargo.lock too
2025-06-27outline_shapes patch for pumpkin extractor isn't necessary anymoremat
2025-06-171.21.6 (#215)mat
2025-05-30more formatting fixesmat
2025-05-01drop dependency on pixlyzer and start using pumpkin extractormat
2025-04-17make BlockState::id privatemat
2025-04-04remove executable bit from filesmat
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-16Fluid physics fixes (#210)mat
* start fixing code related to fluid physics * implement force_solid for blocks * afk pool test
2025-02-02start implementing data driven registriesmat
2025-01-11codegen entity dimensionsmat
2025-01-11update wrong entity metadatamat
2024-12-27implement BlockState::outline_shapemat
2024-12-23rename metadata::State to metadata::SnifferStatemat
2024-12-20fix incorrect tags codegenmat
2024-12-19fix incorrect packetsmat
2024-12-04Update Bevy and migrate to workspace dependencies and package attributes (#181)EightFactorial
* Use workspace `Cargo.toml` for dependencies and package atributes * Fix a couple clippy warnings * Update bevy, update build script, move deps to workspace, and fix clippy warnings * Remove carrots from crate versions The default behavior is the same * Remove unused dependencies Compiles and all tests pass, so it should be fine * Update codegen to use `std::sync::LazyLock` instead of `once_cell::sync::Lazy` * Update Bevy to `0.15.0-rc.3` Surprisingly little needed to be changed * Update to bevy 0.15.0 * Fix leftover merge issues * Clarify the reason the swarm can't connect * Fix duplicate lint, remove `log` dependency
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-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-06-131.21 (#145)mat
* 24w18a (data driven enchantments not implemented yet) * 1.21
2024-05-23remove all references to clean_property_namemat
2024-05-23change property names to be unique and to match the minecraft idsmat
2024-05-22make getting shapes faster (#149)urisinger
* supposed to make getting shapes faster * why was this reversed * forgot to run codegen * don't panic when getting the shape for invalid block ids --------- Co-authored-by: mat <git@matdoes.dev>
2024-04-23sort generated tagsmat
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
2023-12-09add unit structs for every bool propertymat
2023-12-071.20.4mat
lol
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-12-02change protocol_version to an i32mat