Описание
Minecraft mod to fix long-standing FPS stability issues.
1. Implement proper frame pacing when FPS target is limited (due to user setting or being inside a menu):
- Minecraft 1.21.11 and below: Allow FPS to actually reach the target instead of randomly being 5-20 FPS lower.
- Minecraft 26.1 and above: Fix dropping by 1 FPS due to using out-of-date information.
2. Get inputs on a separate thread to fix FPS dropping by 2-3x when moving the mouse (especially on high polling rate mice on Windows) due to `glfwPollInputs()`.
Comparison:
- Vanilla: https://www.youtube.com/watch?v=OW-tKVvHjY4
- Stable FPS: https://www.youtube.com/watch?v=lk8H2A76Nss
NOTE: You may experience graphical glitches when starting the game or resizing the window - this is intentional, as it would require a ton of work to fix and I want to keep the changes to a minimum to be compatible with other mods.
Compatible with [Sodium](https://modrinth.com/mod/sodium). \
For a version compatible with [Ixeris](https://modrinth.com/mod/ixeris), see [Lite FPS](https://modrinth.com/mod/lite-fps-patrolin).
Recommended settings:
- `Fullscreen: ON` (due to Minecraft using `Hardware: Legacy Flip` on Windows)
- `VSync: ON` (to not waste time rendering frames that won't be shown)
- In Vanilla: `Max Framerate: Unlimited` (due to Vanilla fps limiter being broken)
- With Stable FPS: `Max Framerate: any`
NOTE: Some versions of Minecraft have a slow renderer, so you may need to limit your fps further on those.