The bug
Double right-clicking quickly on a minecart while pressing and holding shift (press shift at the same time as the first click) leads to Minecraft thinking you are in the minecart while you are not actually in the minecart. If you move too far away from the minecart, it becomes impossible to break or place blocks, and pressing sneak causes you to be teleported back to the minecart as if you had just dismounted it.
To reproduce
Place a minecart on a rail
Enter the minecart and start sneaking at the same time
Quickly right-click / try to enter the minecart again
Walk away
Try to place a block
→ ❌ The block disappears againTry to open a chest
→ ❌ You're unable to open the chestSneak
→ ❌ You get teleported back to the minecart
Video
Linked issues
is duplicated by 10
relates to 3
Attachments
Comments 8
Confirmed for 20w21a. Placing blocks also seems to ignore your own hitbox too, similar to the early Minecraft Alpha.
[media]
I am able to reproduce this in 1.16 Prerelease 1 https://bugs.mojang.com/secure/attachment/304722/MC-173404.mp4 So seems like it is not fixed or got reintroduced.
I cannot repro this - do you have updated repro steps or are the steps in the description still valid? I tried for a good 10 minutes but could not get this to happen.
Confirmed for 20w20b