aboutsummaryrefslogtreecommitdiff
path: root/azalea/src/entity_ref/shared_impls.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-01-06 06:34:19 -0500
committermat <git@matdoes.dev>2026-01-06 06:34:19 -0500
commitfdbcfaab4813da928f9f27e119d4951088c3a853 (patch)
tree19f33692f882ada386f8b6aea1e1a195a905e286 /azalea/src/entity_ref/shared_impls.rs
parent9c2c7c3497a74e80d7186fdcd97ce2518520faa6 (diff)
downloadazalea-drasl-fdbcfaab4813da928f9f27e119d4951088c3a853.tar.xz
add a few more convenience functions and update some docs
Diffstat (limited to 'azalea/src/entity_ref/shared_impls.rs')
-rw-r--r--azalea/src/entity_ref/shared_impls.rs4
1 files changed, 2 insertions, 2 deletions
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::<Health>()`.
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 {