aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/lib.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2026-02-22 11:35:41 +0700
committermat <git@matdoes.dev>2026-02-22 11:35:41 +0700
commit2756eb419af2210eed3d0574e20a620918e4e577 (patch)
tree0d209e70f65db16b7b982c3e941355589b7d5181 /azalea-entity/src/lib.rs
parentca2fbe329b0879496cf12de4e85d81ca3aa3c351 (diff)
downloadazalea-drasl-2756eb419af2210eed3d0574e20a620918e4e577.tar.xz
optimizations at high entity counts
Diffstat (limited to 'azalea-entity/src/lib.rs')
-rw-r--r--azalea-entity/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
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);