
legacy-lwjgl3
An ornithe mod to run old versions (<1.13) using LWJGL 3 instead of LWJGL 2 and fix/work around wayland bugs
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:
- The OrnitheMC Project: https://ornithemc.net
- Contributors to this mod, especially: Floweynt
Available Versions
How to Install legacy-lwjgl3 on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set ornithe Loader
In the panel under "Egg", select the ornithe loader and matching Minecraft version (1.12.2).
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
Minecraft Versions
1.12.2, 1.12.2-pre2, 1.12.2-pre1 (+336 more)
Server-side
✗ UnsupportedRecommended 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.
Similar Mods
Rent Modded Server
Install legacy-lwjgl3 with just one click on your server.