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-client/src/local_player.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-client/src') diff --git a/azalea-client/src/local_player.rs b/azalea-client/src/local_player.rs index cc2a28dc..9e44913c 100644 --- a/azalea-client/src/local_player.rs +++ b/azalea-client/src/local_player.rs @@ -73,7 +73,7 @@ pub struct PermissionLevel(pub u8); #[derive(Clone, Component, Debug, Default, Deref, DerefMut, Resource)] pub struct TabList(HashMap); -#[derive(Clone, Component)] +#[derive(Clone, Component, Debug)] pub struct Hunger { /// The main hunger bar. This is typically in the range `0..=20`. pub food: u32, @@ -81,7 +81,7 @@ pub struct Hunger { /// /// This isn't displayed in the vanilla Minecraft GUI, but it's used /// internally by the game. It's a decrementing counter, and the player's - /// [`Hunger::food`] only starts decreasing when this reaches 0. + /// [`Hunger::food`] only starts decreasing when their saturation reaches 0. pub saturation: f32, } -- cgit v1.2.3