aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-entity/src')
-rw-r--r--azalea-entity/src/lib.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs
new file mode 100644
index 00000000..506f5780
--- /dev/null
+++ b/azalea-entity/src/lib.rs
@@ -0,0 +1,17 @@
+use azalea_core::EntityPos;
+
+#[derive(Default, Debug)]
+pub struct Entity {
+ /// The incrementing numerical id of the entity.
+ pub id: u32,
+ pub pos: EntityPos,
+}
+
+// #[cfg(test)]
+// mod tests {
+// #[test]
+// fn it_works() {
+// let result = 2 + 2;
+// assert_eq!(result, 4);
+// }
+// }