CurseForge · Minecraft mod
Player Vehicle Desync Fix
Fixes desync on player.hasVehicle() between server and client.
Quick answer
Which Player Vehicle Desync Fix release should I use?
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.
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.
Install Fabric API, Mod Menu, Cloth Config API (UNUSED) first. We found matching files for this game-version and loader setup.
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.
- 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.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 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.17.1
1 loader buildCheck 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
Player Vehicle Desync Fix 0.2.2
player-vehicle-desync-fix-0.2.2.jar
14 Oct 2021
Player Vehicle Desync Fix 0.2.1
player-vehicle-desync-fix-0.2.1.jar
14 Oct 2021
Player Vehicle Desync Fix 0.2.0
player-vehicle-desync-fix-0.2.0.jar
13 Oct 2021
Player Vehicle Desync Fix 0.1.3
player-vehicle-desync-fix-0.1.3.jar
11 Oct 2021
Player Vehicle Desync Fix 0.1.2
player-vehicle-desync-fix-0.1.2.jar
11 Oct 2021
Player Vehicle Desync Fix 0.1.1
player-vehicle-desync-fix-0.1.1.jar
11 Oct 2021
Player Vehicle Desync Fix 0.1.0
player-vehicle-desync-fix-0.1.0.jar
11 Oct 2021
Looking for an older file? The official CurseForge project page is in Resources.