aboutsummaryrefslogtreecommitdiff
path: root/azalea-block/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-block/src')
-rw-r--r--azalea-block/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/azalea-block/src/lib.rs b/azalea-block/src/lib.rs
index 9e2a3c5c..3b0f5170 100644
--- a/azalea-block/src/lib.rs
+++ b/azalea-block/src/lib.rs
@@ -16,6 +16,9 @@ pub use block_state::BlockState;
pub use generated::{blocks, properties};
pub use range::BlockStates;
+/// A trait that's implemented on block structs.
+///
+/// See the [azalea_block documentation](crate) for details.
pub trait BlockTrait: Debug + Any {
fn behavior(&self) -> BlockBehavior;
/// Get the Minecraft string ID for this block.