Sodium FPS Step Fix

Lets you set Sodium's FPS limit to any exact value instead of being locked to steps of 10
Back to Files

sodium-fps-step-fix-neoforge-1.0.2-26.2.jar

File namesodium-fps-step-fix-neoforge-1.0.2-26.2.jar
Uploader
AlCapone11AlCapone11
Uploaded
Nov 18, 2026
Downloads
8
Size
14.3 KB
Mod Loaders
NeoForge
File ID
9691476
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:sodium-fps-step-fix-1609445:9691476"

Learn more about Curse Maven

What's new

Fixed

  • Fixed a startup crash (InvalidInjectionException) when the mod is used together with newer Sodium builds. The old mixin was anchored to SodiumConfigBuilder#buildGeneralPage; in Sodium 0.9.3-beta.1 for 26.3 that method gained a VanillaOptions parameter and no longer calls setRange(10, 260, 10), so the mixin selector no longer resolved and, with defaultRequire: 1, the game failed to start.
  • The Framerate Limit slider now keeps its 1 FPS step on every supported Sodium build, including builds that derive the framerate range from Minecraft's OptionInstance instead of declaring (10, 260, 10).

Changed

  • Reworked how the slider step is applied: SodiumConfigBuilderMixin was replaced by SodiumRangeMixin, which injects into Range.step() (public Sodium API) and returns 1 for the 10–260 range used by the Framerate Limit option. The fix no longer depends on Sodium internal method signatures, so Sodium updates within the same Minecraft version are much less likely to break the mod.
  • Other options are untouched: the range guard only applies to min == 10 && max == 260.
  • OptionsMixin (integer FPS persistence in options.txt) and MinecraftMixin (precise frame limiter) are unchanged; their injection targets were re-verified on current Minecraft and NeoForge-patched builds.
  • Bumped to 1.0.2 for the 26.2 and 26.3 branches. Other Minecraft branches stay on 1.0.1.

Compatibility

  • 26.3 (Fabric and NeoForge): Sodium 0.9.2, 0.9.3-alpha.1, 0.9.3-beta.1 and 0.9.3-beta.5.
  • 26.2 (Fabric and NeoForge): Sodium 0.9.1 and 0.9.2.

This mod has no related projects