Sign inSign up

3arthqu4ke/headlessmc

By 3arthqu4ke

•Updated 1 day ago

Minecraft launcher and CLI

Image
1

10K+

3arthqu4ke/headlessmc repository overview

⁠HeadlessMc

Codacy grade GitHub All Releases Build Status GitHub Docker Image Size Github last-commit GitHub Repo stars

Warning

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.

HeadlessMc will not allow you to play without having bought Minecraft! Accounts will always be validated. Offline accounts can only be used to run the game headlessly in CI/CD pipelines.

The docker container runs /bin/bash, you can use it as a base image or run it interactively like this:
docker run -it 3arthqu4ke/headlessmc:<tag>.

This image comes with Java 8, 17 and 21 installed (Eclipse-Temurin JRE's). All you need to do is to run: hmc login then follow the instructions displayed. After that you can download the version you want to play via hmc download <version> and launch it via hmc launch <version>.

⁠About

HeadlessMc (HMC) allows you to launch Minecraft Java Edition from the command line. It can also modify the game while and before running it. This feature can be used to make the Minecraft client run in headless mode, without displaying a UI, controlled by the command line. HeadlessMc also patches the Log4J vulnerability and can be used to test the game in your CI/CD pipeline with mc-runtime-test⁠.

Tag summary

Content type

Image

Digest

sha256:02f64ca74…

Size

172.8 MB

Last updated

1 day ago

docker pull 3arthqu4ke/headlessmc