I know how to do it, with specific quantity of items, such as 2 ender eyes, for example: /execute if data entity @p {Inventory:[{id:"minecraft