diff options
| author | mat <git@matdoes.dev> | 2025-06-11 02:55:30 -0530 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-11 02:55:30 -0530 |
| commit | ab05e7bdae43de3595718fee877c0fbcc6368555 (patch) | |
| tree | d9f4312eeb4c1401d4772c901338ba57bf733838 /azalea-entity | |
| parent | 9b0bd29db4faa9d94df0cec472346b814e7efcb9 (diff) | |
| download | azalea-drasl-ab05e7bdae43de3595718fee877c0fbcc6368555.tar.xz | |
add Client::attack_cooldown_remaining_ticks
Diffstat (limited to 'azalea-entity')
| -rw-r--r-- | azalea-entity/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index 7b971c27..0058708f 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -253,9 +253,11 @@ impl Eq for LookDirection {} /// bounding box. #[derive(Debug, Component, Clone, Default)] pub struct Physics { - /// How fast the entity is moving. + /// How fast the entity is moving. Sometimes referred to as the delta + /// movement. /// - /// Sometimes referred to as the delta movement. + /// Note that our Y velocity will be approximately -0.0784 when we're on the + /// ground due to how Minecraft applies gravity. pub velocity: Vec3, pub vec_delta_codec: VecDeltaCodec, |
