I'm trying to get a public server ready for the 1.9 release on monday, and I'm running the 1.9 Pre-Release 3 right now. From what I understand, the Area Effect Clouds are entities and can be used in the same way that armor stands were used in 1.8.

I'm trying to do an execute as command to catch when a player is within a radius of the Area Effect Cloud and then give them boots. Is this something that's not supported with these entities? The is the command I'm trying to use (the /give command was tested on it's own, so the issue isn't there)

/execute @a[type=AreaEffectCloud,name=Boots] ~ ~ ~ /give @a[r=2,c=1] minecraft:leather_boots 1 0 {ench:[{id:8,lvl:3}],display:{Name:"PropertyOfSpawn",color:16759060}}

Ok, I'm a twit. I changed the @a to @e and that solved the problem.

/execute @e[type=AreaEffectCloud,name=Boots] ~ ~ ~ /give @a[r=2,c=1] minecraft:leather_boots 1 0 {ench:[{id:8,lvl:3}],display:{Name:"PropertyOfSpawn",color:16759060}}
  • 1
    Could you post he working command? It may help someone else, if they find this question later. – DJ Pirtu Feb 26 '16 at 6:46
  • 1
    Lol. We've all made silly mistakes like that before! :P – rustphoenix Feb 27 '16 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.