legacy-lwjgl3

legacy-lwjgl3

An ornithe mod to run old versions (<1.13) using LWJGL 3 instead of LWJGL 2 and fix/work around wayland bugs

by
15.3K Downloads
ornitheutility
Rent Server with this Mod

About this Mod

legacy-lwjgl3

A mod for Ornithe to run old versions of Minecraft with lwjgl3.

Usage

Configuration

The mod offers optional configuration options via system properties or
environment variables.

A list of currently available options is provided below.

Property Name Environment variable name Description
legacy_lwjgl3.use_sdl LEGACY_LWJGL3_USE_SDL Use SDL3 instead of GLFW for window & input handling

Unstable versions (CI)

Bleeding-Edge versions can be found in the Actions tab of the repository: https://github.com/moehreag/legacy-lwjgl3/actions.

Building

This mod can be built using ./gradlew build, jars can then be found at build/libs/.

Dev

This mod is published to AxolotlClient's maven, located at https://maven.axolotlclient.com.

repositories {
    maven("https://maven.axolotlclient.com/releases")
    //maven("https://maven.axolotlclient.com/snapshots") // for unstable versions, optional
}

dependencies {
	modImplementation("io.github.moehreag:legacy-lwjgl3:<VERSION>")
}

IME support for other mods

This mod provides IME preedit overlay functionality. If other mods provide independent text field implementations
they will not integrate with IME by default. legacy-lwjgl3 publishes a small API package which allows other mods
to integrate with IME input.

repositories {
    maven("https://maven.axolotlclient.com/releases")
    //maven("https://maven.axolotlclient.com/snapshots") // for unstable versions, optional
}

dependencies {
	modImplementation("io.github.moehreag.legacy-lwjgl3:api:<VERSION>")
}

Contributing

Contributions are welcome! Due to the project structure and its goal to support as many Minecraft versions
as possible working with the codebase is not trivial. If you are interested in contributing and need
assistance please join our Discord server

Credits

This mod is forked from the version for legacyfabric authored by Zarzelcow: https://github.com/Zarzelcow/legacy-lwjgl3.
It is based on lwjgl2 and a forge mod by gudenau: https://github.com/gudenau/MC-LWJGL3.

Additional Credits to:

Available Versions

1.2.11+b1.7.3release
MC b1.7.3ornithe
March 24, 2026
1.2.11+1.8.9release
MC 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2ornithe
March 24, 2026
1.2.10+1.8.9release
MC 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2ornithe
November 3, 2025
1.2.9+1.8.9release
MC 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2ornithe
September 6, 2025
1.2.8+1.8.9release
MC 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2ornithe
August 2, 2025

How to Install legacy-lwjgl3 on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set ornithe Loader

In the panel under "Egg", select the ornithe loader and matching Minecraft version (1.12.2).

3

Install Mod

Open the mod browser in the dashboard and search for "legacy-lwjgl3". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

ornithe

Minecraft Versions

1.12.2, 1.12.2-pre2, 1.12.2-pre1 (+336 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

legacy-lwjgl3 server crashes on startup – what to do?

Most common cause: wrong ornithe version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.12.2). You can switch loaders with one click in the panel.

Is legacy-lwjgl3 compatible with ornithe?

legacy-lwjgl3 officially supports ornithe for Minecraft 1.12.2, 1.12.2-pre2, 1.12.2-pre1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with legacy-lwjgl3 – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if legacy-lwjgl3 consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install legacy-lwjgl3 with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v2.1 only
Server-side
Unsupported

Supported Versions

1.12.21.12.2-pre21.12.2-pre11.12.11.12.1-pre117w31a1.121.12-pre71.12-pre61.12-pre5+329 more