How to Build A Castle In Minecraft With Python @Raspberry_Pi #piday #raspberrypi
Matt over at Raspberry Pi Spy posted a handy tutorial on how to build a castle in Minecraft using Python:
Once I had Minecraft setup on my Pi and had figured out how to use the Python API I wanted a little project to try it out. So I decided to create a script that would automatically create a castle with a moat and a couple of perimeter walls.
This seemed like a good choice as the walls and the keep are really the same construct just a different width and height. The keep would just need a bit of extra work to add floors, windows and a door.
To use the script below you will need to have Minecraft and the Python API setup. If you haven’t you may want to take a look at the following articles :
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!