A collection of Rust crates for making Minecraft bots, clients, and tools.
Find a file
mat a707e2eb82
Add mining to the pathfinder (#122)
* 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-15 11:26:40 -06:00
.cargo update .cargo/config.toml 2023-02-12 18:47:09 -06:00
.github also run action on prs 2023-02-27 20:56:38 -06:00
azalea Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
azalea-auth Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-block Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
azalea-brigadier Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-buf Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-chat fix broken doc links 2023-12-09 18:34:00 -06:00
azalea-client Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
azalea-core Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
azalea-crypto Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-entity Climbing (#121) 2023-12-10 00:08:08 -06:00
azalea-inventory Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-language Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-physics Climbing (#121) 2023-12-10 00:08:08 -06:00
azalea-protocol fix typos in code with crate-ci/typos 2023-12-09 18:36:16 -06:00
azalea-registry Release 0.9.0 2023-12-05 11:06:51 -06:00
azalea-world Add mining to the pathfinder (#122) 2023-12-15 11:26:40 -06:00
codegen add unit structs for every bool property 2023-12-09 18:32:13 -06:00
.gitignore simplify some code 2023-11-18 00:07:25 -06:00
.gitpod.yml simplify error handling 2022-04-22 04:33:58 +00:00
Cargo.lock use minecraft_folder_path 2023-12-06 23:23:18 -06:00
Cargo.toml Replace azalea-nbt with simdnbt (#111) 2023-11-19 22:07:38 -06:00
LICENSE.md Create LICENSE.md 2022-10-30 14:49:46 -05:00
README.md 1.20.4 2023-12-07 11:34:18 -06: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.20.4.

Warning

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

Features

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. It is not guaranteed that they will be up-to-date with the latest version of Azalea. If you'd like to update them or add more, please open a PR.