azalea/azalea-block
2022-06-11 09:36:08 -05:00
..
block-macros fixed macro for blocks with no properties 2022-05-28 21:38:30 -05:00
src Clean code a little 2022-06-11 09:36:08 -05:00
Cargo.toml Start making block macro 2022-05-27 19:34:09 -05:00
README.md Start making azalea-block 2022-05-27 16:04:22 -05: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().