When extending a piston into a large group of particles, there will be a brief loss of FPS (a lag spike).
Seps to Reproduce:
Prerequisites:
- Increase entity cramming (Increasing this makes the issue more obvious)
/gamerule maxEntityCramming 100
- Import this structure into your save (.minecraft\saves[world name]\generated\minecraft\structures)
particle_piston_lag_spike.nbt
Steps:
- Load the structure file in your world
- Open the FPS graph (F3 + 2)
- Extend any of the four pistons
→ A lag spike will occur
→ A lag spike would not occur
Screenshots/Videos:
Particles disabled vs particles enabled:
2023-11-27_21-57-56.mp4
Notes:
- This is specifically due to the particles of the blaze, and not the entity itself. Testing this with zombies, or blazes with no particles has no FPS loss:
2023-11-27_22-24-42.mp4 - This was discovered while testing
MC-158037, though that issue is different to this one.
- discovered while testing
-
MC-158037 Severe FPS lag when particles are confined by eastward-extended pistons
- Resolved