From 2756eb419af2210eed3d0574e20a620918e4e577 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 22 Feb 2026 11:35:41 +0700 Subject: optimizations at high entity counts --- azalea-entity/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'azalea-entity/src/lib.rs') diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index fa4feffb..aacc3f54 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -424,6 +424,10 @@ pub struct PlayerAbilities { /// The type of fluid that is at an entity's eye position, while also accounting /// for fluid height. +/// +/// This is only updated for [`AbstractLiving`] entities. +/// +/// [`AbstractLiving`]: metadata::AbstractLiving #[cfg_attr(feature = "bevy_ecs", derive(bevy_ecs::component::Component))] #[derive(Clone, Copy, Debug, Deref, DerefMut, PartialEq)] pub struct FluidOnEyes(FluidKind); -- cgit v1.2.3