Minecraft-Pi : the first stages

Minecraft, heavily inspired by Infiniminer, is a sandbox indie video game written in Java originally created by Marcus “Notch”W Persson. The game focuses on allowing the player to explore, interact with, and modify a dynamically generated map made of one meter sized blocks..

For more information, please click the following links..



Preparing the SD Card

The following instructions are applicable if you are running Linux. Place SD card in the computer.

Run the following command -

df -h – this gives information of the mounted devices.. You should be looking for the following output


Unmount the device -

umount mmcblk0p1

I like to format the disk, so I run the following command. To do this you need to be a superuser;

mkfs.vfat -n {name of device of your choosing} dev/mmcblk0

Two things to note, the name of the device is without the braces and the p1 is left out off the device’s name

as an example, mine is the following;

mkfs.vfat -n minecraft -I /dev/mmcblk0

This will take a few moments..

To load the Raspbian image on the SD card run the following;

dd bs=1M if=2013-09-25-wheezy-raspbian.img of=/dev/mmcblk0

This will a bit of time so you could make yourself a cuppa..

Once the image has been loaded place the SD Card in the Raspberry Pi and boot up..

Connect the Pi to the internet and run the following commands..

sudo apt-get update

sudo apt-get dist-upgrade

Loading Minecraft on the Pi

cd into your home folder

cd ~

download the minecraft package

wget https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz

decompress the tar

tar -zxvf minecraft-pi-0.1.1.tar.gz

move into the minecraft directory

cd mcpi

and to run game