Skip to content

Instantly share code, notes, and snippets.

@tanmayb123
Last active August 2, 2023 13:21
Show Gist options
  • Save tanmayb123/d55b16c493326945385e815453de411a to your computer and use it in GitHub Desktop.
Save tanmayb123/d55b16c493326945385e815453de411a to your computer and use it in GitHub Desktop.

Minecraft on Apple Silicon

In this gist, you can find the steps to run Minecraft 1.16.4 natively on Apple Silicon (AS), without needing Rosetta 2 translation of the dependencies (mainly LWJGL and related libraries).

While it's possible to use a launcher like MultiMC to have a prettier way to run the game on AS, it requires installing even more dependencies (like QT) which take time and are difficult to distribute. Therefore, I've put together a command line-based launcher tool using a couple shell & Python scripts.

To get up and running quickly, follow the steps below. Otherwise, for more detail, watch my YouTube video.

Download my package

To begin, download the Minecraft on Apple Silicon package I've already put together, containing some pre-compiled core dependencies like LWJGL and a convenient set of setup & launcher scripts. Unzip the file, and navigate to it in your terminal. Then follow the next steps.

Download Minecraft client & client libraries

cd libraries
sh download.sh
cd ..

Download Minecraft assets

python3 downloadassets.py

Run Minecraft!

Note: Replace email@address.com and password with your actual username & password for Minecraft, but keep them enclosed in single quotes. This data is only used to communicate with Mojang's authentication servers and is never stored. The file containing your authtoken is deleted after the game launches.

sh launch.sh 'email@address.com' 'password'

@artemisSystem
Copy link

Since the release of 1.19 and the vanilla launcher update that came with it, minecraft can now be played natively without any extra setup. Just launch minecraft with the bundled java executable (the default setting). It also works to supply it with a custom native jdk17. If you need to try something running in rosetta, supplying an x86-64 jdk17 will work for that as well.

@estyseesghosts
Copy link

estyseesghosts commented Jun 8, 2022 via email

@artemisSystem
Copy link

my guess is that it only runs native for versions that have lwjgl 3.3.0, which i think were updated to in one of the 1.19 snapshots. 1.18 and older probably still need rosetta if you don’t do any setup, though i haven’t tested it

@MidCoard
Copy link

MidCoard commented Nov 4, 2022

I have create a tool to generate natives for miencraft version lower than 1.19(including 1.13.2 1.16.5...), which is tested on Macos M1. There is also a plan for windows arm64 and linux arm64. Hope someone could help out.

@Pyrotex7
Copy link

Pyrotex7 commented Nov 5, 2022

Neat!

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