Skip to content

Instantly share code, notes, and snippets.

@TwoSlick
Forked from tanmayb123/AppleSiliconMinecraft.md
Last active November 2, 2021 00:12
Show Gist options
  • Select an option

  • Save TwoSlick/70eeaa8d1680c89c6e1691dcb791b01b to your computer and use it in GitHub Desktop.

Select an option

Save TwoSlick/70eeaa8d1680c89c6e1691dcb791b01b 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'

Potential run issue and Fix

After launching, MacOS may issue a security pop-up. If this occurs, run the following command. I needed to do this twice before the launch succeeded.

xattr -rd com.apple.quarantine ./libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment