diff options
| author | mat <git@matdoes.dev> | 2025-12-11 20:52:49 -1100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-12 02:53:08 -0500 |
| commit | 7c3a5768cda78cb9590aac1e1469d36333cd95ac (patch) | |
| tree | acecd4f57831e0fff47a8f96a1a30f6edb8825ed /azalea-block | |
| parent | f4a3c53eee7d29bade0c074f402c4a45aa98eca8 (diff) | |
| download | azalea-drasl-7c3a5768cda78cb9590aac1e1469d36333cd95ac.tar.xz | |
polish readmes
Diffstat (limited to 'azalea-block')
| -rw-r--r-- | azalea-block/README.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/azalea-block/README.md b/azalea-block/README.md index 81e6b097..ff3e8c31 100644 --- a/azalea-block/README.md +++ b/azalea-block/README.md @@ -1,6 +1,8 @@ +# `azalea-block` + Representation of Minecraft block states. -There's three block types, used for different things. You can (mostly) convert between them with `.into()`. +There are three block types, used for different things. You can (mostly) convert between them with `.into()`. ## `BlockState` struct @@ -43,7 +45,7 @@ if let Some(jukebox) = Box::<dyn BlockTrait>::from(block_state).downcast_ref::<a ``` -## `azalea_registry::builtin::BlockKind` enum +## `azalea_registry::builtin::BlockKind` This one isn't from the `azalea-block` crate, but it's still very relevant. It's an enum that contains every block type as a variant *without* containing any state data (unlike `BlockState` and `BlockTrait`). Converting this into any other block type will use the default state for that block. |
