1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00
A collection of Rust crates for making Minecraft bots, clients, and tools. https://azalea.matdoes.dev
Find a file
mat c9b4dccd7e
All block shapes & collisions (#22)
* start adding shapes

* add more collision stuff

* DiscreteCubeMerger

* more mergers

* start adding BitSetDiscreteVoxelShape::join

* i love rust 😃 😃 😃

* r

* IT COMPILES????

* fix warning

* fix error

* fix more clippy issues

* add box_shape

* more shape stuff

* make DiscreteVoxelShape an enum

* Update shape.rs

* also make VoxelShape an enum

* implement BitSet::clear

* add more missing things

* it compiles

W

* start block shape codegen

* optimize shape codegen

* make az-block/blocks.rs look better (broken)

* almost new block macro

* make the codegen not generate 'type'

* try to fix

* work more on the blocks macro

* wait it compiles

* fix clippy issues

* shapes codegen works

* well it's almost working

* simplify some shape codegen

* enum type names are correct

* W it compiles

* cargo check no longer warns

* fix some clippy issues

* start making it so the shape impl is on BlockStates

* insane code

* new impl compiles

* fix wrong find_bits + TESTS PASS!

* add a test for slab collision

* fix clippy issues

* ok rust

* fix error that happens when on stairs

* add test for top slabs

* start adding join_is_not_empty

* add more to join_is_not_empty

* top slabs still don't work!!

* x..=0 doesn't work in rust 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃 😃

* remove comment since i added more useful names

* remove some printlns

* fix walls in some configurations erroring

* fix some warnings

* change comment to \`\`\`ignore instead of \`\`\`no_run

* players are .6 wide not .8

* fix clippy's complaints

* i missed one clippy warning
2022-10-02 12:29:47 -05:00
.cargo improve compilation time 2022-08-18 23:18:35 -05:00
.github/workflows Update check.yml 2022-06-29 22:10:20 -05:00
.vscode simplify error handling 2022-04-22 04:33:58 +00:00
azalea Publish empty azalea crate 2022-09-05 10:38:40 -05:00
azalea-auth make some stuff publishable on crates.io 2022-08-30 21:42:40 -05:00
azalea-block All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-brigadier All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-buf All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-chat fix panic in azalea-chat 2022-09-11 09:47:54 -05:00
azalea-client All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-core All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-crypto Fix connection writer being locked (#23) 2022-09-19 21:21:46 -05:00
azalea-language make some stuff publishable on crates.io 2022-08-30 21:42:40 -05:00
azalea-nbt re-enable nbt benches 2022-09-14 18:33:51 +00:00
azalea-physics All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-protocol All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
azalea-registry use az-registry in az-protocol 2022-09-05 11:44:48 -05:00
azalea-world All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
bot All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
codegen All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
examples Update craft_dig_straight_down.rs 2022-06-25 15:04:21 -05:00
.gitignore code-generator/lib 2022-05-24 19:50:19 -05:00
.gitpod.yml simplify error handling 2022-04-22 04:33:58 +00:00
Cargo.lock All block shapes & collisions (#22) 2022-10-02 12:29:47 -05:00
Cargo.toml Publish empty azalea crate 2022-09-05 10:38:40 -05:00
README.md yeah let's be honest they're not very useable 2022-09-23 22:11:23 -05:00

Azalea

A collection of Rust crates primarily for creating Minecraft bots.

Azalea

Currently supported Minecraft version: 1.19.2.

⚠️ Azalea is still very unfinished, though some 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.

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.
  • Bypass most/all 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.
  • Having branches for several popular Minecraft versions.