How to get Minecraft Pi up ‘n’ running

In one of my older posts I told you that you could install Minecraft Pi through a web browser. It is a quick and easy way to download Minecraft Pi but there is another way.

By the end of this post you will know how to:

Install Minecraft through apt-get

Use the API to send chat messages to the game

Connect to another player using the same network as you’s game

Please note that Raspbian Jessie has Minecraft pre-installed.

Install Minecraft

open up LXTerminal and type sudo apt-get install minecraft-pi # Install Minecraft

Open Minecraft

Type in minecraft-pi to the terminal. Then click Start Game, followed by Create New and then the game will generate a world


Move with the WSAD keys and jump with space. Press SHIFT to crouch and left click to mine and right click to place block. Press E for inventory and ESC for the pause menu.

API Chat

All players on your Minecraft World can see this message. To post a message, open IDLE from the Programming category in the Menu and type:

from mcpi.minecraft import Minecraft

mc = Minecraft.create()

mc.postToChat(“Hello World of Minecraft Pi!”)

Replace Hello World of Minecraft Pi! with your message. You could do exactly the same thing with the following code:

from mcpi.minecraft import Minecraft

mc = Minecraft.create()

my_message = “Hello World of Minecraft Pi!”


Replace Hello World of Minecraft Pi! in my_message with whatever you want. Remember, you must be on a Minecraft World!

Local Network Multiplayer

Did you know that you can play multiplayer with people using the same network as you? To play a multiplayer game, all Pi’s that want to join must be on the same network as the world owner.


For the owner:

Go onto a World by clicking Start Game and then clicking on the World or Creating a New World.

For the users who want to join:

Click Join Game and then Click on StevePi and click Join Game at the bottom left of the screen.




2 thoughts on “How to get Minecraft Pi up ‘n’ running

  1. Great๐Ÿ˜บ!!!!!!!!๐Ÿถ๐Ÿ•๐Ÿฉ๐Ÿบ๐Ÿด๐ŸŽ๐Ÿญ๐Ÿ๐Ÿ€๐Ÿพ๐Ÿจ๐Ÿผ๐Ÿฐ๐Ÿ‡๐Ÿฆ๐Ÿณ๐Ÿ‹๐Ÿฌ๐Ÿš๐Ÿ๐Ÿž๐Ÿ’๐ŸŒธ๐Ÿ’ฎ๐ŸŒน๐ŸŒบ๐ŸŒป๐ŸŒผ๐ŸŒท๐ŸŒฑ๐ŸŒฒ๐ŸŒณ๐ŸŒด๐ŸŒต๐ŸŒพ๐ŸŒฟ๐Ÿ€๐Ÿ๐Ÿ‚๐Ÿƒ


Go on, you know you want to! Leave a comment

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: