Can you use a command to query whether someone has, for example, 32 cobblestones in the inventory?
Which version?
Bedrock or Java?
Java
Which version?
Yes
/ execute if entity @a [nbt = {Inventory: [{id: "minecraft: cobblestone", Count: 32b}]}] run…