Grab your pickaxe and PocketC.H.I.P. it’s time to farm. Here’s how to play Minecraft on C.H.I.P. and PocketC.H.I.P.!
We know you’ve wanted to play Minecraft on PocketC.H.I.P. since we first launch our Kickstarter. Well, now you can. Play by yourself or grab a friend and play cooperatively. Just make sure to have tons of fun.
New Update: See Step 6 to learn how to setup the Minecraft Python API and use python to program your Minecraft world!
Big thanks to xobs for writing a wrapper for the OpenGL ES drivers for Minecraft that makes this possible. Happy holidays from all of us at NTC! \(•◡•)/
Note: Make sure you have the latest version of the PocketC.H.I.P. software from the flasher.
Tap the Terminal application on your PocketC.H.I.P. home screen and type the following command. Once you’ve input all the characters, press return.
Unzip the file.
Change directories to the one with the Minecraft source code.
Run the install script, which downloads all the required packages for the game and applies a patch to scale the resolution to fit PocketC.H.I.P.’s screen.
To start Minecraft, just type the following command in the terminal and press enter.
It’s that simple!
If you have multiple C.H.I.P.s and PocketC.H.I.P.s, you’re in luck. Multiplayer works out of the box!
All you need is a local network, multiple devices, and some friends to join your game. One person needs to create the game with the Start Game button, all the other players should press the Join Game button.
Another way to start Minecraft is by changing the Pocket Home’s Help icon to launch the game. First, grab a custom Minecraft image, then change a config file.
wget -O minecraft.png http://bit.ly/2hmzMs9
Copy the Minecraft icon to the directory where Pocket Home looks for application icons.
sudo cp minecraft.png /usr/share/pocket-home/appIcons/
Modify the Pocket Home configuration file to display the Minecraft icon and launch the game.
sudo nano /usr/share/pocket-home/config.json
Look for the lines that describe the Help icon. You’ll swap these out and replace in the Minecraft info.
"name": "Get Help",
"shell": "surf /usr/share/pocketchip-localdoc/index.html"
Now that you’ve found those lines, change them to reflect the name, icon, and path you where Minecraft is located.
Save the file and reboot PocketC.H.I.P. for the new Minecraft icon to appear on your PocketC.H.I.P.!
Tired of the maps that Minecraft generates? Load a custom Minecraft Pocket Edition map instead.
Note: Only maps designed for Minecraft Pocket Edition will work with this trick.
Make sure you’ve already generated a world before you try this hack. Then download a custom map that you like and save it to the following directory.
Using the Minecraft Python API you can quickly create buildings and terrain.
From the Terminal move to your home directory.
Create a new directory called minecraft-api.
Copy the Python API from your version of Minecraft to the new directory.
cp -r ~/chipcraft-master/mcpi/api/python/mcpi ~/minecraft-api
Change into the new directory and start writing your code.
Note: Since Minecraft runs in fullscreen on PocketC.H.I.P., it’s a good idea to connect over SSH to write and run your Python code.
With Minecraft running, start your custom code by typing the following command. Replace nameofprogram with the filename of your python code.
For more information on using the Python bindings, see this post.
Now that you can play Minecraft on PocketC.H.I.P., where do you plan to play? Let us know in the comments below.