Skip to content

Instantly share code, notes, and snippets.

@peterix
Created October 11, 2014 20:22
Show Gist options
  • Select an option

  • Save peterix/8511349227490b20b711 to your computer and use it in GitHub Desktop.

Select an option

Save peterix/8511349227490b20b711 to your computer and use it in GitHub Desktop.
{
"fileId": "org.lwjgl.override",
"name": "MY LWJGL",
"version": "1.2.3",
"+libraries": [
{
"name": "net.java.jinput:jinput:2.0.5"
},
{
"name": "net.java.jinput:jinput-platform:2.0.5",
"natives": {
"linux": "natives-linux",
"windows": "natives-windows",
"osx": "natives-osx"
},
"extract": {
"exclude": [
"META-INF/"
]
}
},
{
"name": "net.java.jutils:jutils:1.0.0",
"MMC-hint": "local"
},
{
"name": "org.lwjgl.lwjgl:lwjgl:1.2.3",
"MMC-hint": "local"
},
{
"name": "org.lwjgl.lwjgl:lwjgl_util:1.2.3",
"MMC-hint": "local"
},
{
"name": "org.lwjgl.lwjgl:lwjgl-platform:1.2.3",
"MMC-hint": "local",
"natives": {
"linux": "natives-linux",
"windows": "natives-windows",
"osx": "natives-osx"
},
"extract": {
"exclude": [
"META-INF/"
]
}
}
]
}
@peterix
Copy link
Author

peterix commented Jan 14, 2015

The file should be saved as patches/org.lwjgl.override.json into the instance.

Replace '1.2.3' with whatever version number you need.

Libraries should be placed in the right places - look at how the Mojang LWJGL is packaged and stored in the libraries folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment