Skip to content

Raspberry Pi Cheatsheet

Derek Graham edited this page Mar 14, 2018 · 4 revisions

Getting Started on the Pi

Raspberry Pi needs a power adapter, monitor with HDMI connection (or an adapter for VGA), keyboard and mouse.

Connect it all up and connect power last. The Pi will boot automatically and stop after a minute or so at an admin login prompt.

Type in the default user admin name (pi) and the password (raspberry). Note that the password field does not show any feedback, it doesn't move the cursor or show stars for each character like you would see on Windows.

Once logged in, if XWindows doesn't start automatically, you can type startx to boot the windowing system.

Starting Minecraft

From a terminal, type minecraft-pi or run it from the desktop menu under Games.

Here is a list of keyboard commands to move about in the world:

W => Go Forward

A => Move Left

S => Move Back

D => Move Right

E => Show Inventory

Spacebar => Jump

Double Spacebar => Fly / Fall

Esc => Pause / Game menu

Tab => Release mouse cursor

Scripting Minecraft

Leave Minecraft running in it's own window and open a text editor (or the Python's IDLE editor).

See the Minecraft API Cheatsheet for examples and details of the calls.

Write code in the editor, save it and run it from LXTerminal.

Clone this wiki locally