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

Some high-speed particles lag/freeze the game

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 21w08b, 1.17.1 Pre-release 1, 1.17.1 Release Candidate 1, 1.17.1, 21w38a, 21w39a, 21w40a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 1
    • 1.18 Pre-release 2
    • None
    • Confirmed
    • Crash, Particles, Performance
    • Important

    Description

      Creating a relatively small amount of particles at a high speed completely lags out the game (in 1.16 this doesn't happen).

      How to reproduce:

      RunĀ 

      particle smoke ~ ~ ~ 0 0 0 100 20

      Which only creates 20 particles, at the speed 100.

      Observe the game freezing (only for a few seconds, a higher speed lags it out far more).

      I went through every particle available to the particle command using the above method; I got:

      Particles which do this:

      • Smoke
      • Campfire Cosy/Signal Smoke (very severe)
      • Large smoke
      • Bubble pop
      • Firework
      • Fishing
      • Item
      • Poof
      • Snowflake
      • Soul
      • Spit
      • Totem of undying

      Particles which don't do this:

      • Ash
      • Ambient Entity Effect
      • Angry villager
      • Bubble
      • Block
      • Barrier
      • Bubble / Bubble column up
      • Cloud
      • Composter
      • Crimson Spore
      • Crit
      • Current down
      • Damage indicator
      • Dolphin
      • Dragon Breath
      • Any dripping
      • Dust/colour transition
      • Effect
      • Elder guardian
      • Enchant/ed hit
      • End rod
      • Entity effect
      • Explosion / emitter
      • Falling *
      • (Small/soul fire) Flame
      • Flash
      • Glow / squid ink
      • Happy villager
      • Heart
      • Instant effect
      • Item slime/snowball (not item itself, that lags)
      • Landing *
      • Lava
      • Mycelium
      • Nautilus
      • Note
      • (Reverse) Portal
      • Rain
      • Sneeze
      • Splash
      • Spore blossom air
      • Sweep attack
      • Underwater
      • Vibration
      • Warped spore
      • White ash
      • Witch

      Attachments

        Issue Links

          Activity

            People

              xilefian [Mojang] Felix Jones
              lolad lolad
              Votes:
              9 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: