-
Bug
-
Resolution: Invalid
-
None
-
1.21.4
-
None
-
Windows 11, Oracle OpenJDK 17.0.11
-
Unconfirmed
-
(Unassigned)
In version 1.20.1 of the ParticleEngine class, I found a potential bug. I used MCP-Reborn to analyze the Minecraft source code.
During the research, I noticed the variable MAX_PARTICLE_PER_LAYER = 16384, which, as it seemed to me, is not used in the code.
After conducting additional tests, I found out that this variable does not affect the operation of the program and just takes up space in memory. It should be used in the Tick() function in return EvictingQueue.create(here). I'm not sure if this bug is present in newer versions, but I think it's necessary to fix it.
Please consider adding a method to change the maximum number of particles in the gamerule.
(The ParticleEngine is located along this path: src\main\java\net\minecraft\client\particle)