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.
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.