Particle changing it's size every time it spawns

Started by LuckyRad on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Particle changing it's size every time it spawns

i made a particle, and i set it to the right scale. however, it changes its size every time it spawns. i want it to be consistent in it's size. ive looked it up online and i cant find anything about it anywhere, whether thats mcreator or just minecraft in general. I have seen no settings for something like this in the particle settings.

 

 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found the fix, in the code…
Fri, 11/22/2024 - 02:33

I found the fix, 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;