{"id":3484,"date":"2013-04-10T08:37:20","date_gmt":"2013-04-10T08:37:20","guid":{"rendered":"http:\/\/178.62.14.192\/?p=3484"},"modified":"2013-04-10T08:37:20","modified_gmt":"2013-04-10T08:37:20","slug":"minecraft-on-the-raspberrypi-api-tutorial","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=3484","title":{"rendered":"Minecraft on the #RaspberryPi &#8211; API tutorial"},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"http:\/\/www.stuffaboutcode.com\/2013\/04\/minecraft-pi-edition-api-tutorial.html\"><img src='\/blog\/wp-content\/uploads\/2013\/04\/minecraft-helloworld1.jpg' alt=': Minecraft: Pi Edition - API Tutorial' \/><\/a><\/p>\n<p>Martin O&#8217;Hanlon has written an excellent tutorial on using Minecraft: Pi Edition&#8217;s API using Python.\u00a0<a href=\"http:\/\/www.stuffaboutcode.com\/2013\/04\/minecraft-pi-edition-api-tutorial.html\">Read the tutorial here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Martin O&#8217;Hanlon has written an excellent tutorial on using Minecraft: Pi Edition&#8217;s API using Python.\u00a0Read the tutorial here<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[21,39],"tags":[],"class_list":["post-3484","post","type-post","status-publish","format-standard","hentry","category-games","category-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Minecraft on the #RaspberryPi - API tutorial - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Minecraft on the #RaspberryPi - API tutorial - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Martin O&#8217;Hanlon has written an excellent tutorial on using Minecraft: Pi Edition&#8217;s API using Python.\u00a0Read the tutorial hereRead more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-04-10T08:37:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/04\/minecraft-helloworld1.jpg\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Minecraft on the #RaspberryPi &#8211; API tutorial\",\"datePublished\":\"2013-04-10T08:37:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\"},\"wordCount\":28,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Games\",\"Programming\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=3484#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\",\"name\":\"Minecraft on the #RaspberryPi - API tutorial - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-04-10T08:37:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=3484\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=3484#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Minecraft on the #RaspberryPi &#8211; API tutorial\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Minecraft on the #RaspberryPi - API tutorial - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=3484","og_locale":"en_US","og_type":"article","og_title":"Minecraft on the #RaspberryPi - API tutorial - Raspberry Pi Pod","og_description":"Martin O&#8217;Hanlon has written an excellent tutorial on using Minecraft: Pi Edition&#8217;s API using Python.\u00a0Read the tutorial hereRead more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=3484","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-04-10T08:37:20+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/04\/minecraft-helloworld1.jpg","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3484#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3484"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Minecraft on the #RaspberryPi &#8211; API tutorial","datePublished":"2013-04-10T08:37:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3484"},"wordCount":28,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Games","Programming"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=3484#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3484","url":"https:\/\/www.recantha.co.uk\/blog\/?p=3484","name":"Minecraft on the #RaspberryPi - API tutorial - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-04-10T08:37:20+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3484#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=3484"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=3484#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Minecraft on the #RaspberryPi &#8211; API tutorial"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-Uc","jetpack-related-posts":[{"id":4597,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4597","url_meta":{"origin":3484,"position":0},"title":"Use the Minecraft API with the full version using Raspberry Juice","author":"Michael Horne","date":"12 June 2013","format":false,"excerpt":"Martin O'Hanlon has blogged a way to use a Java package to allow you to use your Minecraft Pi Edition scripts with the full version of Minecraft. It's fairly complicated to do, but he's written a full tutorial.\u00a0Read the tutorial here","rel":"","context":"In &quot;Games&quot;","block_context":{"text":"Games","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=21"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1728,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1728","url_meta":{"origin":3484,"position":1},"title":"#RaspberryPi and Minecraft API automatically builds bridges","author":"Michael Horne","date":"2 February 2013","format":false,"excerpt":"Tutorial and code that uses the Minecraft API and Python to auto-create bridge blocks as you walk. Raspberry Pi - Minecraft - Auto Bridge.","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9629,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=9629","url_meta":{"origin":3484,"position":2},"title":"Set up the Minecraft API on the #RaspberryPi","author":"Michael Horne","date":"13 May 2014","format":false,"excerpt":"You can never have too much Minecraft hacking on a Pi. This is a universal constant :-) Seriously, though, one of the main things we've learnt from the recent Cambridge Raspberry Jam is that Minecraft is\u00a0incredibly popular. We sold out a 20-person workshop in an hour, put another one on\u2026","rel":"","context":"In &quot;Games&quot;","block_context":{"text":"Games","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/05\/minecraft_api_test.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/05\/minecraft_api_test.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/05\/minecraft_api_test.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.raspberrypi-spy.co.uk\/wp-content\/uploads\/2014\/05\/minecraft_api_test.png?resize=700%2C400 2x"},"classes":[]},{"id":6320,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=6320","url_meta":{"origin":3484,"position":3},"title":"Minecraft #RaspberryPi Edition &#8211; Java API","author":"Michael Horne","date":"7 October 2013","format":false,"excerpt":"Carl Hughes has been building on work done by Daniel Frisk and Martin O'Hanlon to do with using Java to interface with Minecraft Read all about it here","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=28"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9328,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=9328","url_meta":{"origin":3484,"position":4},"title":"Foundation focus: Programming in Minecraft with the #RaspberryPi","author":"Michael Horne","date":"15 April 2014","format":false,"excerpt":"This is the first in what I suspect will be a\u00a0long series of posts in which I feature one of the education resources on the Raspberry Pi Foundation site. This time, I wanted to point people at the introduction to programming inside Minecraft that is held in the 'Learning' section\u2026","rel":"","context":"In &quot;Education&quot;","block_context":{"text":"Education","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=17"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/d3bgui9r1m2641.cloudfront.net\/wp-content\/uploads\/2012\/12\/cropped-Pi-Edition-header1.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/d3bgui9r1m2641.cloudfront.net\/wp-content\/uploads\/2012\/12\/cropped-Pi-Edition-header1.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/d3bgui9r1m2641.cloudfront.net\/wp-content\/uploads\/2012\/12\/cropped-Pi-Edition-header1.jpg?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/d3bgui9r1m2641.cloudfront.net\/wp-content\/uploads\/2012\/12\/cropped-Pi-Edition-header1.jpg?resize=700%2C400 2x"},"classes":[]},{"id":13382,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13382","url_meta":{"origin":3484,"position":5},"title":"Map the Minecraft world around you on a Raspberry Pi Sense HAT","author":"Michael Horne","date":"15 September 2015","format":false,"excerpt":"The Raspberry Pi Foundation have published a new SenseHAT tutorial. This one\u00a0interrogates Minecraft Pi and creates a map of the surrounding blocks. This map is then sent to the SenseHAT where it is displayed on the 8x8 LED matrix. Read the tutorial here.","rel":"","context":"In &quot;Games&quot;","block_context":{"text":"Games","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=21"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/learning\/sense-hat-minecraft-map\/images\/sense-hat-minecraft-map.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3484"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3484\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}