After a lot of work, Martin O'Hanlon released his book on programming with the Minecraft Pi API. The book is for people who have never used the API before, and is actually pretty long with tons of pictures. You can get it in paperback, too!
He introduces a lot of concepts, including how to use the event when a block is right clicked with an iron sword, detecting when the player is in a certain region, and using time pauses to make minigames a bit more fun. He also tells people how to get setup on Mac, Windows, and Raspberry Pi, too. Not only that, but he has a section for the Raspberry Pi users that teaches them how to connect the LED lights and the Minecraft Pi world together in a program.
At the very end of the book, he has a step by step guide on how to create an obstacle course, called "Crafty Crossing", to get to a block the player needs to collect, and back. It uses almost all of the methods he taught in the rest of the book.
You can buy the book for $12.50 Kindle edition, or $17.49 for the printed book: