When you open a dialog via a command or other methods except the show_dialog
click event action, It will make the world save. Because of this, buttons that re-open the same dialog after 1 tick will keep retriggering the world saving function which when spammed, will significantly lag the user’s FPS and the world’s TPS.
Steps to reproduce:
Make a dialog that has a button that has functionality to re-open a dialog using a command after 1 tick. You can use a
/trigger
for this.Make sure the button is near the cursor so you can effectively spam click the button.
Bring up F3+2 to see the user’s FPS and the world’s TPS
Spam the button and see the FPS and TPS become red.
Note: It’s mostly the FPS going down here.
Datapack used in the video is attached.
Attachments
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
I reproduced using a simpler method: create a throwaway world, then use a repeating command block to display a dialog every tick, then hold down the escape key. As can be seen the impact really isn’t that bad for me but the fact that there is any impact on the server isn’t ideal so it would be nice if this were fixed.