Chapter 13

Combine Minecraft and Python

Minecraft is the world’s most popular block mining game. Python is one of the world’s most popular computer languages. How could they not go together?

image

Get Started with Minecraft

You can find the Pi edition of Minecraft in the Games heading of the main menu, as shown in Figure 13-1.

To use Minecraft:

  1. Launch the desktop with startx if it isn’t already running.
  2. Click the Menu button and choose Games and Minecraft Pi.

    As Figure 13-1 shows, Minecraft launches in a small window and asks you to start a new game or join a game.

  3. Click Start Game, select world, and click Create New.

    Minecraft shows a Generating world window as it makes a new world. This takes a while.

warning The Pi edition of Minecraft is very simple. It doesn’t have most of the features of the full version, which include hell areas, dangerous chickens, witches, ocelots, slime, and flying pigs. For more on Minecraft’s features, see http://minecraft.net.

Explore the World

The Minecraft world is made of blocks arranged in a 3D grid. Figure 13-2 is your first view of this new world.

Drag the mouse to turn so that you can see different parts of the world. To move, ...

Get Raspberry Pi For Kids For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.