The question in the title mostly says it all. Is it possible to download a custom build of LWJGL here, then edit a Minecraft installation in the launcher to accept some extra JVM arguments which tell it to use that LWJGL version instead? Has anyone done anything like this or know where to find instructions/documentation on how to do so? I am trying to get Minecraft to run natively through the official launcher (there are some bugs with optifine on MultiMC) for MacOS ARM64 (M1), but it seems evident from the Minecraft log files that Minecraft is using LWJGL 3.2.1. Builds for ARM on Mac only exist for 3.3.0, so using this newer build in combination with an ARM JDK will be necessary. I am not sure how Minecraft decides which LWJGL build/version to use. Is it possible to change it? It's clear how one can change which Java installation Minecraft uses, so I am wondering if something analogous exists for LWJGL as well.
The question in the title mostly says it all. Is it possible to download a custom build of LWJGL here, then edit a Minecraft installation in the launcher to accept some extra JVM arguments which tell it to use that LWJGL version instead? Has anyone done anything like this or know where to find instructions/documentation on how to do so? I am trying to get Minecraft to run natively through the official launcher (there are some bugs with optifine on MultiMC) for MacOS ARM64 (M1), but it seems evident from the Minecraft log files that Minecraft is using LWJGL 3.2.1. Builds for ARM on Mac only exist for 3.3.0, so using this newer build in combination with an ARM JDK will be necessary. I am not sure how Minecraft decides which LWJGL build/version to use. Is it possible to change it? It's clear how one can change which Java installation Minecraft uses, so I am wondering if something analogous exists for LWJGL as well.
Changing which version it uses isn't enough, you would need to replace all of the packages it uses, some of which may not have an m1 version. You're better off getting an x86-64 PC or waiting until someone with more tech knowledge finds a way to make it work (someone made a Java launcher for Android [POJAV] so I have faith it will happen)
Changing which version it uses isn't enough, you would need to replace all of the packages it uses, some of which may not have an m1 version.
Replace all the packages what uses? LWJGL or Minecraft as a whole? LWJGL supports arm64, so I would assume that LWJGL would not ship builds unless all of their dependencies were taken care of. As for Minecraft as a whole, the reason why I think in some way adjusting LWJL could possibly do the trick is because this is the main thing that needs to be changed in order to get it to work with the MultiMC launcher: https://infotoast.org/site/index.php/2021/06/19/how-to-optimize-minecraft-1-17-for-m1/. (The other thing that needs to be done is to get an arm64 JDK- this is easy.) The reason why the MultiMC solution is not completely ideal is because as of a few optifine versions ago, optifine stopped working with MultiMC and the optifine devs have seemed content with living with this bug unfixed ever since. i.e. you can have Minecraft run natively on M1 for 1.18 or you can have it run 1.18 non-natively with optifine, but you can't have it run natively and run optifine at the same time, which is very frustrating.
Replace all the packages what uses? LWJGL or Minecraft as a whole? LWJGL supports arm64, so I would assume that LWJGL would not ship builds unless all of their dependencies were taken care of. As for Minecraft as a whole, the reason why I think in some way adjusting LWJL could possibly do the trick is because this is the main thing that needs to be changed in order to get it to work with the MultiMC launcher: https://infotoast.org/site/index.php/2021/06/19/how-to-optimize-minecraft-1-17-for-m1/. (The other thing that needs to be done is to get an arm64 JDK- this is easy.) The reason why the MultiMC solution is not completely ideal is because as of a few optifine versions ago, optifine stopped working with MultiMC and the optifine devs have seemed content with living with this bug unfixed ever since. i.e. you can have Minecraft run natively on M1 for 1.18 or you can have it run 1.18 non-natively with optifine, but you can't have it run natively and run optifine at the same time, which is very frustrating.
LWGL 3 is not a single package - it's a core package combined with several (and I mean SEVERAL) subpackages, some of which are only available for certain platforms. You would need to obtain the sub-packages required to run Minecraft - not sure which those are, I know the GLFW, OpenGL, and OpenAL packages would be needed for sure.
Hi,
The question in the title mostly says it all. Is it possible to download a custom build of LWJGL here, then edit a Minecraft installation in the launcher to accept some extra JVM arguments which tell it to use that LWJGL version instead? Has anyone done anything like this or know where to find instructions/documentation on how to do so? I am trying to get Minecraft to run natively through the official launcher (there are some bugs with optifine on MultiMC) for MacOS ARM64 (M1), but it seems evident from the Minecraft log files that Minecraft is using LWJGL 3.2.1. Builds for ARM on Mac only exist for 3.3.0, so using this newer build in combination with an ARM JDK will be necessary. I am not sure how Minecraft decides which LWJGL build/version to use. Is it possible to change it? It's clear how one can change which Java installation Minecraft uses, so I am wondering if something analogous exists for LWJGL as well.
Changing which version it uses isn't enough, you would need to replace all of the packages it uses, some of which may not have an m1 version. You're better off getting an x86-64 PC or waiting until someone with more tech knowledge finds a way to make it work (someone made a Java launcher for Android [POJAV] so I have faith it will happen)
Creator of Metroid Cubed 3, a Metroid-themed mod! Become a donator today!
Replace all the packages what uses? LWJGL or Minecraft as a whole? LWJGL supports arm64, so I would assume that LWJGL would not ship builds unless all of their dependencies were taken care of. As for Minecraft as a whole, the reason why I think in some way adjusting LWJL could possibly do the trick is because this is the main thing that needs to be changed in order to get it to work with the MultiMC launcher: https://infotoast.org/site/index.php/2021/06/19/how-to-optimize-minecraft-1-17-for-m1/. (The other thing that needs to be done is to get an arm64 JDK- this is easy.) The reason why the MultiMC solution is not completely ideal is because as of a few optifine versions ago, optifine stopped working with MultiMC and the optifine devs have seemed content with living with this bug unfixed ever since. i.e. you can have Minecraft run natively on M1 for 1.18 or you can have it run 1.18 non-natively with optifine, but you can't have it run natively and run optifine at the same time, which is very frustrating.
LWGL 3 is not a single package - it's a core package combined with several (and I mean SEVERAL) subpackages, some of which are only available for certain platforms. You would need to obtain the sub-packages required to run Minecraft - not sure which those are, I know the GLFW, OpenGL, and OpenAL packages would be needed for sure.
Creator of Metroid Cubed 3, a Metroid-themed mod! Become a donator today!