Trail of particles from a point to TNT

Trail of particles from a point to TNT - Red arrow pointer to hiking trail

I have a map where I spawn Primed TNT then teleport it to a random Mushroom Cow which is invisible to make 100% random explosion. Now I want to make a particle trail from an orb kind of block in the center of the map to the exploding Mooshroom to simulate some kind of rocket.

I would like to use the particles from burning torches. Is this possible?

edit: I know how to summon entities but I don't know how to summon particles

edit 2: I was thinking about using a zombie for villager tracking. If there is a way to send a zombie through the air then it would be possible by villager tracking. The only problem would be to generate the zombie and make him walk to the villager within 2 ticks (The time used to summon the TNT and teleport it to the mushroom or in this case the villager)



Best Answer

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:

Repeating command blocks

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:

More repeating command blocks

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.




Pictures about "Trail of particles from a point to TNT"

Trail of particles from a point to TNT - Top view of miniature airplane placed on over gray world map with crop hand of anonymous person indicating direction representing travel concept
Trail of particles from a point to TNT - Low angle of road sign with Route 66 End of the Trail inscription located near fast food restaurant against cloudy evening sky on Santa Monica Beach
Trail of particles from a point to TNT - Drone view of calm sea water running on sandy remote sand with motorboat leaving trail while mooring



How do you make a particle trail in Minecraft?

How to Make Particle Trails in Minecraft
  • Step 1: Get Command Block. ...
  • Step 2: Set Command Block to Repeat. ...
  • Step 3: Type This Command. ...
  • Step 4: Press Space and Type This Command. ...
  • Step 5: Press Space and Write This Command. ...
  • Step 6: TURN ON ALWAYS ACTIVE. ...
  • Step 7: \u200bcongratulations! ...
  • Step 8: MORE PARTICLES!!!!!


  • How do I change my lawn to TNT?

    The /particle command can be used to create particles. If a player uses the "minimal" particles option in the video settings, some particles may not appear.



    UE4 Niagara Quicktip: Adding trails to particles




    More answers regarding trail of particles from a point to TNT

    Answer 2

    Minecraft has a command for spawning particles (/particle). The wiki page for this command is mentioned here. This allows spawning particles which has been added in 1.8. Through searching myself. I have found this command block tutorial which gives a few command examples:

    /particle name (particle pos x) (particle pos y) (particle pos z) (particle size x) (particle size y) (particle pos z) (time of particle) (amount of particles or density) (target)

    The variables X Y and Z are the starting position and XD YD and ZD are the direction it's going in. So in your case it should be:
    /particle smoke ~ ~ ~ 1 1 1 0.01 100 @e[name=""]

    Smoke is your effect aka the torch effect. The three ~'s is the target's position which is mentioned at @e[name=""]. It will be best to name your mooshroom for easier targeting.

    EDIT: /execute @e[name=Mushy] ~ ~ ~ /particle cloud ~ ~ ~ 0 1 0 0.02 100 This worked for me. I spawned a mooshroom called Mushy and this spawned particles on Mushy. I've noticed that the command block has a certain range, so make sure that it's in the range.

    Answer 3

    Use:

    /execute @e[name=Moosh] particle flame ~ ~ ~ 1 1 1 0.01 100
    

    to make an orb on a Mooshroomcow that has a name Moosh

    Or:

    /entitydata @e[r=10] {CustomNameVisible:0} 
    

    To hide the cows custom name in a 10 block radius

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Erik Mclean, Andrea Piacquadio, Enric Cruz López, sergio souza