aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/entity.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-06-17 18:09:34 -0500
committermat <github@matdoes.dev>2022-06-17 18:09:34 -0500
commit0a945e73ec43b3b0389e004e138c83f41cddc532 (patch)
treeef28483d3b147946b546d8e897ef91acbec2d51b /azalea-client/src/entity.rs
parentd27d283686d2920d7a7c08087e2d5a39c63fae1c (diff)
downloadazalea-drasl-0a945e73ec43b3b0389e004e138c83f41cddc532.tar.xz
EntityPos
Diffstat (limited to 'azalea-client/src/entity.rs')
-rw-r--r--azalea-client/src/entity.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/azalea-client/src/entity.rs b/azalea-client/src/entity.rs
index ed8aa68d..d91f556f 100644
--- a/azalea-client/src/entity.rs
+++ b/azalea-client/src/entity.rs
@@ -1,5 +1,8 @@
-#[derive(Default)]
+use azalea_core::EntityPos;
+
+#[derive(Default, Debug)]
pub struct Entity {
/// The incremental numerical id of the entity.
pub id: u32,
+ pub pos: EntityPos,
}