mojira.dev
MC-173404

Desync when mounting an entity while sneaking

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

  1. Place a minecart on a rail

  2. Enter the minecart and start sneaking at the same time

  3. Quickly right-click / try to enter the minecart again

  4. Walk away

  5. Try to place a block
    → ❌ The block disappears again

  6. Try to open a chest
    → ❌ You're unable to open the chest

  7. Sneak
    → ❌ You get teleported back to the minecart

Video

https://www.youtube.com/watch?v=RYnnF3RXxRk

Linked issues

MC-175999 Repeatedly mounting a strider, pig, llama and traders llama while sneaking causes odd behavior Resolved MC-176092 After dismounting a strider, you can't get on and thrown items are thrown as if you are on the strider. Resolved MC-176165 If you try to remove the saddle of a Strider with shift button (sneaking mode) you will break the world. Resolved MC-176237 Spamming Mount Causes Player to Teleport Resolved MC-176462 Glitching Strider riding Resolved

Attachments

Comments 8

Confirmed for 20w20b

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.

Also affects 1.16 Prerelease 2

Please reopen.

Can confirm not fixed in 1.16 Pre-release 2.

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.

I can reproduce this exactly like in the oder snapshots.
This is how I reproduce this:

  1. Look at a minecart.

  2. Press shift and double right click at the same time.

  3. Then I throw a snowball to find out whether it worked.
    And then the snowball spawns above the minecart.

N H

coschevi

Confirmed

Very Important

Networking

20w09a, 20w11a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w19a, 1.16 Pre-release 2

20w22a, 1.16 Pre-release 3

Retrieved