The Python API allows you to control the Minecraft world. You can exit Minecraft by clicking the in the top right hand corner of the game window. When viewing the inventory you can use the WASD keys to move the selection using the Enter key to select a block.ĭouble-tapping the Space bar will activate and deactivate fly-mode. The scroll wheel can be used to scroll through the items, the left mouse button being used to select a block. The mouse can be used to change your point-of-view. This isn’t the place to give an extensive guide to using Minecraft but I thought I would present some basics to get you moving around the environment. The short-cut should now have a nice icon and a title of “Minecraft Pi Edition”.ĭouble-clicking the icon will launch Minecraft. Using the “File” menu save the file and exit “Leafpad”. The file will open in the “Leafpad” text editor.Ĭopy the following code into “Leafpad” : Įxec=sh -c 'cd ~/mcpi & lxterminal -l -t Minecraft -e. Click OK and the short-cut file should appear on the desktop. Right-click on your LXDE desktop and select “Create New” followed by “Blank File” It’s a bit of a pain to open a command prompt every time you want to play but it is easy to create a short-cut icon on the desktop.įirst, save this image to your computer as “minecraft.png” and copy it to your Pi and into your mcpi folder. You can maximise the window and run full screen but this may affect your mouse pointer. Minecraft runs at a fixed resolution so your screen may look different depending on your monitor settings. The Minecraft window should open and look something like this :Ĭlick “Start Game” to dive in and generate a new world to explore. Then finally you can run the application using. This should have created a directory and extracted some files into it. Then use the following to unzip the contents : tar -zxvf minecraft-pi-0.1.1.tar.gz Use the following command to download the Minecraft package from the official site : wget Click the LXTerminal icon to open a terminal window. The latest image can be downloaded from īoot the Pi, login and then type the following command : startx I suggest starting off with a fresh installation of Raspbian on your SD card. The section “Using Minecraft” will still be useful so take a look at that. I highly recommend getting the latest image from the Official downloads page. The latest version of Raspbian already includes Minecraft so you don’t need to install it manually. Therefore it’s not as advanced or fancy as the versions you may be used to playing on other platforms. The Pi Edition is similar to earlier versions of the Pocket Edition and only offers “Creative” mode. You can build structures using the normal interface but on the Pi you’ve got the chance to control that world using scripts to create and edit blocks. This is something that particularly interested me. Using the Pi to run Minecraft opens up the possibility to interact with the 3D world using Python. I installed the free pocket edition on my Nexus 7 to try it out and as a result decided to give it a go on the Pi. Until recently I had never played Minecraft but it’s popularity meant it was something I felt I had to try.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |