aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-03-20 01:49:15 +0000
committermat <git@matdoes.dev>2025-03-20 01:49:15 +0000
commit13d5cbed1fed1695c28dc1bf1c11b24c68819970 (patch)
treef0173a37595e73d1a8c92b6a20306056778252d9 /azalea-entity/src
parent75efbc83fdc4a47f880e95259a339d41839af01a (diff)
downloadazalea-drasl-13d5cbed1fed1695c28dc1bf1c11b24c68819970.tar.xz
document Position default
Diffstat (limited to 'azalea-entity/src')
-rw-r--r--azalea-entity/src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs
index 4893878a..32b0a19f 100644
--- a/azalea-entity/src/lib.rs
+++ b/azalea-entity/src/lib.rs
@@ -140,8 +140,11 @@ impl Debug for EntityUuid {
/// The position of the entity right now.
///
-/// You are free to change this; there's systems that update the indexes
-/// automatically.
+/// You are free to change the value of this component; there's systems that
+/// update the indexes automatically.
+///
+/// Its value is set to a default of [`Vec3::ZERO`] when it receives the login
+/// packet, its true position may be set ticks later.
#[derive(Component, Clone, Copy, Debug, Default, PartialEq, Deref, DerefMut)]
pub struct Position(Vec3);
impl Position {