Raw Input Buffer
本模组旨在减少由 Minecraft 默认鼠标处理机制引起的输入延迟、微卡顿以及帧率下降。在使用高于 1000 Hz 轮询率的设备时,这种影响尤为明显:在移动视角时,帧率可能会下降 50-70%,具体幅度取决于轮询率。安装此模组后,你将能够以高于 1000 Hz 的轮询率运行且无任何卡顿。
我的测试使用的是最高支持 8000 Hz 轮询率的鼠标。
解决方案:
本模组拦截并替换了 Minecraft 的鼠标处理逻辑。不再依赖 GLFW,而是直接与 Windows 内核通信,并通过一个隐藏的窗口类将鼠标轮询卸载到专用的异步后台线程中。 当游戏内光标被锁定后,标准的传统鼠标数据将不再产生,从而释放 CPU 资源。
兼容性:
仅限 Windows 操作系统:本模组依赖于原生的 Windows API,在其他操作系统上会自动禁用自身。
致谢
- 模组作者:Walksy
我在大约 4-5 周前创建了此模组,但随后注意到 decce6 近期在 Ixeris 中添加了类似的概念。尽管两者的实现方式不同,但都能达到相似的效果。建议你两者都尝试一下。
Raw Input Buffer
This mod aims to reduce input lag, micro-stutters, and frame rate drops caused by Minecraft's default mouse handling. This is especially noticiable on polling rates above 1000 Hz, where frame rates can drop by 50-70% when moving the camera around, depending on the polling rate. With this mod installed you'll be able to use polling rates higher than 1000 Hz with no stutters.
My testing was done using a mouse with a polling rate of up to 8000 Hz.
Solution:
This mod intercepts and replaces Minecraft's mouse handling. Instead of relying on GLFW, the mod communicates directly with the Windows Kernal and offloads mouse polling to a dedicated, asynchronous background thread using a hidden window class. When the cursor is locked in game, standard legacy mouse data is no longer generated, freeing up CPU resources.
Compatability:
Windows OS only: This mod relies on native Windows APIs and will automatically disable itself on other operating systems.
Credits
- Mod: Walksy
I created this mod around 4-5 weeks ago but noticed a similar concept was recently added to Ixeris by decce6. While the implementations differ, both mods achieve similar results. I recommend you try them both out.
下载 Raw Input Buffer
下载 Raw Input Buffer
下载 Raw Input Buffer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Raw Input Buffer
下载 Raw Input Buffer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Raw Input Buffer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Raw Input Buffer
下载 Raw Input Buffer
下载 Raw Input Buffer
下载 Raw Input Buffer
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
评论 0
登录后参与评分
还没有评论,来抢沙发吧