mojira.dev
MC-105830

Particles do not get unloaded when they are not rendered/visible

I have a superflat world with no particles on it. None at all. I press F3, the particle count is absolute 0. Then when I create a repeating command block with a small particle command in it that creates 100 particles per tick, the particle count rises to about 1600 particles in the F3 menu. If I block off those particles using solid blocks, the particle count goes unchanged, even though those particles aren't actually visible. Same for when I just completely turn away from the particles, and they aren't even inside my field of view.
It might reduce lag if they would get visually unrendered when they are not visible to the user.

Comments 7

Same happens with the entity count, so I don't really think this will be changed, they unrender, but don't unload.

I think they should unload if they're not in loaded chunks

@unknown there's a difference between unloaded chunks and unrendered chunks, why keep particles loaded in unrendered chunks?

Then they should do the same for particles that they do for mobs in the F3 debug menu.
E: (entities rendered) / (entities loaded)
But the particle counter could be a bit confusing. I thought it counted rendered particles. It counts loaded particles?

Yes, only loaded, main reason: go around a corner containing a wall of torches, they should already have particles before you come around the corner.

This bug should be resolved as invalid, shouldn't it?

wasawsawdawfwegf qwef we

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.10.2, Minecraft 1.11.2

Retrieved