Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
tweak mouse sensitivity

tweak mouse sensitivity

make a 20000 dpi or even higher mouse works fine in mc

1,248
3
Game Mechanics
Optimization
AboutChangelogVersions

1.0.0.3

Version id with suffix 'a' means it works like cs series or Apex while 'b' means it's original idea. I'll update both when new mc version release. Chose the version on your own.

1.0.0.2

make the sensitivity procedule same as counterStrike2

1.0.0.1 or below

the dpi range provided by the mouse is going higher and higher, the origin mouse sensitivity procedure is not working cool when u set dpi to value like 20000. this mod only do one simple thing: multiply the origin mouse sensitivity by itself when processing

Original Code:

Double value = that.client.options.getMouseSensitivity().getValue();
double d = value * 0.6F + 0.2F;
double e = d * d * d;
double f = e * 8.0;
i = that.cursorDeltaX * f;
j = that.cursorDeltaY * f;

Modified Code:

for versionID with suffix b

Double value = that.client.options.getMouseSensitivity().getValue();
double d = value * 0.6F + 0.2F;
double e = d * d * d * value; // Multiply e by mouseSensitivity
double f = e * 8.0;
i = that.cursorDeltaX * f;
j = that.cursorDeltaY * f;

for versionID with suffix a somehow make it finnally same as cs2 which is 0.022 * cursorDeltaX|Y

The variables i and j are ultimately added to your look direction. f is used for non-spyglass views, while e is used for spyglass views.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.1–1.20.6

Platforms

Fabric

Supported environments

Client-side

Links

Report issues View source Visit wiki

Creators

Prohect
Prohect Member

Details

Licensed CC0-1.0
Published 5 months ago
Updated 6 days ago

Modrinth is open source.

main@58dac27

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.