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

Sharp lag spike caused by incorrect upper limit on particles created by mace smash attack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1
    • Confirmed
    • Particles, Performance
    • Normal
    • 1206653
    • Expansion B

      There is no obvious upper limit to the particles created by the mace, leading to a decrease in FPS when finishing the attack from high distances. Related very closely to MC-270216

      Steps to Reproduce:

      1. Place down an armor stand
      2. Hold a mace
      3. Teleport the player 10 blocks into the air
        /tp @p ~ ~10 ~
        
      4. Land a 'heavy' attack
        → Observe results
      5. Repeat steps 3 and 4, this time increasing the height to 200 blocks up
        /tp @p ~ ~200 ~
        

        → Observe results

      Expected & Observed Results:

      - There will be a heavy amount of particles creating, leading to a large FPS decrease upon landing a heavy attack.
      - The particles would have an upper limit to avoid FPS problems when scaling the attack with height.

      Screenshots/Videos:

      MaceParticles.mp4

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: