From 682609a24e62587094397aab13fda924aa44509e Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 8 Oct 2023 03:24:29 -0500 Subject: knockback --- azalea-entity/src/plugin/indexing.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'azalea-entity/src/plugin') diff --git a/azalea-entity/src/plugin/indexing.rs b/azalea-entity/src/plugin/indexing.rs index 297949f6..3ae17f7b 100644 --- a/azalea-entity/src/plugin/indexing.rs +++ b/azalea-entity/src/plugin/indexing.rs @@ -26,6 +26,9 @@ pub struct EntityUuidIndex { /// An index of Minecraft entity IDs to Azalea ECS entities. This is a /// `Component` so local players can keep track of entity IDs independently from /// the instance. +/// +/// If you need a per-instance instead of per-client version of this, you can +/// use [`Instance::entity_by_id`]. #[derive(Component, Default)] pub struct EntityIdIndex { /// An index of entities by their MinecraftEntityId -- cgit v1.2.3