Public Repository

Last pushed: 2 years ago
Short Description
Minecraft server with RaspberryJuice mod
Full Description

raspberryjuice

Docker build of the Minecraft server + Raspberry Juice plugin (Minecraft Pi socket API)

Set to creative mode, so that the player can learn Python without being disturbed by enemies.

Build info

Dockerfile at GitHub.

Based on java:8-jre official image (Debian + OpenJDK 8's JRE):

FROM java:8-jre

Docker run

To run the server:

docker run -d -p 25565:25565 -p 4711:4711 paulchoi/raspberryjuice

Port 25565 is Minecraft server.
Port 4711 is the Minecraft Pi socket.

Interact with Minecraft using Python

To get started, do the following:

  1. Find out your Docker VM's IP. For Boot2Docker, run "boot2docker ip"
  2. Run Minecraft and add your IP as a new server.
  3. Join Multiplayer.
  4. Now you are ready to interact with Minecraft using Python!

Note: Step #3 is important, because certain Python methods require a player to be present in server (such as .playerPos())

Additional resources

There's lots of information on teaching Python programming with Minecraft here:
mcpipy.com

Docker Pull Command
Owner
paulchoi

Comments (0)