Mojira Archive
MC-269370

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

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

Fixed

[Mod] Jiingy

2024-03-14, 05:32 PM

2024-05-15, 06:33 PM

2024-05-15, 06:33 PM

5

3

Confirmed

Normal

1206653

Expansion B

Particles, Performance

fps, mace, mace-smash, particles

24w11a - 24w19b24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.6, 24w19b

24w21a