How to recreate:
Place a block with interface.
Place an item frame or glowing item frame on it.
Pick up a spear, doesn’t matter which.
Attack or charge.
Do Right-Click pointing to the item frame, before the attack or charge animation ends.
The block that is behind the item frame will show up his UI.
You can see it on the video that’s below. And see that 99,9999% of the times, the bug happens.
Environment
Unknown if the bug is conditioned by the enviroment.
Hi!
Thank you for your report!
We're already tracking this issue at MC-304551, so I will resolve and link this ticket as a Duplicate.
I suggest also to browse through the main issue for potential fixes.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki