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.

11 comments:

  1. i know its probbley realy hard buthow would you get mobs they dont have to do anything just like a chicken walkng around or somthing like that

    ReplyDelete
    Replies
    1. Hi I haven't tested it out, but if you have minecraft pocket edition the file types for the worlds are the same kinds of files, so you can replace the raspberry pi entities with the pocket edition entities. I think this will work because it works with chunks which controlls the landscape.

      Delete
    2. You probably use a MCPE world but my Minecraft Pi crashes every time I try

      Delete
  2. Dude. gpioRAP + Minecraft PI edition = Toggle gpio's whilst in the game. Create your own logic blocks turn on Gpios by blowing stuff up in minecraft. I know you can make it happin Captn. please post if you do.

    ReplyDelete
  3. I really want to actually make my own mob. I know this is probably really advanced but if I based it off an already existing animal like a pig could you point me in the right direction for how to do this?

    ReplyDelete
    Replies
    1. I would start with making a plugin for bukkit, its a minecraft server, the learning curve is much lower and it will teach you about how minecraft is structured and java. See http://wiki.bukkit.org/Plugin_Tutorial. Other than that google a tutorial have a go!

      Delete
  4. Martin, I've made WorldEdit for Minecraft Pi! It uses a GUI with buttons and stuff! Please reply!! -- I also made a CCTV and Chat plugin with a GUI too!

    ReplyDelete
    Replies
    1. Hi Samuel,

      Thanks for all the information about your programs, they sound great. Unfortunately I havent had time to look into them, I am absolutely stacked on a project, hence no posts in a while. I promise when I have more time, Ill look at it, like I said it sounds great.

      Mart

      Delete
  5. hey martin guess what i found... minecraft pi edition SURVIVAL MODE!
    u can open chests and mine ores and xplode TNT. Oly dillema is u can only hurt mobs w tnt. You can make armor, cook food, and if u have a pocket edition world your using it w, then when it turns night u can sleep in a bed! Use a nether core reactor for once. It is boss. ill look for the link.

    ReplyDelete
  6. Minecraft-Pi Survival Mode | Jeff's Raspberry Pi Reference
    here it is, just dont do the commands and scroll to the bottom and just download it directly, and paste it into your mcpi folder. Done!

    ReplyDelete
  7. Very impressive stuff. I've just started getting into this and it's going to be interesting to see what can be achieved. Thanks for you efforts in posting.

    ReplyDelete