The Raspberry Druid

Post date: Jun 24, 2013 1:45:15 PM

This is a code sample that uses the Raspbery Pi API (via Raspberry Juice) to give the Minecraft player special powers so they spawn plants in the world as they walk around.

v2 adds tree spawning. Occasionally a large broad-canopy tree will start to grow from the ground.

v3 adds flower spawning occasionally where you walk.

v4 leaves paths - at half-second intervals if the player is standing on dirt or grass the block will be replaced with saturate farmland. Over time this dries out, and eventually returns to grass.