Minecraft Player Vehicle Desync Fix mod 2026 download
logo
minecraft mod Player Vehicle Desync Fix

Player Vehicle Desync Fix

Game Version: 1.17.1
Total Downloads: 231
Updated: Oct 14, 2021
Created: Oct 11, 2021
Download Player Vehicle Desync FixDownload Earlier Versions

Earlier Versions

Name Size Uploaded Game Version Downloads
Player Vehicle Desync Fix 0.2.2 release 29.84 KB Oct 14, 2021 1.17.1 0 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.2.2 releaseDownload
Player Vehicle Desync Fix 0.2.1 release 29.13 KB Oct 14, 2021 1.17.1 0 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.2.1 releaseDownload
Player Vehicle Desync Fix 0.2.0 release 29.21 KB Oct 13, 2021 1.17.1 0 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.2.0 releaseDownload
Player Vehicle Desync Fix 0.1.3 release 28.06 KB Oct 11, 2021 1.17.1 231 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.1.3 releaseDownload
Player Vehicle Desync Fix 0.1.2 release 28.12 KB Oct 11, 2021 1.17.1 0 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.1.2 releaseDownload
Player Vehicle Desync Fix 0.1.1 alpha 28.12 KB Oct 11, 2021 1.17.1 0 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.1.1 alphaDownload
Player Vehicle Desync Fix 0.1.0 alpha 30.24 KB Oct 11, 2021 1.17.1 0 download Player Vehicle Desync Fix Player Vehicle Desync Fix 0.1.0 alphaDownload

Description

Share this:

Invoking ServerPlayerEntity.startRiding(vehicle) on server side while that vehicle is far away or even not loaded gives weird behavior such that:

  • Player just teleporting to the vehicle for riding
  • Player can just walk around freely in client's perspective while server still thinks player is riding a vehicle. And this makes player unable to interact with others that are far away from the vehicle since they are in unreachable distance on the server side. Also pressing dismount button makes player dismount next to the vehicle which looks like teleporting to it on client's perspective.
  • If the vehicle is in the middle of teleportation in client side (teleportation on server side can be just processed immediately) and player rides to it on client side, teleportation of that vehicle effectively stops at that point and player might stuck in the middle of blocks.

And this mod solves the issue by doing two things:

  • Server keep sending riding status synchronization packet when server detects desync on player's riding status. (player riding on server side while client is not)
  • Client receiving that packet checks if the target vehicle is actually around the player before actually calling ClientPlayerEntity.startRiding(entity) in order to prevent the unwanted side effect.

Comments

Add a comment