Bstn1802 / BoatCam

Minecraft fabric mod with some nice tweaks to the boat and player camera for way cooler drifts :D
https://www.curseforge.com/minecraft/mc-mods/boatcam
GNU General Public License v3.0
3 stars 4 forks source link

Fix weird rotations, a way to disable smoothening #4

Open AndyRusso opened 6 months ago

AndyRusso commented 6 months ago

Hello! This pull request proposes 2 changes:

In some cases, if boatPos is not reset, when entering a new boat the player will try to rotate according to the old position and also rotate the boat (for some reason). Simply resetting boatPos to null when exiting the boat fixes this.

Smoothening can be not desired by some users of the mod, for example when playing competitively smoothening can be a distraction, so I added a way to disable it by setting smoothness to 100.

Thanks for this great mod!