promotional bannermobile promotional banner

PreferOpenGL

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

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

PreferOpenGL Team

profile avatar
  • 1
    Followers
  • 6
    Projects
  • 4.6K
    Downloads

More from MaxJubayerYTView all

  • Flashback Redroided project image

    Flashback Redroided

    Android compatibility patches for Flashback

    • 1
    • October 20, 2026
  • AFA - Axiom For Android project image

    AFA - Axiom For Android

    AFA is a client-side Fabric compatibility mod that adapts the Axiom editor for Android launchers. It keeps Axiom’s building workflow intact while fixing the platform issues that normally prevent it from working on mobile.

    • 797
    • October 15, 2026
  • FBA - Flashback for Android project image

    FBA - Flashback for Android

    Unofficial Android compatibility addon for Flashback. Requires the Flashback mod (download it separately).

    • 9
    • October 12, 2026
  • Aligner project image

    Aligner

    Fixes the weird graphical glitch that causes lines to appear when hovering the crosshair above a block in 1.21.11+ with MojoLauncher and LTW

    • 2.4K
    • June 30, 2026
  • Flashback Redroided project image

    Flashback Redroided

    Android compatibility patches for Flashback

    • 1
    • October 20, 2026
  • AFA - Axiom For Android project image

    AFA - Axiom For Android

    AFA is a client-side Fabric compatibility mod that adapts the Axiom editor for Android launchers. It keeps Axiom’s building workflow intact while fixing the platform issues that normally prevent it from working on mobile.

    • 797
    • October 15, 2026
  • FBA - Flashback for Android project image

    FBA - Flashback for Android

    Unofficial Android compatibility addon for Flashback. Requires the Flashback mod (download it separately).

    • 9
    • October 12, 2026
  • Aligner project image

    Aligner

    Fixes the weird graphical glitch that causes lines to appear when hovering the crosshair above a block in 1.21.11+ with MojoLauncher and LTW

    • 2.4K
    • June 30, 2026