From b8228a036016fa58cab4b00a2e62298df299d41f Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sat, 27 Aug 2022 20:31:21 -0500 Subject: Azalea registry (#20) * make azalea-registry crate * add trait feature to az-block * registr * registry macro * impl Display for registry things * registries --- azalea-block/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea-block/README.md') diff --git a/azalea-block/README.md b/azalea-block/README.md index 39843ef4..84da3241 100644 --- a/azalea-block/README.md +++ b/azalea-block/README.md @@ -6,3 +6,5 @@ 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. -- cgit v1.2.3