m1necraft icon indicating copy to clipboard operation
m1necraft copied to clipboard

Minecraft compiled natively for  Silicon.

ABOUT

Run Minecraft natively on Apple Silicon 🙌

Installation Steps

☝️

Run Minecraft natively on Apple Silicon, easily. Optimizations to the Minecraft installation are also pre-configured to give you the best performance and stability. Everything from the launcher to the actual game is optimized well enough such that you can literally just launch and play.

Mods are supported with this, just like the original game.

Installation

To install this, open the Terminal app (hit command+space and then search for it), and then paste the following into the terminal:

curl -sSL https://raw.githubusercontent.com/raphtlw/m1necraft/main/installer/install.sh | bash

Developer instructions

Build instructions

To build m1necraft, open the project in Xcode and build.

Creating releases

In this repository, releases are automatically built and published when a new tag is created. Create a new Git tag, push it, and a new release will automatically be built.

After the new tag has been pushed, you'll also need to update the Homebrew formula. Increment the version in the tarball URL and push the changes.

Appcast generation & release hosting

The script located in scripts/update_appcast downloads all the releases, feeds them into the generate_appcast script (by Sparkle), and corrects the XML output produced by the script so that it downloads from GitHub Releases. This means I can continue to host the releases in GitHub Actions, with analytics as an added bonus, without the need for an external server or s3 object storage.

To develop for Python in this repo, you can set up a virtual environment.

python3 -m venv .venv # create the venv
source .venv/bin/activate # activate the venv
pip install -r requirements.txt # install dependencies

Attributions

The inspiration for this came from this gist. Credits to Tanmay Bakshi for doing this.

PatrikTheDev for being a legend and helping me out a ton with SwiftUI and just Swift in general.

Application icons from Maxime Nicoul.