mojira.dev
MCPE-140051

Bug of clear command and minecraft:on_interact

Spoiler to Add-on.
When I put minecraft:on_interact component to block and made it triggers event that remove interact item with clear command, but it doesn't work.
But the item is wiggled in hotbar.
(clear @p bread 0 1)
And it only works when run command on command block or chat.

I tried decrement_stack but, same. (doesn't work)

Comments 2

Please attach a pack that demonstrates the bug.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

LackedCoronet45

(Unassigned)

Unconfirmed

Windows

Windows 10 64-bit

1.17.11 Hotfix

Retrieved