Open realFusionFusion opened 1 year ago
Shouldn't be an issue, you might be toggling it too fast, all it does is call the internal minecraft sneaking/sprinting function, nothing fancy
I wasn't banned anywhere, but I also experienced faster sneak speeds with sprint toggled by this mod. I think the issue is that sprinting shouldn't be possible at all while sneaking (in vanilla), but with this mod you can, and it makes you slightly faster when sneaking.
A fix could be for the mod to check if you are sneaking and if so, to stop the sprinting temporarily.
Edit: I used a mod to measure the speed and can confirm that in vanilla, you can reach sneak speeds of 1.3 blocks/sec but with this mod it's 1.68 block/sec with toggle sprint enabled.
I think the issue is that sprinting shouldn't be possible at all while sneaking (in vanilla), but with this mod you can, and it makes you slightly faster when sneaking.
I've been wanting to use this mod for a long time but I didn't because of this post I thought it makes you unfairly faster, but then today I tried it and I finally realized something. You can sprint sneak in vanilla Minecraft, it's just not that well-known. I tested it myself without the mod and used a speedometer mod as you said, you get 1.3 blocks/sec while sneaking normally, and 1.68 blocks/sec while sprint sneaking. So the mod does not allow you to go any faster than you would be able to in vanilla, since sprint sneaking is a vanilla feature.
However, one thing I did notice is that when using the mod's keybind for toggling toggle sprint, it makes you run even while standing still (you see particles on the ground as if you are running even though you're not actually moving), and a side effect of that is that you can start sprint sneaking while you're already sneaking. In vanilla Minecraft, you can only start sprint sneaking by first not sneaking and be actively sprinting and moving, and then starting to sneak while you're already sprinting (and again, actively moving). You also stop sprint sneaking and go back to normal sneaking if you hit a wall (which resets your velocity), or if you stop moving (even if it's just for a split second), which at that point if you want to sprint sneak again you'd have to stop sneaking and do the process again. And again, with this mod, you can start to sprint sneak at any time even when you're already sneaking, and it also keeps you sprint sneaking even if you stop moving and start moving again or if you hit a wall, which is not possible in vanilla Minecraft.
I got banned from MCPvP and when I got unbanned I was told that this mod was the cause of this. Is there something that can be done about this or no?![image](https://github.com/FokshaWasTaken/toggle-sneak-sprint/assets/122454997/841f7de4-8161-49fa-9ee7-f4da67e95735)