-
Bug
-
Resolution: Fixed
-
1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w08b, 21w15a, 1.19.2, 22w43a, 1.19.4 Pre-release 3
-
None
-
Confirmed
-
Networking
-
Normal
The bug
When a saddled pig rides a minecart and then the player rides the pig, a desync will happen if the minecart dies and pig is still alive. However, since 21w05a, a new method is needed. It seems to only work now if the pig your riding gets moved into an unloaded chunk while riding the dead minecart. This can either be achieved by using tnt or a tp and kill command. Here I will show a simple /tp and /kill method, but the tnt method produces a more noticeable desync than just the /tp and /kill method. I will post a video showing the tnt and showing the /tp & /kill method.
How to reproduce
- Create a world and summon a saddled pig riding a minecart:
/summon minecraft:minecart ~ ~4 ~ {Passengers:[{id:pig,Saddle:1,Invulnerability:0}]}
- Ride the pig
- Grab some command blocks.
- Enter this command to kill the minecart quickly:
/kill @e[type=minecraft:minecart,limit=1,sort=nearest]
- In another command block that will come after the /kill command enter the following command:
/tp @e[type=pig,limit=1,sort=nearest] 10000 100 10000
- Your position will be different than the your player client. To check this, run this:
/data get entity @s Pos
as well as check your f3 screen for your client coordinates
Videos
Tnt methods
Result 1: https://youtu.be/AhEzkJxQwDo
Result 2: https://youtu.be/aBG3BjK4cRo
Tp method:
Result 1: https://youtu.be/1aE4IbkSgrA
- relates to
-
MC-173404 Desync when mounting an entity while sneaking
- Resolved
-
MC-190454 Desync when a player rides a horse riding another mob, and that mob dies
- Resolved
-
MC-260632 Riding an entity that is far away causes client/server desync
- Resolved
-
MC-256561 Boat, boat with chest, bamboo raft or bamboo raft with chest instant wrong direction after dismounting
- Reopened
-
MC-212291 Client can dismount vehicles independently from the server, causing a de-sync
- Resolved