Arqade Asked by Yek on June 6, 2021
So I am trying to detect if the player is wearing a specific set of custom armor. I have a command that is not working. Here it is:
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{Name:'[{"text":"Blaze Helmet","italic":false,"color":"yellow"}]'}}},{Slot:102b,id:"minecraft:leather_chestplate",tag:{display:{Name:'[{"text":"Blaze Chestplate","italic":false,"color":"yellow"}]'}}},{Slot:101b,id:"minecraft:leather_leggings",tag:{display:{Name:'[{"text":"Blaze Leggings","italic":false,"color":"yellow"}]'}}},{Slot:103b,id:"minecraft:leather_boots",tag:{display:{Name:'[{"text":"Blaze Boots","italic":false,"color":"yellow"}]'}}}]}] run say test
(Simplified version which does not include the actual nbt)
execute as @a[nbt={Inventory:[{Slot:103b,id:"minecraft:player_head",tag:{display:{stuff}}},{Slot:102b,id:"minecraft:leather_chestplate",tag:{display:{stuff}}},{Slot:101b,id:"minecraft:leather_leggings",tag:{display:{stuff}}},{Slot:103b,id:"minecraft:leather_boots",tag:{display:{stuff}}}]}] run say test
Can anyone please help me and say what I might have done wrong? I checked and I think the formatting is correct because the function appears in the function list in game.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP