diff options
Diffstat (limited to 'azalea-entity/src/plugin')
| -rw-r--r-- | azalea-entity/src/plugin/indexing.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
