1

[FIXED] Need help changing the armor on armor stands (command block help)

CaptinCreeper999's Avatar CaptinCreeper9995/7/19 3:05 pm history
1 emeralds 332 2
5/8/2019 3:02 pm
CaptinCreeper999's Avatar CaptinCreeper999
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)
Posted by CaptinCreeper999's Avatar
CaptinCreeper999
Level 23 : Expert Artist
3

Create an account or sign in to comment.

2

2
05/07/2019 11:45 pm
Level 52 : Grandmaster Cowboy
CrazyCowMM
CrazyCowMM's Avatar
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
05/08/2019 3:02 pm
Level 23 : Expert Artist
CaptinCreeper999
CaptinCreeper999's Avatar
Thanks!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome