From fdbcfaab4813da928f9f27e119d4951088c3a853 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 6 Jan 2026 06:34:19 -0500 Subject: add a few more convenience functions and update some docs --- azalea/src/entity_ref/shared_impls.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/src/entity_ref/shared_impls.rs') diff --git a/azalea/src/entity_ref/shared_impls.rs b/azalea/src/entity_ref/shared_impls.rs index 9ef396a0..5e2255c5 100644 --- a/azalea/src/entity_ref/shared_impls.rs +++ b/azalea/src/entity_ref/shared_impls.rs @@ -87,11 +87,11 @@ impl_entity_functions! { } Client: - /// Get the health of this client. + /// Get the health of this client, typically in the range `0..=20`. /// /// This is a shortcut for `*bot.component::()`. EntityRef: - /// Get the health of this entity. + /// Get the health of this entity, typically in the range `0..=20`. /// /// Also see [`Client::health`]. pub fn health(&self) -> f32 { -- cgit v1.2.3