1

execute @e[type=armor_stand,name:"Luis Fonsi"] ~ ~ ~ /particle witchMagic ~ ~ ~ 0 0 0 1 1

I'm trying to make a meme armor stand and add particle effects but I can't seem to get the execute command working because it doesn't see the name properly cause it has 2 words. I know I'm doing something wrong but no idea what

I'm playing in 1.12 on a server. If that helps Entity '@e[type=armor_stand,name:"Luis' cannot be found Error Message ^

  • Which version are you using? since 1.13, the command format has drastically changed and your format looks very much like before 1.13. and what error did you get? – D-Inventor Sep 7 '18 at 18:41
  • 1
    Entity '@e[type=armor_stand,name:"Luis' cannot be found Is the error message and im playing on 1.12 – Chaotic Sep 7 '18 at 18:51
  • It looks like the name selector argument doesn't support spaces in 1.12 (but does in 1.13 according to the wiki). A score_is_luis_fonsi selector argument might work as a workaround though. – Unionhawk Sep 7 '18 at 19:04
1

I managed to accomplish the same thing just by using this command:

execute @e[type=armor_stand,c=1] ~ ~ ~ /particle witchMagic ~ ~2 ~ 0 0 0 0 50       

Basically it looks for the closest armor stand which is the one i want to edit. Its not really helpful if you want to do it by name but its an easy solution.

:)

0

I think you should replace the name: with name= So your command becomes:

execute @e[type=armor_stand,name="Luis Fonsi"] ~ ~ ~ /particle witchMagic ~ ~ ~ 0 0 0 1 1

I am not completely sure of this but I think it should work.

0

You should change to the command below if you don't make this armorstand's name is visble

execute @e[type=armor_stand,name=Luis_Fonsi] ~ ~ ~ /particle witchMagic ~ ~ ~ 0 0 0 1 1

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.