HomeJavaModsBlaze3DLinuxFix
Blaze3DLinuxFix
ModsJava

Blaze3DLinuxFix

by beckadamtheinventor · on Modrinth

Handles a NullPointerException in Minecraft 26.1 preventing it from starting on some Linux distros, such as CachyOS.

⬇ Download on Modrinth

Blaze3DLinuxFix

Handles a NullPointerException in Minecraft 26.1 preventing it from starting on some Linux distros, such as CachyOS.

Not always needed. All it does is replace setupKeyboardCallbacks in com.mojang.blaze3d.platform.InputConstants with a version that try/catches each line, ignoring NullPointerException.

Licensed MIT.

Error log for vanilla Minecraft 26.1 on CachyOS with GLFW 3.4. (same error happens on GLFW 3.5, though that isn't released yet as far as I can tell)

Thread: Render thread
Stacktrace:
	at org.lwjgl.system.Checks.check(Checks.java:188) ~[lwjgl-3.4.1.jar:build 2] {}
	at org.lwjgl.glfw.GLFW.nglfwSetPreeditCallback(GLFW.java:1911) ~[lwjgl-glfw-3.4.1.jar:build 2] {}
	at org.lwjgl.glfw.GLFW.glfwSetPreeditCallback(GLFW.java:1920) ~[lwjgl-glfw-3.4.1.jar:build 2] {}
	at TRANSFORMER/minecraft@26.1.2/com.mojang.blaze3d.platform.InputConstants.setupKeyboardCallbacks(InputConstants.java:208) ~[minecraft-client-patched-26.1.2.30-beta.jar:?]
Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more