How to stop a custom particle from spawning with random sizes

Started by RyleeStatler on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to stop a custom particle from spawning with random sizes

Im modding 1.16.5 with mcreator 2024.3 with 1.16.5 generator.

I'm trying to replicate how barriers use a particle to be shown to the player. I set the scale to 2, but it still does that. I was wondering if there is way to change the code to fix this? Here's the existing code for the particle:

https://pastebin.com/YfsgXcMF

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also heres the call code if …
Thu, 11/21/2024 - 21:26

Also heres the call code

if (world instanceof ServerWorld)
				((ServerWorld) world).spawnParticle((BasicParticleType) (InvisiblelightModParticleTypes.LIGHT_15_PARTICLE.get()), (x + offset), (y + offset), (z + offset), 1, 0, 0, 0, 0);