The first class I have included in minecraftstuff is MinecraftDrawing which allows you to easily create 2d and 3d lines and shapes in minecraft. I will add other 'stuff' to the extension over time.
To use the minecraftstuff extension you just need to put the minecraftstuff.py python module in the same directory that the minecraft api is in. If you are using my programs or tutorials I tend to put the api in a directory called minecraft in the programs directory, so ~/my-minecraft-program/minecraft, but it doesn't matter you just need to put the minecraftstuff.py file in the same directory as the minecraft.py, block.py, connection.py, etc files.
You can download the extension directly to your raspberry pi from my github, so change directory to where your minecraft api is stored and use wget https://raw.github.com/martinohanlon/minecraft-stuff/master/minecraftstuff.py to download it:
Once you have download the extension, its pretty easy to use:
You need to import the minecraftstuff module to your code:
Once you have connected to minecraft you can create the MinecraftDrawing object by passing in the minecraft connection:
The minecraft drawing class supports the following functions:
The code for the demo in the video is below, which may also help you in using MinecraftDrawing:
The code for minecraftstuff is on github at https://github.com/martinohanlon/minecraft-stuff.