aboutsummaryrefslogtreecommitdiff
path: root/azalea-block/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-block/src/lib.rs')
-rwxr-xr-xazalea-block/src/lib.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/azalea-block/src/lib.rs b/azalea-block/src/lib.rs
index 2a46fd01..7e6ccfaf 100755
--- a/azalea-block/src/lib.rs
+++ b/azalea-block/src/lib.rs
@@ -5,17 +5,17 @@ mod behavior;
mod generated;
mod range;
-pub use generated::{blocks, properties};
-
-use azalea_buf::{BufReadError, McBufReadable, McBufVarReadable, McBufVarWritable, McBufWritable};
-pub use behavior::BlockBehavior;
use core::fmt::Debug;
-pub use range::BlockStates;
use std::{
any::Any,
io::{Cursor, Write},
};
+use azalea_buf::{BufReadError, McBufReadable, McBufVarReadable, McBufVarWritable, McBufWritable};
+pub use behavior::BlockBehavior;
+pub use generated::{blocks, properties};
+pub use range::BlockStates;
+
pub trait Block: Debug + Any {
fn behavior(&self) -> BlockBehavior;
/// Get the Minecraft ID for this block. For example `stone` or