Prefer OpenGL

Prefer OpenGL

This Fabric client mod rewrites options.txt so the renderer preference is set to OpenGL.

5 792 downloads 2 followers

Prefer OpenGL

This project includes loader-specific entrypoints for:

  • Fabric
  • Quilt
  • Forge
  • NeoForge (in development)

All variants call the same shared logic to force an OpenGL renderer preference by editing options.txt.

Shared behavior

On client startup, each loader entrypoint ensures one of these keys is set to OpenGL:

  • graphicsApiPreference:prefer_opengl
  • graphicsApi:prefer_opengl (legacy fallback)

If neither exists, it appends graphicsApiPreference:prefer_opengl.

code block

Important note!

This mod fixes crash on Amethyst Launcher (and other mobile java launchers) which does have vulkan but doesn't have some librarys. So, Minecraft switchs to Vulkan API and crashes. More ever what this mod does is it forces OpenGL as the renderer API. And if you're device supports Vulkan API please don't use this mod first try if Vulkan works or not.

Amethyst launcher

Version Minecraft Loader Download

fabric-26.2-v1.0.0

26.2, 26.2-pre-1, 26.2-pre-2, 26.2-pre-3, 26.2-pre-4, 26.2-pre-5, 26.2-pre-6, 26.2-rc-1, 26.2-rc-2, 26.2-snapshot-1, 26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6, 26.2-snapshot-7, 26.2-snapshot-8, 26.3, 26.3-pre-1, 26.3-pre-2, 26.3-pre-3, 26.3-rc-1, 26.3-rc-2, 26.3-rc-3, 26.3-snapshot-1, 26.3-snapshot-10, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5, 26.3-snapshot-6, 26.3-snapshot-7, 26.3-snapshot-8, 26.3-snapshot-9, 26w14a, 26.4-snapshot-1, 26.4-snapshot-3, 26.4-snapshot-5, 26.4-snapshot-7, 26.4-snapshot-6, 26.4-snapshot-4, 26.4-snapshot-2
fabric, quilt
Download

forge-26.2-v1.0.0

26.2, 26.2-pre-1, 26.2-pre-2, 26.2-pre-3, 26.2-pre-4, 26.2-pre-5, 26.2-pre-6, 26.2-rc-1, 26.2-rc-2, 26.2-snapshot-1, 26.2-snapshot-2, 26.2-snapshot-3, 26.2-snapshot-4, 26.2-snapshot-5, 26.2-snapshot-6, 26.2-snapshot-7, 26.2-snapshot-8, 26.3, 26.3-pre-1, 26.3-pre-2, 26.3-pre-3, 26.3-rc-1, 26.3-rc-2, 26.3-rc-3, 26.3-snapshot-1, 26.3-snapshot-10, 26.3-snapshot-2, 26.3-snapshot-3, 26.3-snapshot-4, 26.3-snapshot-5, 26.3-snapshot-6, 26.3-snapshot-7, 26.3-snapshot-8, 26.3-snapshot-9, 26w14a, 26.4-snapshot-7, 26.4-snapshot-5, 26.4-snapshot-3, 26.4-snapshot-1, 26.4-snapshot-2, 26.4-snapshot-4, 26.4-snapshot-6
forge
Download