getBlocks(x1,y1,z1,x2,y2,z2) has been implemented getDirection, getRotation, getPitch functions – get the 'direction' players and entities are facing getPlayerId(playerName) – get the entity of a player by name pollChatPosts() – get events back for posts to the chat

– hitclick: RIGHT – determine whether hit events are triggered by LEFT clicks, RIGHT clicks or BOTH

^ to use the extra features an modded version of the java and python libraries that were originally supplied by Mojang with the Pi is required, https:github.com/zhuowei/RaspberryJuice/tree/master/src/main/resources/mcpi. You only need the modded libraries to use the extra features, the original libraries still work, you just wont be able to use the extra features

Example:

This Python script builds a rainbow near the spawn. Place this example in the api/python directory of the Minecraft Pi prerelease, start the server on the same computer, and run python name.py to run, replacing name.py with the actual name of the script.