Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Vehicle Reeling
A tiny Minecraft mod that adds client-side functionality for reeling vehicles ridden by players with fishing rods. For example, this mod allows you to reel a boat that is being ridden by a player. Vanilla servers already support this.
A technical explaination
In vanilla Minecraft, when an entity is hooked onto a fishing rod and the rod is cast, normally the server handles accelerating the hooked entity. However, when the entity, like a boat or a minecart, is controlled by a player or if the entity itself is a player, the server doesn't want to touch it and instead the job is offloaded to the relevant player's client. However, the client code only accelerates entities that are the player and skips other entities the player is controlling. This causes vehicles (like boats and minecarts) to not get accelerated at all. As a workaround, some people have been riding pigs (controlled by a player) that themselves are in boats (controlled by the pig, i.e. the server because a pig is not a player) in order to reel the boat.
What this mod does, is simply alter the client-side check to also process reeling for entities that the player is riding.
A note about compatibility
Compatibility has not been exhaustively tested. This mod consists of only one Mixin file, so it should be relatively compatible with other mods and other Minecraft versions. This mod was developed for Minecraft 1.20.1. It will probably work with a few earlier and later versions, so it has been set to be compatible with all Minecraft versions. If a fishing rod overhaul was to come, this would mod would probably break. If any issues arise, feel free to open an issue on GitHub.