Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-124170

Performance issue with particles causing lag



    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07b, Minecraft 18w07c, Minecraft 18w08a, Minecraft 18w08b, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w19a, Minecraft 18w19b, Minecraft 18w20a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1
    • Labels:
    • Environment:
      OS: Windows 10 Pro latest update

      CPU:  Intel(R) Core(TM) i5-4570 CPU @ 3.20 Ghz

      RAM: 8 GB

      GPU: GeForce GTX 1050 ti OC Edition

      Java: 1.8.0_25 64 bit
    • Confirmation Status:
    • Category:
      Particles, Performance



      Also affects my new pc:

      CPU:  Intel(R) Core(TM) i5-4570 CPU @ 3.20 Ghz

      RAM: 8 GB

      GPU: GeForce GTX 1050 ti OC Edition




      Some fixed in 18w09a, but not all e.g dragon breath and rain particles.
      I created a world and I went to the end to defeat enderdragon in survivalmode.
      After than the dragon shot a fireball the game is stopped work well, because the area_effect_cloud partice is created many lag spikes.
      After I summoned blazes and the fps decreased.
      I tried it with every particles
      Particle performances in 17w50a-18w11a:
      In small render distance( 2 chunk), max. fps set 60, played 100 particles with a command(always active repeater command_block)
      -angry_villager(100 particle) 33-35 fps
      -barrier(100 particle) 33-35 fps
      -bubble(100 paricles) 60 fps
      -cloud(100 particles) 1-5 fps
      -crit(100 particles) 49-52 fps
      -damage_indicator(100 particles) 12-26 fps
      -dragon_breath(100 particles) 55 fps
      -effect(100 particles) 29 fps
      enchant(100 particles) 60 fps
      and more... Some not laggy and some very laggy
      And very laggy some natural generated particles:
      dragon_breath,cloud,blockcrack and smoke(blaze and fire)
      So the performance with particles was way better in 1.12.2 than 1.13.2 and 1.14 snapshots.

      Code analysis

      See 1.13 Particles.png


        1. 1.13 Particles.png
          148 kB
        2. 2018-01-11_18.50.08.png
          1.06 MB
          Nagy Richárd
        3. 2018-01-11_18.50.38.png
          749 kB
          Nagy Richárd
        4. 2018-01-11_18.55.57.png
          564 kB
          Nagy Richárd
        5. 2018-01-11_18.57.54.png
          899 kB
          Nagy Richárd
        6. 2018-01-14_14.02.12.png
          178 kB
          Nagy Richárd
        7. 2018-01-14_14.06.05.png
          346 kB
          Nagy Richárd
        8. 2018-01-14_14.45.36.png
          618 kB
          Nagy Richárd
        9. 2018-01-14_14.48.32.png
          925 kB
          Nagy Richárd
        10. 2018-01-14_14.51.41.png
          145 kB
          Nagy Richárd
        11. 2018-10-25_08.30.35.png
          1.06 MB
          Steven Valenski
        12. 2019-02-06_18.41.27.png
          1.16 MB
          Nagy Richárd
        13. 2019-05-16_21.06.15.png
          2.01 MB
        14. chrome_2018-10-20_17-13-58.png
          822 kB
        15. javaw_2018-10-10_02-37-04.png
          433 kB
        16. javaw_2018-10-24_08-08-34.png
          925 kB

          Issue Links



              fry [Mojang] Georgii Gavrichev
              ricsi123456789 Nagy Richárd
              81 Vote for this issue
              35 Start watching this issue