aboutsummaryrefslogtreecommitdiff
path: root/azalea-block
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-11 20:52:49 -1100
committermat <git@matdoes.dev>2025-12-12 02:53:08 -0500
commit7c3a5768cda78cb9590aac1e1469d36333cd95ac (patch)
treeacecd4f57831e0fff47a8f96a1a30f6edb8825ed /azalea-block
parentf4a3c53eee7d29bade0c074f402c4a45aa98eca8 (diff)
downloadazalea-drasl-7c3a5768cda78cb9590aac1e1469d36333cd95ac.tar.xz
polish readmes
Diffstat (limited to 'azalea-block')
-rw-r--r--azalea-block/README.md6
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.