I'm currently working on a Minecraft project. I need a command that controls whether a player is wearing iron armor (the whole one). Then nothing happens to him. However, I made a mistake in the basic inspection of the individual parts and I do not understand what I'm doing wrong. I'm aware that I have to adjust the slot on the armor part, but something basic is still wrong and I don't know what it is.
execute if entity @p [nbt = {Inventory: [{id: "minecraft: iron_helmet", slot: 103b}]}]
The only mistake I see is that slot needs to be capitalized. I don't know if that helps.
You're a hero!
:Thank you