1
[FIXED] Need help changing the armor on armor stands (command block help)
I have an armor stand set up and I want it so that when the player completes a certain task, a command block changes the armor color on the armor stand. The command I am trying to use is:
/data merge entity c1d1a1a4-40a2-4e7b-a837-19d65520a061 {ArmorItems:[{id:leather_boots{display:{color:15961002}},Count:1b},{id:leather_leggings{display:{color:15961002}},Count:1b},{id:leather_chestplate{display:{color:15961002}},Count:1b},{id:player_head,Damage:3,Count:1b,tag:{SkullOwner:wofl}}]}
I have confirmed that this command works :
/data merge entity c1d1a1a4-40a2-4e7b-a837-19d65520a061 {ArmorItems:[{id:leather_boots,Count:1b},{id:leather_leggings,Count:1b},{id:leather_chestplate,Count:1b},{id:player_head,Damage:3,Count:1b,tag:{SkullOwner:wofl}}]}
The color I am trying to change the armor to is pink. If someone could help, that would be great. (sorry for the long commands)
/data merge entity c1d1a1a4-40a2-4e7b-a837-19d65520a061 {ArmorItems:[{id:leather_boots{display:{color:15961002}},Count:1b},{id:leather_leggings{display:{color:15961002}},Count:1b},{id:leather_chestplate{display:{color:15961002}},Count:1b},{id:player_head,Damage:3,Count:1b,tag:{SkullOwner:wofl}}]}
I have confirmed that this command works :
/data merge entity c1d1a1a4-40a2-4e7b-a837-19d65520a061 {ArmorItems:[{id:leather_boots,Count:1b},{id:leather_leggings,Count:1b},{id:leather_chestplate,Count:1b},{id:player_head,Damage:3,Count:1b,tag:{SkullOwner:wofl}}]}
The color I am trying to change the armor to is pink. If someone could help, that would be great. (sorry for the long commands)
Create an account or sign in to comment.
2
2
All you have to do is add ,tag: after the id. So it would be something like /data merge entity @e[tag=test,limit=1] {ArmorItems:[{id:leather_boots,tag:{display:{color:15961002}},Count:1b},{id:leather_leggings,tag:{display:{color:15961002}},Count:1b},{id:leather_chestplate,tag:{display:{color:15961002}},Count:1b},{id:player_head,Damage:3,Count:1b,tag:{SkullOwner:wofl}}]}
1
Thanks!