HomeJavaModsLinear Sensitivity
Linear Sensitivity
ModsJava

Linear Sensitivity

by Itsuka_Hiro · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.11 · Fabric⬇ Download for 1.20–1.20.6 · Fabric⬇ Download for 1.20.1–1.20.6 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Linear Sensitivity — screenshot 1

Have you ever

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

Credit

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more