I have been having trouble with this command. I am trying to detect wool with a certain color but whenever I try to detect the wool it says
Failed to execute '0 /summon ArmorStand ~ ~ ~
I have done a lot of research to fix this and I cant find a way to make it work. This is the command I used.
/execute @e[type=ArmorStand,name=test] ~ ~ ~ detect minecraft:wool 1 0 /summon ArmorStand ~ ~ ~
I also used
/execute @e[type=ArmorStand,name=test] ~ ~ ~ detect wool 1 0 /summon ArmorStand ~ ~ ~
Best Answer
Based on the minecraft wiki page on commands (describing the execute detect command), the correct syntax for your command:
Since I suspect you mean detect a wool block in the armor stand, the XYZ coordinates for after detect would just be ~ ~ ~
As for the color of the wool, look at the data values page and replace with the data value of the color you want
So your command: