Mojira Archive
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)

Incomplete

LackedCoronet45

2021-08-29, 04:20 AM

2023-01-20, 05:55 PM

2023-01-20, 05:55 PM

0

1

Unconfirmed

1.17.11 Hotfix

-