I regretted a command that tests whether someone has more than a certain amount of a certain item. E.g. Whether someone has more than 9 emeralds in their inventory. So far I've only come here:
execute if entity @p [nbt = {Inventory: [{id: "minecraft: emerald"}, {Count: 9.}]}] run…
But that doesn't work. I can test myself whether someone has exactly the amount (9 emeralds) in their inventory and not whether someone has 9 or more. Play in 1.15.2 Java 😘LG
The dots behind it stand for 9 or more, what's your question
When I write 9th he says that the player was not found.