azalea/README.md

60 lines
2.8 KiB
Markdown
Raw Normal View History

2021-12-16 05:10:55 +00:00
# Azalea
2022-10-30 20:05:54 +00:00
[![docs.rs](https://img.shields.io/docsrs/azalea)](https://docs.rs/azalea)
2022-10-30 20:05:14 +00:00
2022-10-15 22:47:41 +00:00
A collection of Rust crates for making Minecraft bots, clients, and tools.
2022-05-15 01:47:37 +00:00
2022-05-01 20:22:28 +00:00
<p align="center">
<img src="https://cdn.matdoes.dev/images/flowering_azalea.webp" alt="Azalea" height="200">
</p>
2021-12-20 21:22:02 +00:00
2022-05-25 01:28:08 +00:00
<!-- The line below is automatically read and updated by the migrate script, so don't change it manually. -->
2023-12-05 17:01:28 +00:00
2023-12-07 17:34:18 +00:00
_Currently supported Minecraft version: `1.20.4`._
2022-05-25 01:28:08 +00:00
2023-12-03 23:24:00 +00:00
> [!WARNING]
2023-10-03 18:10:18 +00:00
> Azalea is still very unfinished, though most crates are in a somewhat useable state
## Features
2023-12-05 17:01:28 +00:00
- [Accurate physics](https://github.com/azalea-rs/azalea/blob/main/azalea-physics/src/lib.rs) (but some features like entity collisions and water physics aren't yet implemented)
- [Pathfinder](https://azalea.matdoes.dev/azalea/pathfinder/index.html)
- [Swarms](https://azalea.matdoes.dev/azalea/swarm/index.html)
- [Breaking blocks](https://azalea.matdoes.dev/azalea/struct.Client.html#method.mine)
- [Block interactions & building](https://azalea.matdoes.dev/azalea/struct.Client.html#method.block_interact) (this doesn't predict the block interactions/placement on the client yet but it's usually fine)
- [Inventories](https://azalea.matdoes.dev/azalea/struct.Client.html#impl-ContainerClientExt-for-Client)
- [Attacking entities](https://azalea.matdoes.dev/azalea/struct.Client.html#method.attack) (but you can't get the entity at the crosshair yet)
2022-07-18 21:55:55 +00:00
2022-12-09 15:15:05 +00:00
## Docs
2023-10-03 18:10:18 +00:00
The "stable" documentation is available at [docs.rs/azalea](https://docs.rs/azalea) and the unstable docs are at [azalea.matdoes.dev](https://azalea.matdoes.dev) (recommended).
2022-12-09 15:15:05 +00:00
2022-12-04 04:04:39 +00:00
## Matrix/Discord
If you'd like to chat about Azalea, you can join the Matrix space at [#azalea:matdoes.dev](https://matrix.to/#/#azalea:matdoes.dev) (recommended) or the Discord server at [discord.gg/FaRey6ytmC](https://discord.gg/FaRey6ytmC) (they're bridged so you don't need to join both).
2022-12-04 04:04:39 +00:00
2021-12-16 05:26:15 +00:00
## Goals
2023-12-05 17:01:28 +00:00
- 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.
2022-04-25 16:18:12 +00:00
2022-07-30 23:00:54 +00:00
## Non-goals
2023-12-05 17:01:28 +00:00
- Supporting several versions of Minecraft on the same branch[\*](https://github.com/azalea-rs/azalea-viaversion).
- 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.
2023-12-05 17:01:28 +00:00
- [1.20.2](https://github.com/azalea-rs/azalea/tree/1.20.2)
- [1.20-1.20.1](https://github.com/azalea-rs/azalea/tree/1.20.1)
- [1.19.4](https://github.com/azalea-rs/azalea/tree/1.19.4)
- [1.19.3](https://github.com/azalea-rs/azalea/tree/1.19.3)
- [1.19.2](https://github.com/azalea-rs/azalea/tree/1.19.2)