4.0.3
Compatibility
Required content
Changes
!lag 4.0.3 (beta)
UI
- The FPS HUD scale setting now scales the FPS number and the frame-time graph, not only the background box. At 100 % the layout is the same as before; turning the scale up or down grows or shrinks the text and bars together, and the box resizes when you toggle the graph or when the graph is wider than the text.
Behavior
- Adaptive render distance waits 15 seconds before raising render or simulation distance again after a drop, so a scene hovering around the target FPS no longer bounces the distance down and up every few seconds (each bounce reloads a ring of chunks and causes a hitch). Stepping down further, or stepping up after an earlier raise, still uses the short 3-second cooldown.
Fix (also affected 4.0.2)
- The section-compiler hook that skips fully occluded block models used a method redirect on the same vanilla call as Fabric API's renderer. If !lag's hook claimed that call first, Fabric API's required hook failed and the game could crash on the first in-world frame. !lag's redirect is now lower priority and optional, so Fabric API always wins and the game no longer crashes.
No gameplay changes.
Beta: 246 unit tests pass, all mixin targets are verified against Minecraft 26.3, and the mod loaded into a world headless twice on a software Vulkan renderer with Fabric API present, with no mixin apply failure or crash. There was no hands-on in-game test of this build. Please report any problems.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:9nC6qNeD:5Y8lMHGU"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9nC6qNeD:5Y8lMHGU"
}

