When you want to start the trail of particles, use this command, with X
, Y
and Z
being the coordinates of the center:
/summon ArmorStand X Y Z {Invisible:1,CustomName:"orb"}
Run these commands, in order, on a repeating/chain command block loop like the depicted:
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ summon ArmorStand ~1 ~ ~ {Invisible:1}
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ summon ArmorStand ~-1 ~ ~ {Invisible:1}
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ summon ArmorStand ~ ~1 ~ {Invisible:1}
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ summon ArmorStand ~ ~-1 ~ {Invisible:1}
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ summon ArmorStand ~ ~ ~1 {Invisible:1}
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ summon ArmorStand ~ ~ ~-1 {Invisible:1}
/kill @e[type=ArmorStand,name=orb]
/execute @e[type=MushroomCow,name=Mushy,c=1] ~ ~ ~ entitydata @e[type=ArmorStand,c=1] {CustomName:"orb"}
/kill @e[type=ArmorStand,name=!orb]
/execute @e[type=ArmorStand,name=orb] ~ ~ ~ /particle cloud ~ ~ ~ 0 0 0 0.02 3
/execute @e[type=MushroomCow,name=Mushy,c=1] ~ ~ ~ kill @e[type=ArmorStand,r=1]
A screenshot:
It has been brought to my attention that this method is rather slow. A way to speed it up is simply to make another set of command blocks as below:
I have tested both the functionality and the speedup method and they seem to work. However, if you try it and find a problem, please tell me and I will look into it.
Best Answer
Here's an easier way: When spawning the mob, use the tag
{PersistenceRequired:1}
to ensure it doesn't despawn.Command:
/summon minecraft:witch ~ ~ ~ {PersistenceRequired:1}
Disguising a mob like you're suggesting is an incredibly difficult and CPU-consuming method, and is very unlikely to work.