I recently got a new MacBook Pro and found myself unable to run many Minecraft modpacks running MultMC.
After playing around and googling, I ended up writing a pre-launch script that does the following to Minecraft instances before launch:
- Adding LWJGL 3.3.0 to each project (replacing the default version)
- Adding Java-OBJC bridge jar version 1.1-SNAPSHOT, which contains support for M1 Macs.
This blog goes into more and better detail as to the underlying issues: https://www.thecrosseroads.net/2021/12/minecraft-on-apple-silicon/
This script requires a copy of jq installed using homebrew (for processing json files).
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install jq
-
Git clone or otherwise download the master branch of this project to your hard drive
-
Open up MultiMC.app, go to "Settings -> Custom Commands". In "Wrapper Command Field", add wrapper script
<multic-wrapper-script-directory>/wrapper.sh <HOMEBREW_ROOT directory>
That's it. When you run an instance of Minecraft in MultiMC, this wrapper script will check if the computer is a M1 Mac, then run the approperiate fixes to the MultiMC instance one time. (There is a lock file added to the instance which can be removed if you need to run the script again. Check the instance logs for more info.)
I've had success with this script with the latest development version of MultiMC. Please feel free to improve upon this project.
Special thanks to @MultMC, @Homebrew, @LWJGL, @shannah, @yusefnapora, and @mjwells2002 for doing the heavy lifting.