aboutsummaryrefslogtreecommitdiff
path: root/azalea-block/src
AgeCommit message (Collapse)Author
2026-03-2426.1 (#316)mat
* start updating to 26.1 * start updating to 26.1-snapshot-6 * 26.1-snapshot-6 * 26.1-snapshot-10 * 26.1-rc-1 * fix tests * 26.1-rc-2 and sort default components * 26.1 * update changelog
2026-03-23cleanup and slightly speed up is_block_state_standablemat
2026-03-19more doc fixesmat
2026-03-05optimized converting from blockstate to blockkindmat
2026-03-05update tests using old property namesmat
2026-03-05don't unnecessarily disambiguate some block property enumsmat
2026-01-13Merge AzaleaRead and AzaleaWrite (#305)mat
2026-01-04re-export simdnbt from azalea-protocolmat
2026-01-03cleanupmat
2026-01-04add BlockTrait::set_propertymat
closes #140
2025-12-15change ClientboundAddEntity::data from a u32 to i32mat
hi shay :3
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-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-10-12upgrade deps and clean up lots of doc commentsmat
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-14clippymat
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-20generate better code in azalea-blockmat
2025-06-171.21.6 (#215)mat
2025-06-11use owned instead of borrowed Vec3 moremat
2025-06-04handle set_held_slot packet and add more Into BlockStates implsmat
2025-06-04fix hashset of blockstate into blockstates implmat
2025-06-03rename the Block trait to BlockTrait to disambiguate with azalea_registry::Blockmat
2025-06-03replace wait_one_tick with wait_ticks and some other api improvementsmat
2025-06-02add basic support for getting biome ids in chunksmat
2025-05-30fix clippy issues and improve formatting everywheremat
2025-05-01drop dependency on pixlyzer and start using pumpkin extractormat
2025-04-17remove unused importmat
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-22update to rust edition 2024mat
2025-02-14remove stabilized trait_upcasting feature gatesmat
2025-01-10Fluid physics (#199)mat
* start implementing fluid physics * Initial implementation of fluid pushing * different travel function in water * bubble columns * jumping in water * cleanup * change ultrawarm to be required * fix for clippy
2024-12-27implement fluid_shapemat
2024-12-27resolve some todos in az-coremat
2024-12-24make BlockState a u16 and add a BlockStateIntegerRepr typemat
2024-12-24fix parsing Dust particle and treat waterlogged blocks as liquid in pathfindermat
2024-12-031.21.4 (#189)mat
* start updating to 1.21.4 * fix block codegen and stop using block data from burger * 1.21.4-rc1 * 1.21.4
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-05-23change property names to be unique and to match the minecraft idsmat
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-02-25reduce allocations for collision detectionmat
2024-01-25update depsmat
2024-01-06add doc comment about d=mat
2023-12-15Add mining to the pathfinder (#122)mat
* basic pathfinder mining poc * mining descending and autotool * pathfinder mining descending * pathfinder fixes * allow disabling pathfinder miner and other fixes * small optimization to avoid chunk vec iter lookup sometimes * seeded rng in pathfinder bench * consistently use f32::INFINITY this brings performance much closer to how it was before * astar heuristic optimization from baritone * add downward_move * fix downward move execute * avoid liquids and falling blocks when mining * fix COST_HEURISTIC * fix to not path through flowing liquids * only reset pathfinder timeout while mining if the block is close enough * cache mining costs of block positions * fix mine_while_at_start and move PathfinderDebugParticles to its own module * add ReachBlockPosGoal in other news: azalea's sin/cos functions were broken this whole time and i never noticed * clippy and add things that i accidentally didn't commit * improve wording on doc for azalea::pathfinder
2023-12-10Climbing (#121)mat
* start implementing climbing * fix tests * fix bots running at lower tick rate
2023-12-09add BlockState::propertymat