1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
A collection of Rust crates for making Minecraft bots, clients, and tools. https://azalea.matdoes.dev
Find a file
mat a928d83ade make packet handler work
i still haven't actually tested any of this yet lol but in theory it should all work

i'll probably either actually test az-client and fix all the remaining issues or update the azalea crate next

ok also one thing that i'm not particularly happy with is how the packet handlers are doing ugly queries like
```rs
let local_player = ecs
    .query::<&LocalPlayer>()
    .get_mut(ecs, player_entity)
    .unwrap();
```
i think the right way to solve it would be by putting every packet handler in its own system but i haven't come up with a way to make that not be really annoying yet
2023-01-08 23:30:09 -06:00
.cargo Pathfinder (#25) 2022-11-12 23:54:05 -06:00
.github fix doc yaml 2022-11-29 18:57:27 -06:00
.vscode simplify error handling 2022-04-22 04:33:58 +00:00
azalea huh az-client compiles 2023-01-03 21:18:02 +00:00
azalea-auth log headers on unknown sessionserver error 2023-01-05 19:24:21 -06:00
azalea-block (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
azalea-brigadier rename Component to FormattedText 2022-12-13 19:08:49 -06:00
azalea-buf (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
azalea-chat rename Component to FormattedText 2022-12-13 19:08:49 -06:00
azalea-client make packet handler work 2023-01-08 23:30:09 -06:00
azalea-core random fixes 2022-12-24 17:43:33 -06:00
azalea-crypto (cargo-release) version 0.5.0 2022-12-09 15:34:25 +00:00
azalea-language Fix binary compilation (#53) 2023-01-05 14:31:25 -06:00
azalea-nbt (cargo-release) version 0.5.0 2022-12-09 15:34:26 +00:00
azalea-physics make packet handler work 2023-01-08 23:30:09 -06:00
azalea-protocol make packet handler work 2023-01-08 23:30:09 -06:00
azalea-registry random fixes 2022-12-24 17:43:33 -06:00
azalea-world make packet handler work 2023-01-08 23:30:09 -06:00
bot packet handler uses the ecs now 2022-12-25 17:12:14 -06:00
codegen change a bunch of entity things to use the components 2022-12-24 19:21:11 -06:00
.gitignore Pathfinder (#25) 2022-11-12 23:54:05 -06:00
.gitpod.yml simplify error handling 2022-04-22 04:33:58 +00:00
Cargo.lock start fixing some packets 2023-01-07 01:05:27 +00:00
Cargo.toml packet handling 2023-01-02 18:59:29 -06:00
LICENSE.md Create LICENSE.md 2022-10-30 14:49:46 -05:00
README.md mention docs in readme 2022-12-09 15:15:05 +00:00
rust-toolchain Uploaded doc workflow (#46) 2022-11-29 12:59:36 -06:00
rustfmt.toml wrap_comments = true 2022-12-08 18:39:35 -06:00

Azalea

docs.rs

A collection of Rust crates for making Minecraft bots, clients, and tools.

Azalea

Currently supported Minecraft version: 1.19.3.

⚠️ Azalea is still very unfinished, though most crates are in a somewhat useable state

I named this Azalea because it sounds like a cool word and this is a cool library. This project was heavily inspired by PrismarineJS.

Docs

The "stable" documentation is available at docs.rs/azalea and the unstable docs are at azalea.matdoes.dev

Matrix/Discord

If you'd like to chat about Azalea, you can join the Matrix space at #azalea:matdoes.dev or the Discord server at discord.gg/FaRey6ytmC.

Why

I wanted a fun excuse to do something cool with Rust, and I also felt like I could do better than Mineflayer in some areas.

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.

Stretch goals

  • Server implementation. (if you're interested in making this then please contact me, I'd love for it to be a thing. @mat:matdoes.dev / mat#1592)
  • Having branches for several popular Minecraft versions.