Parameters
Return value
Notes
- Each item includes the
slotfield indicating where it was found - Use this when you need to process multiple stacks of the same item
- For single item lookups, prefer
getItemByNamefor better performance
Gets all items from an inventory by name, with optional metadata filtering.
slot field indicating where it was foundgetItemByName for better performance