Перейти к содержимому
Mineforgian

Linear Sensitivity

Make Sensitivity linear.

Загрузки
2K
Подписчики
20
Обновлён
20 мая 2025 г.
Лицензия
MIT

Опубликован 23 февраля 2025 г.

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:
Why? Minecraft?

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 Float value so you can make your sens 8 digits, like: 0.0000001 (Why you need so many '0'?)

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

Ченджлог

0.3.1Релиз1.21.9, 1.21.10, 1.21.11 · 20 мая 2025 г.

(Only for 1.21.X) Lower version requirement: 1.21.11 -> 1.21

10 Apr, 2026: I confirmed the mod still works fine in all 1.21 versions. So a little change on Modrinth, allow player with higher version can download using 3rd party launcher (like Prism).

0.3.1Релиз1.20.4, 1.20.5, 1.20.6 · 19 апреля 2025 г.

(Only for 1.20.X) Lower Java request: 21 -> 17 to prevent crash.

0.3Релиз1.20.4, 1.20.5, 1.20.6 · 3 марта 2025 г.
  • Change Double to Float
  • Forge 1.20
0.3Релиз1.21.3, 1.21.4, 1.21.5 · 3 марта 2025 г.
  • Change Double to Float
  • Forge 1.20
0.3Релиз1.20.4, 1.20.5, 1.20.6 · 3 марта 2025 г.
  • Change Double to Float
  • Forge 1.20
0.2Релиз1.20.4, 1.20.5, 1.20.6 · 25 февраля 2025 г.

Backport to 1.20.1 (I havent test it on other 1.20 release, but it should work as intend) if not, report issue on github.

0.2Релиз1.21.4 · 23 февраля 2025 г.

Second Upload:

  • Fix spyglass sens.
  • Lower normal sens scale.
0.1Релиз1.21.4 · 23 февраля 2025 г.

First Release

Комментарии

Загружаем…