tweak mouse sensitivity 图标

tweak mouse sensitivity

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0.4b
本资源为搬运资源,原资源地址: https://modrinth.com/mod/tweak-mouse-sensitivity
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: fabric

标签: game-mechanics optimization

资源介绍

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.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Reincarnation

价格:0 墨喵币
下载量:0

查看详情
Bloxy Skies

价格:0 墨喵币
下载量:0

查看详情
SaltMons

价格:0 墨喵币
下载量:0

查看详情
Nether Portal Nerf

价格:0 墨喵币
下载量:0

查看详情