{"id":1079,"date":"2013-08-24T13:47:01","date_gmt":"2013-08-24T13:47:01","guid":{"rendered":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=1079"},"modified":"2013-08-24T15:41:30","modified_gmt":"2013-08-24T15:41:30","slug":"simple-minecraft-programming-using-scriptcraftjs","status":"publish","type":"post","link":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/simple-minecraft-programming-using-scriptcraftjs\/","title":{"rendered":"Simple Minecraft Programming Using ScriptCraftJS"},"content":{"rendered":"\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=http%3A%2F%2Finspiredtoeducate.net%2Finspiredtoeducate%2Fsimple-minecraft-programming-using-scriptcraftjs%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n<div id=\"attachment_1080\" style=\"width: 510px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-content\/uploads\/2013\/08\/minecraft_playtime__8_24_2013.jpg\"><img aria-describedby=\"caption-attachment-1080\" loading=\"lazy\" class=\"size-full wp-image-1080\" title=\"minecraft_playtime__8_24_2013\" src=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-content\/uploads\/2013\/08\/minecraft_playtime__8_24_2013.jpg\" alt=\"\" width=\"500\" height=\"281\" srcset=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-content\/uploads\/2013\/08\/minecraft_playtime__8_24_2013.jpg 500w, http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-content\/uploads\/2013\/08\/minecraft_playtime__8_24_2013-300x168.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-1080\" class=\"wp-caption-text\">Minecraft castle built by me and my son.<\/p><\/div>\n<p dir=\"ltr\">As a fan of Minecraft, I have enjoyed seeing it used for <a href=\"http:\/\/www.youtube.com\/watch?v=EErpIGQaw3M\" target=\"_blank\">fun and playful learning<\/a>. \u00a0In this post, I would like to introduce a technology for programming Minecraft and making small games. \u00a0\u00a0ScriptCraft by <a href=\"https:\/\/twitter.com\/walter\" target=\"_blank\">Walter Higgins<\/a> enables you to automate various tasks in Minecraft using the popular computer programming language JavaScript. \u00a0\u00a0In contrast to other technologies for programming Minecraft, Mr. Higgins has made the process of programming Minecraft fun and simple. Thanks you Mr. Higgins and the community of\u00a0<a href=\"http:\/\/bukkit.org\/\">\u00a0http:\/\/bukkit.org\/<\/a> for making this technology free and open source.<\/p>\n<p>Teachers of math and computer science will find playful ways to teach their subjects using <a href=\"http:\/\/scriptcraftjs.org\/\" target=\"_blank\">ScriptCraftJS<\/a>. \u00a0\u00a0Thanks to the awesome work from Joel Levin and the <a href=\"http:\/\/minecraftedu.com\/\" target=\"_blank\">community of Minecraft Edu<\/a>, teachers can find thoughtful examples of engaging students in learning through Minecraft. \u00a0 This technology can be very powerful when connected to project based learning ideas and game based learning.<\/p>\n<p>&nbsp;<\/p>\n<p>As as a dad, I enjoy playing Minecraft with my son. \u00a0\u00a0It has been such a pleasure to encourage my son\u2019s creativity by playing Minecraft with him. \u00a0 He&#8217;s still a pretty young guy. \u00a0 \u00a0I, however, am amazed how well he can navigate through the Minecraft 3D world. \u00a0He can build floors, walls, dig, and decorate. \u00a0\u00a0With ScriptCraft in my tool box, I hope to create more tools for us for our Minecraft playtime.<\/p>\n<p>&nbsp;<\/p>\n<p>For our readers, I have collected a few resources that will help you learn JavaScript and get started using ScriptCraft.<\/p>\n<p><strong>How do I get started learning JavaScript?<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/CodeAcademy.com\" target=\"_blank\">CodeAcademy.com<\/a><\/li>\n<li><a href=\"http:\/\/eloquentjavascript.net\/contents.html\">http:\/\/eloquentjavascript.net\/<\/a><\/li>\n<\/ul>\n<p><strong>How do I setup ScriptCraft on my computer? \u00a0How do I start learning how to program Minecraft?<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/walterhiggins\/ScriptCraft\/blob\/master\/docs\/YoungPersonsGuideToProgrammingMinecraft.md#the-young-persons-guide-to-programming-in-minecraft\" target=\"_blank\">Young Person\u2019s Guide to Programming Minecraft<\/a><\/li>\n<li><a href=\"http:\/\/scriptcraftjs.org\/\">http:\/\/scriptcraftjs.org\/<\/a><\/li>\n<li>Learn more about Bukkit Minecraft Server:\u00a0<a href=\"http:\/\/bukkit.org\/\">http:\/\/bukkit.org\/<\/a><\/li>\n<\/ul>\n<p><strong>What stuff can you program in Minecraft? \u00a0What does the API for CraftScript look like? \u00a0<\/strong><\/p>\n<p dir=\"ltr\"><a href=\"https:\/\/github.com\/walterhiggins\/ScriptCraft\/blob\/master\/docs\/api.md\" target=\"_blank\">https:\/\/github.com\/walterhiggins\/ScriptCraft\/blob\/master\/docs\/api.md<\/a><\/p>\n<p><strong>How could you draw a box in ScriptCraftJS?<\/strong><br \/>\n<code><br \/>\nfunction drawBox()<br \/>\n{<br \/>\n\/\/ The drone object enables you to<br \/>\n\/\/ layout bricks in 3d space<br \/>\nvar theDrone = new Drone();<br \/>\nvar i;<\/p>\n<p>\/\/Go 10 steps forward while dropping type \"5\" boxes ....<br \/>\nfor(i=0; i theDrone.box(\"5\").fwd(1)<\/p>\n<p>\/\/Go 10 steps up while dropping type \"5\" boxes ....<br \/>\nfor(i=0; i theDrone.box(\"5\").up(1)<\/p>\n<p>\/\/Go 10 steps back while dropping type \"5\" boxes ....<br \/>\nfor(i=0; i theDrone.box(\"5\").back(1)<\/p>\n<p>\/\/Go 10 steps down while dropping type \"5\" boxes ....<br \/>\nfor(i=0; i theDrone.box(\"5\").down(1)<br \/>\n}<\/code><\/p>\n<p><strong>I&#8217;m new to running a Minecraft server. \u00a0 What are the common \u00a0server commands?<\/strong><\/p>\n<p dir=\"ltr\"><a href=\"http:\/\/www.minecraftserverhost.net\/secure\/knowledgebase.php?action=displayarticle&amp;id=26\" target=\"_blank\">http:\/\/www.minecraftserverhost.net\/secure\/knowledgebase.php?action=displayarticle&amp;id=26<\/a><\/p>\n<p><strong>Can you make games in Minecraft using CraftScript?<\/strong><\/p>\n<p>Walter Higgins has an awesome demo of creating a snow ball fight game. \u00a0\u00a0The video also includes brief overview of the code he used to create the game.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/DDp20SKm43Y\" frameborder=\"0\" width=\"420\" height=\"315\"><\/iframe><\/p>\n<p><strong>Related Links:<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/plus.google.com\/communities\/117681570238289415567\" target=\"_blank\">Join Google Developer Group at Mercer University<\/a><\/li>\n<li><a title=\"Why Use Virtual Worlds To Teach?\" href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=525\" target=\"_blank\">Why Use Virtual Worlds To Teach?<\/a><\/li>\n<li><a title=\"Programming Simple Animations Using HTML, Canvas, and JavaScript\" href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=983\" target=\"_blank\">Programming Simple Animations Using HTML, Canvas, and JavaScript<\/a><\/li>\n<li><a title=\"Benefits of Teaching Kids To Code That No One Is Talking About\" href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=623\" target=\"_blank\">Benefits of Teaching Kids To Code That No One Is Talking About<\/a><\/li>\n<li><a title=\"5 Resources To Help You Teach Kids Programming\" href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=689\" target=\"_blank\">5 Resources To Help You Teach Kids Programming<\/a><\/li>\n<li><a title=\"7 Reasons Why The Makers Movement Is Revolutionary\" href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=942\" target=\"_blank\">7 Reasons Why The Makers Movement Is Revolutionary<\/a><\/li>\n<li><a title=\"Learn to Build Your Own Mobile App using PhoneGap\" href=\"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/?p=828\" target=\"_blank\">Learn to Build Your Own Mobile App using PhoneGap<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=http%3A%2F%2Finspiredtoeducate.net%2Finspiredtoeducate%2Fsimple-minecraft-programming-using-scriptcraftjs%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n","protected":false},"excerpt":{"rendered":"<p>As a fan of Minecraft, I have enjoyed seeing it used for fun and playful learning. \u00a0In this post, I would like to introduce a technology for programming Minecraft and making small games. \u00a0\u00a0ScriptCraft by Walter Higgins enables you to automate various tasks in Minecraft using the popular computer programming [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/posts\/1079"}],"collection":[{"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/comments?post=1079"}],"version-history":[{"count":11,"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/posts\/1079\/revisions"}],"predecessor-version":[{"id":1092,"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/posts\/1079\/revisions\/1092"}],"wp:attachment":[{"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/media?parent=1079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/categories?post=1079"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/inspiredtoeducate.net\/inspiredtoeducate\/wp-json\/wp\/v2\/tags?post=1079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}