From 5c0e5b1eb3edfdbf1542173f3cc9efcff18be511 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 3 Jun 2025 07:40:53 +1200 Subject: sort entities_by by distance and improve some docs --- azalea-entity/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea-entity/src') diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index 44a4a9ee..ad225400 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -389,6 +389,8 @@ pub struct Dead; /// /// This is used to calculate the camera position for players, when spectating /// an entity, and when raycasting from the entity. +/// +/// The default eye height for a player is 1.62 blocks. #[derive(Component, Clone, Copy, Debug, PartialEq, Deref, DerefMut)] pub struct EyeHeight(f32); impl EyeHeight { -- cgit v1.2.3