From 39943447f68fede8e8ed6799cc8eee7bddecf945 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 26 Jul 2023 00:45:06 -0500 Subject: fix querying multiple components in entity_by --- azalea-inventory/azalea-inventory-macros/src/menu_impl.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'azalea-inventory') diff --git a/azalea-inventory/azalea-inventory-macros/src/menu_impl.rs b/azalea-inventory/azalea-inventory-macros/src/menu_impl.rs index a4f78370..ef8f8641 100644 --- a/azalea-inventory/azalea-inventory-macros/src/menu_impl.rs +++ b/azalea-inventory/azalea-inventory-macros/src/menu_impl.rs @@ -147,7 +147,11 @@ pub fn generate(input: &DeclareMenus) -> TokenStream { /// /// The indexes in this will match up with [`Menu::slot_mut`]. /// - /// If you don't want to include the player's inventory, use [`Menu::contents`] instead. + /// If you don't want to include the player's inventory, use [`Menu::contents`] + /// instead. + /// + /// If you *only* want to include the players inventory, then you can filter by only + /// using the slots in [`Self::player_slots_range`]. pub fn slots(&self) -> Vec { match self { #slots_match_variants -- cgit v1.2.3