minecraft-pi-reborn/README.md

31 lines
654 B
Markdown
Raw Normal View History

2020-09-25 16:43:53 +00:00
# Minecraft: Pi Edition For Docker
## Dependencies
```sh
# Required For Hardware Acceleration
sudo apt install virgl-server
# Required For ARM Support
sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
```
## Tutorial
```sh
virgl_test_server &
PID="$!"
2020-09-25 16:49:07 +00:00
xhost local:root
2020-09-25 23:37:22 +00:00
sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft --network host -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi
2020-09-25 16:43:53 +00:00
kill "${PID}"
```
2020-09-25 23:37:22 +00:00
## Installation
```sh
./install.sh
```
2020-09-25 16:43:53 +00:00
## Tweaks
2020-09-25 16:49:52 +00:00
The included version of Minecraft: Pi Ediiton is slightly modified to use the touchscreen UI.