Back to mods
Player Vehicle Desync Fix project artwork

CurseForge · Minecraft mod

Player Vehicle Desync Fix

Fixes desync on player.hasVehicle() between server and client.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Player Vehicle Desync Fix release should I use?

Updated 5 years ago
Latest stable file Player Vehicle Desync Fix 0.2.2
Game version 1.17.1
Loader Fabric

Player Vehicle Desync Fix 0.2.2 targets 1.17.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 3 required mods have matching files.

Where it goes

Is Player Vehicle Desync Fix required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Player Vehicle Desync Fix 0.2.2 need?

Player Vehicle Desync Fix 0.2.2. Change the file and its required mods may change too.

All 3 required mods have matching files

Install Fabric API, Mod Menu, Cloth Config API (UNUSED) first. We found matching files for this game-version and loader setup.

Fabric API Needed by Player Vehicle Desync Fix 0.2.2
required
Matching file found Matched file: [1.17.1] Fabric API 0.46.1+1.17
Mod Menu Needed by Player Vehicle Desync Fix 0.2.2
required
Matching file found Matched file: Mod Menu v2.0.17 for 1.17
MTQ Fix Fabric Optional for Player Vehicle Desync Fix 0.2.2
optional
Matching file found Matched file: MTQ Fix 0.2.2
Cloth Config API (UNUSED) Needed by Player Vehicle Desync Fix 0.2.2
required
Matching file found Matched file: [Fabric 1.17(.1)] v5.3.58

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Player Vehicle Desync Fix without breaking your instance.

Built for Player Vehicle Desync Fix 0.2.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Player Vehicle Desync Fix 0.2.2. It targets 1.17.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API, Mod Menu, Cloth Config API (UNUSED) first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Player Vehicle Desync Fix 0.2.2. It opens that exact file at the source.

About this project

What does Player Vehicle Desync Fix add?

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.

Project description from CurseForge.

Pick your setup

Player Vehicle Desync Fix by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Player Vehicle Desync Fix versions and loaders

7 of 7 releases match

Looking for an older file? The official CurseForge project page is in Resources.