Table of Contents

There are two “editions” of Minecraft, Java and Bedrock. The two seem to be completely isolated, that is you can not connect a Java client to a Bedrock server and vice-versa.

Java Edition

Server

Gentoo

The

snippet.bash
emerge -av games-server/minecraft-server
# Add to default rc-service if you use OpenRC
rc-service add default minecraft-server

Client

Gentoo

There are two versions available in portage, a current edition and a legacy version, these are slotted and so can be installed at the same time. Confusingly the legacy version has a higher version number than the current edition.

snippet.bash
# Install legacy
emerge -av =games-action/minecraft-launcher-1.6.93
# ...otherwise
emerge -av games-action/minecraft-launcher

Android

Bedrock Edition

Server

Linux

Download the server from archive start a tmux session and start the server under that. That way you can detach from the tmux session from your terminal and it continues running in the background and you don't need to worry about accidentally closing your terminal or logging out of the desktop environment, although obviously these are not persistent between reboots and you have to start the service on reboot (see notes below on running this automatically).

Included in the extracted files is the bedrock_server_how_to.html file which you should read, it tells you everything you need to know. Configuration options are set in the server.properties file which is heavily commented, read this if you want to change settings (a sensible thing to change is the port on which connections are made, but remember what you set it to as your client will need this number).

Officially you start the server from within this directory using…

snippet.bash
LD_LIBRARY_PATH=. ./bedrock_server 

I found I didn't need the prefix of LD_LIBRARY_PATH=. but your mileage may vary depending on your system.

TODO Notes on starting the server automatically on logging into a desktop environment session.

Client

Linux

Manual

Download the Bedrock Linux Server

snippet.bash
mkdir ~/tmp/minecraft && cd ~/tmp/minecraft
wget https://mcpelauncher.mrarm.io/appimage/Minecraft_Bedrock_Launcher.AppImage -O Minecraft_Bedrock_Launcher.AppImage

TODO Finish off

Flatpak

Flatpak is a system of packaging programs and “apps” (which are just programs) for various Linux systems. It is available across a range of GNU/Linux distributions via package managers, see links from here

snippet.bash
# Gentoo
emerge -av sys-apps/flatpak
# Arch
pacman -Syu flatpak
# OSX/Homebrew
homebrew --update && homebrew install flatpak
# Raspberry Pi OS
apt install flatpak

Once installed you must add a Flathub repository and then install the mcpelauncher (see instructions here)…

snippet.bash
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub io.mrarm.mcpelauncher

To run the client from the command line…

snippet.bash
flatpak run io.mrarm.mcpelauncher

If you reboot your system on login there should (maybe?) be an icon under your Games menu.

On running you will be asked to login to a Google Account. In order for this to work you MUST have purchased Minecraft Pocket Edition (£6.49 at time of writing) with the Google Account you are logging in with.

Android

Just purchase Minecraft Pocket Edition.

If you have an Amazon Fire device (which are still running Android just Amazon's bastardised version) then you can still purchase a version.

Links

Java Edition

Bedrock