Minecraft is one of the world’s favorite gaming legends. Minecraft is available on every platform, and the Raspberry Pi is no exception.
Minecraft: Pi Edition
Minecraft A great and interesting open world game on multiple platforms. You can easily build a city, a house, even a dream life in this game. You can play Minecraft on many devices including Raspberry.
Instructions for installing Minecraft Pi on Raspberry Pi
Start the Raspberry Pi, log in, and then type the following command:
This command runs in the graphical interface. Click on the icon LXTerminal to open a terminal window. Use the following command to download the Minecraft package from the home page:
Then use the following command to extract the contents:
tar -zxvf minecraft-pi-0.1.1.tar.gz
It creates a folder and you need to extract some files from it. Open this folder by typing:
Finally, you can run the application using the command:
The Minecraft Pi window will open and it should look like this:
Click on "start the game"To start and create a world of discovery.
Minecraft runs at a fixed resolution, so may vary depending on your screen settings. You can maximize the window to its full size, run it in full screen mode. However, it can affect the mouse pointer. So please use keyboard too.
More desktop icons
Boring to type commands every time you want to play, isn't it? So why not create a desktop shortcut?
First save the image to your computer"minecraft.pngThen copy to the folder MCPI.
Right-click on the LXDE desktop, select “Create something new"after"empty file"
filename"minecraft.desktop". Click ok And the shortcut file will appear on the desktop.
Right click on the file .desktop Again, select "leaf padThis file will open in a text editor.leaf pad"
Copy the following code "leaf pad":[Desktop Entry]Name = Minecraft Pi Version
Comment = Launch Minecraft Pie Edition!
Exec=sh -c 'cd ~/mcpi && lxterminal -l -t Minecraft -e ./minecraft-pi'
terminal = false
type = application
class = application; game
use menu"file"Save file and exit"leaf pad"
The shortcut now has a nice icon and is called "Minecraft Pi Edition"
Double clicking on this icon will open Minecraft.
Here are some shortcuts to help you work faster when playing Minecraft Pi
w let's go
A Move right
to come in the background
It's easy Move right
E Show block storage
1 - 8 Select Widgets in the Quick Bar
Left mouse Destroy the block
That mouse Place the block
Space bar Jump (increase in fly mode)
conversion Stealth (decreased in fly mode)
You can use the mouse to change the viewing angle. Scroll through the articles if you want to check them out Left mouse button to select blocks. When you see the inventory, you can use the WASD key combination to remove it by pressing it to enter to select blocks.
A double tap on the spacebar toggles fly mode on or off. You can immediately exit Minecraft Pi by clicking the icon [x] in the right corner of the game window.
The Python API lets you control the Minecraft world. By default, the Python API is pre-installed on the Raspberry Pi. It's a great way to build a framework and learn Python at the same time.
Release blocks as you move
The following code will place a flower behind each of your steps:
from mcpi.minecraft import Minecraft from time import sleep mc = Minecraft.create() flower = 38 while True: x, y, z = mc.player.getPos() mc.setBlock(x, y, z, flower) sleep(0.1)
Now take a few steps forward and back. You can see the flowers in the background.