How to make Particle a consistent size like Barrier particles.

Started by Shrek420 LOLOLOL on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make Particle a consistent size like Barrier particles.

I'm trying to make a Barrier-like block but I don't know how to make it the same size each time.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the code editor of the…
Fri, 11/22/2024 - 02:34

In the code editor of the particle, you need to change the particle scale to set (=) instead of multiply and set (*=)

//old
		this.particleScale *= 2f;
		
//new
		this.particleScale = 0.5f;