* 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
3 KiB
Executable file
Azalea
A collection of Rust crates for making Minecraft bots, clients, and tools.
Currently supported Minecraft version: 1.21.3
.
Warning
Azalea is still very unfinished, though most crates are in a somewhat useable state
Features
- Accurate physics (but some features like entity collisions and water physics aren't yet implemented)
- Pathfinder
- Swarms
- Breaking blocks
- Block interactions & building (this doesn't predict the block interactions/placement on the client yet but it's usually fine)
- Inventories
- Attacking entities (but you can't get the entity at the crosshair yet)
Docs
The "stable" documentation is available at docs.rs/azalea and the unstable docs are at azalea.matdoes.dev (recommended).
Matrix/Discord
If you'd like to chat about Azalea, you can join the Matrix space at #azalea:matdoes.dev (recommended) or the Discord server at discord.gg/FaRey6ytmC (they're bridged so you don't need to join both).
Goals
- Do everything a vanilla client can do.
- Be intuitive and easy to use.
- Make it easy to have many bots working at the same time.
- Don't trigger anticheats.
- Support the latest Minecraft version.
- Be fast and memory efficient.
Non-goals
- Supporting several versions of Minecraft on the same branch*.
- Bedrock edition.
- Graphics.
Branches
There are several branches in the Azalea repository that target older Minecraft versions. Most of them are severely outdated compared to the latest version of Azalea. If you'd like to update them or add more, please open a PR.