aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/entity.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-06-17 23:10:54 +0000
committerGitHub <noreply@github.com>2022-06-17 23:10:54 +0000
commitf414aa4d37e0c6a7adf55b772fa93714be6e9c9c (patch)
tree8cfb7d33114b9537b50477d5d6980995eec6cc5c /azalea-client/src/entity.rs
parent56f98c1b243d1ba8906ac73a2f2d8eec5646183e (diff)
parent0a945e73ec43b3b0389e004e138c83f41cddc532 (diff)
downloadazalea-drasl-f414aa4d37e0c6a7adf55b772fa93714be6e9c9c.tar.xz
Merge pull request #9 from mat-1/azalea-block
azalea-block
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,
}