0

June 13, 2014 AT 9:00 am

How to Build A Castle In Minecraft With Python @Raspberry_Pi #piday #raspberrypi

Minecraft Castle Banner 940x198

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.

Setup

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 :

How To Setup Minecraft On The Raspberry Pi

How to Setup the Minecraft Python API on a Raspberry Pi

Castle0 1024x640

Read more.


998Each 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!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — Undercover in an iPhone Factory (video)

Wearables — Go with silicone

Electronics — Shift away from basic arithmetic

Biohacking — Recording and Biohacking a 100 Mile Run

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.