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
Have you ever
- Wonder "Why is 200% sensitivity not twice as fast as 100%" ?
- Change your DPI and can't find optimal sens ?
- Find Minecraft's sensitivity setting is terrible ?
Then Fear Not!
Linear Sensitivity is for you!
Normally, Minecraft handles mouse sensitivity as a cubic function:
This mod change it. Instead of a cubic function, the sensitivity will be processed in a linear scale. So now, if you change your DPI from 400 up-to 1600, and your sens from 200% down-to 50%, you will feel exactly the same!
Bonus Feature:
/sens
to change your sensitivity (Max: 1, Min: 0), based on advSensitivity. It supports double value so you can make your sens 15 digits (but expect random offset in very end digits, as a limitation of converting decimal number to binary in calculation. But well, bet that you cant even tell the different at 0.0000001 offset lol =)))
Why I create this mod?
Long time ago, when I modify Timeless and Classic mod (the original on 1.18.2 one, not TAC:Z), I find zoom sensitivity is so wrong (it's faster than I expect). After 3 hours digging through the code, I found that the way Minecraft process mouse sens is so weird compared to other games. Therefore, I decide to create a mod to change it. After all, I'm a CS player who have fun when creating config files instead of actually playing the game.
Technical detail
I use a single mixin class to change a variable in updateMouse()
method.
Planning
- Custom /m_yaw and /m_pitch like CS2, bonus, /fov
Credit
- Feature Image: Mebig