How to detect when players are wearing armor Minecraft(JAVA)
Channel:
Subscribers:
1,430
Published on ● Video Link: https://www.youtube.com/watch?v=4-WNkjRvcH8
Today i am going to show you how to detect with a command block when a player is wearing armor you could use this to give them slowness with certain armor or other things.
COMMANDS:
/execute as @a[nbt={Inventory:[{Slot:100b,id:"minecraft:diamond_boots"},{Slot:101b,id:"minecraft:diamond_leggings"},{Slot:102b,id:"minecraft:diamond_chestplate"},{Slot:103b,id:"minecraft:diamond_helmet"}]}] run effect give @p minecraft:slowness 1 2 true