VehicleFix
by Cammie
VehicleFix changes how vehicles stop at blocks, so a rider's height is checked before a boat, horse or minecart moves past a wall.
What it does
Vehicles in the game, such as boats, horses and minecarts, have always decided whether they can pass a block without considering the hitbox of the player or entity riding them. As a result a rider could end up suffocating inside a block that should have stopped the vehicle earlier. The mod adds the rider's height to the collision check for vehicles, so the vehicle halts in time. The rider's width is not included, because doing so would require a much larger set of changes.
The fix also applies to vehicles added by other mods, since it works on the general vehicle collision logic rather than on a fixed list. It is published for Fabric and Quilt across 7 release versions, 1.19 – 1.21.4, and the latest file is 5.1.1+Fabric for 1.21.4. Fabric API is required. Installation covers the server and each player's game. The license is custom and the code is not open source, though public links to the source code and issue tracker exist.
Key features
Rider height in collision
Vehicle collision now accounts for the height of the rider before the vehicle moves past a block.
Fewer suffocation cases
Players and entities riding a vehicle are stopped before they can be pushed into a block that the game should not have allowed them to enter.
Modded vehicle support
The correction applies to vehicles added by other mods as well as the vanilla ones.
Width left unchanged
Only height is checked, so the rider's width does not affect whether a vehicle can pass a gap.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Boat travel on rivers
A boat carrying a player stops at a low overhang instead of pushing the rider into the block above.
Horse riding through caves
A horse with a rider can no longer carry its passenger into a low ceiling and suffocate them.
Modded vehicle packs
Servers running several vehicle mods get the same height check on every vehicle type.
Who it’s for: The mod suits players who ride vehicles often and server owners who want fewer suffocation deaths caused by vehicle movement. Both the server and each player need it, since the environment is client and server.
Questions
Does VehicleFix need Fabric API?
Does the server need VehicleFix as well as players?
Which versions does VehicleFix support?
In the catalog
VehicleFix is one of 7,555 Cursed mods on ModsFinder, and one of 4,235 Cursed mods for Fabric. 17,979 mods support Minecraft 1.21.4.
More from Cammie
Similar mods
What the author says
VehicleFix fixes a bug/issue with entities that you can ride that has existed since rideable entities were first introduced. These entities are known as "vehicles" internally, hence the name. The bug in question is that they don't take into account the rider's own hitbox when deciding if they can go past a block…
Official listing
- Modrinth page
- modrinth.com/mod/vehiclefix
- Owner
- Cammie
- Published
- 2022-07-02
- Updated on Modrinth
- 2025-02-25
- Facts verified
- 2026-10-15
