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:
Place down an armor stand
Hold a mace
Teleport the player 10 blocks into the air
/tp @p ~ ~10 ~
Land a 'heavy' attack
→ Observe resultsRepeat 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:
[media]Attachments
Comments

Effect is even more noticable now, with additional particles
[media]
Would it be possible to take the logarithm of the height and use that to generate the particles instead of it scaling linearly?