azalea/azalea-block
2022-12-08 18:39:35 -06:00
..
azalea-block-macros wrap_comments = true 2022-12-08 18:39:35 -06:00
src 1.19.3 (#34) 2022-12-07 21:09:58 -06:00
Cargo.toml chore: Release 2022-11-19 15:25:55 -06:00
README.md Pathfinder (#25) 2022-11-12 23:54:05 -06:00

Azalea Block

Representation of Minecraft block states.

There's two main things here, the BlockState enum and the Block trait. BlockState is a simple enum with every possible block state as variant, and Block is a heavier trait which lets you access information about a block more easily.

Every block is a struct that implements Block. You can freely convert between BlockState and Block with .into().

If you don't want the Block trait, set default-features to false.