← all posts

Minecraft

Minecraft is brilliant, and the Pi edition doubly so, its free and the API is absolutely genius, allowing you to alter the world in real-time. I have used the api to create a load of cools things, from a real-time clock to an operational cannon.

Install

Minecraft - Install - how to install Minecraft: Pi edition on you Raspberry Pi

Minecraft, Canarymod & RaspberryJuice - using Canarymod and RaspberryJuice to run Minecraft Pi programs on the full version of Minecraft

Using the API

API Tutorial - an in-depth view into Minecraft, the concepts, the API and how to program it, great for beginners

API - The basics - an introduction into the Minecraft API, its functions and how to use it, great for those who already understand Minecraft & have some experience of programming

Python API Reference - a detailed description and reference of the api python library - it documents all the functions available and gives example of how to use the library

MinecraftStuff Extensions - I have started an extension library for the API to deliver simple functions, currently there is a drawing class for creating shapes and lines.

Minecraft Graphics Turtle - a 3d graphics turtle for minecraft, program it using command like forward, left, right, up, down, penup, pendown, etc

Other resources If you looking for more learning resources on Minecraft: Pi edition, check out:

blog.whaleygeek.co.uk/minecraft-pi-with-python/ for some amazing flashcards

arghbox.wordpress.com for really comprehensive teaching resources

My Projects Examples of what I have done with Minecraft: Pi Edition and its API

Hide and Seek - a really simple game of hide and seek for Minecraft

Auto Bridge - an absolutely brilliant utility (even if I say so myself) which automatically creates a bridge in front of you, no more falling off cliffs, no more having to swim across oceans, the auto bridge allows you to walk straight on

Massive Analogue Clock - big enough so you can walk on the arms

Planetary Gravity Simulator - a whole solar system simulated in minecraft

Snake - the classic game, Snake, built using the Minecraft API

Create massive 3D models - render obj 3d model files into Minecraft

Take a stroll around New York - Manhattan Island rendered in Minecraft

Create 3d Models - version 2 - an update to my 3d model to minecraft renderer, so it draw full polygons and has the ability to map materials in the model to blocks in minecraft

Cannon - a fully working cannon, lets blow stuff up!

Turning blocks into Bombs - an example of how to capture player block hits, when the player hits a block, it flashes for a few seconds then explodes destroying all the blocks around it

Piano - hitting certain blocks to make piano notes, ever wanted to here Twinkle Twinkle Little Star played in Minecraft

Sound effects - I got bored of Minecraft: Pi Edition not having any sound effects, so I decided to make my own! Footsteps, falling, screaming, jumping, etc

Making a Traffic Jam - a collection of programs which show how I went from creating a traffic light to simulating a traffic jam

Coding shapes - an example of how to use my MinecraftStuff api extensions to create shapes and lines

Music Music Visualiser - an old ‘graphic equaliser’ in Minecraft.

Minecraft Graphics Turtle - like drawing turtle’s you see in most languages but this ones 3d in Minecraft. Check out the 3d fractal tree’s I created using the turtle.