How make particles swarm around a certain area?

Started by Denis153426 on

Topic category: Help with MCreator software

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How make particles swarm around a certain area?

I want to create particles that fly along random trajectories in a specific area. How can I make the particles change direction over time rather than follow straight trajectories? Is it possible?

 

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, it’s possible. In…
Thu, 04/30/2026 - 07:29

Yes, it’s possible. In MCreator 2026.1, you need to go to Mod Elements → Particle and create your particle. Then create a Procedure and set the trigger to "On particle tick update".
In this procedure, add the following blocks:

  • Set particle motion X to (Get particle motion X + random -0.03 to 0.03)
  • Set particle motion Y to (Get particle motion Y + random -0.02 to 0.05)
  • Set particle motion Z to (Get particle motion Z + random -0.03 to 0.03)

Then go back to your particle and assign this procedure in "Particle tick event".
Result: the particle changes direction every tick instead of moving in a straight line.