I made an advancement to detect when a player use a custom item with using_item trigger, after that, I show the player a dialog, but even if I stop pressing the right click, the advancement continues to run as if I were still using the item, meaning that the using_item trigger continues to be fulfilled even though I am not actually using it with the right click; only a dialog opened.
How to reproduce:
Install the attached data pack in a world.
Execute the following command:
/loot give @s loot bug:consumableUse the music disc you are given.
-> โ A dialog opens, but the function to send a chat message to the player when an item is used still runs while in the dialog.
Attachments
Comments 4
Run โ/loot give @a loot bug:consumableโ and just do right-click a single time with the consumable item and and you will see how the command starts to run repeatedly in a random loop. To easily exit this loop, hold down the โESCโ key, and you will notice how the bug:use function continues to run even though you are not actually pressing the right click.
The loop runs randomly, but in the chat you will see โshow dialogโ multiple times when it should only say it once. In this video, I have to press ESC multiple times to exit, even though I'm not pressing the right click.
We do not have enough resources to reproduce this issue.
Please attach a minimal setup data pack that can be used to reproduce this issue.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
๐ Bug Tracker Guidelines โ ๐ฌ Community Support โ ๐ง Mojang Support (Technical Issues) โ ๐ง Microsoft Support (Account Issues)
๐ Project Summary โ โ๏ธ Feedback and Suggestions โ ๐ Game Wiki