From ab05e7bdae43de3595718fee877c0fbcc6368555 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 11 Jun 2025 02:55:30 -0530 Subject: add Client::attack_cooldown_remaining_ticks --- azalea-entity/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'azalea-entity/src') 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, -- cgit v1.2.3