Riptide Depth Strider Fix

This mod fixes a bug where using a Riptide trident while wearing Depth Strider boots causes extreme drag in water. With this fix, you no longer need to remove your boots when traveling with a Riptide trident.
I originally created this mod for personal use, but decided to publish it because I thought others might find it useful as well.
Please be careful when using this mod on public servers. Riptiding quickly even though you are wearing depth strider could trigger anti-cheat plugins, although I haven't tested this.
Disclaimer
A solution to this bug was suggested on the bug report by the user __null. I used their code analysis while writing this mod, and ported it to work with Minecraft 1.21.4 and above.
How to Install Riptide Depth Strider Fix (Mod)
Riptide Depth Strider Fix by Thijmer is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9 (latest release: 1.2.1, file size: 8 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Riptide Depth Strider Fix file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionThis *should* work for the full release as well when it comes out. We'll see.
Edit: Tested to work up to 26.1 rc2 as well, so this will very likely be the full release version.
Edit 2: Yay, it works with the full release!
These are the changes:
- I updated the mod to work with Minecraft 1.21.11.
- I changed the mod to use Mojang mappings, because the Yarn ones won't be updated past 1.21.11 because of Minecraft disabling obfuscation.
Enjoy!
Update: I tested it and it works without any modifications for 1.21.6, 1.21.7, 1.21.8, 1.21.9, and 1.21.10 as well.