{"id":22552,"date":"2016-04-21T15:30:33","date_gmt":"2016-04-21T14:30:33","guid":{"rendered":"https:\/\/www.fractuslearning.com\/?p=22552"},"modified":"2017-01-25T12:39:01","modified_gmt":"2017-01-25T12:39:01","slug":"minecraft-can-turn-kid-coder","status":"publish","type":"post","link":"https:\/\/www.fractuslearning.com\/minecraft-can-turn-kid-coder\/","title":{"rendered":"Warning: Minecraft Can Turn Your Kid Into a Coder"},"content":{"rendered":"<p><em><b>&#8220;Mom, I don&#8217;t want to eat right now; a Wither killed my character and I have to rebuild everything!&#8221;<\/b><\/em><\/p>\n<p>Does this sound familiar? Don&#8217;t worry &#8211; you&#8217;re not alone!\u00a0Does your child play Minecraft for hours on end, and when not playing, does she watch\u00a0videos of YouTube personalities playing the Minecraft game?\u00a0Ever ask yourself how you can turn your child\u2019s Minecraft time into something productive\u00a0that might even give your child skills that can last a lifetime?<\/p>\n<h2>Minecraft Modding<\/h2>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-22628\" src=\"https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-mod-1024x594.jpg\" alt=\"Minecraft Modding\" width=\"890\" height=\"516\" srcset=\"https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-mod.jpg 1024w, https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-mod-360x209.jpg 360w, https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-mod-768x446.jpg 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/p>\n<p>\u201cModding\u201d, or modifying the source code of Minecraft, is all the rage with young Minecrafters worldwide. In fact, an entire industry has grown up around YouTube personalities like Mr Sparklz and others who make millions in Google royalties for videos in which they review Minecraft Mods.<\/p>\n<p>Modding also has another use, and we think it\u2019s the key to making Minecraft time productive. By modding Minecraft, children as young as seven\u00a0can learn to code using the <strong>Java programming language<\/strong>. Normally kids coding courses have used drag and drop interfaces, or at best closed platforms using the \u201cHello World\u201d method in which kids get to print \u201cHello World\u201d on a screen. For young kids, this gets boring quickly, and they will often fall away from computer programming sometimes permanently.<\/p>\n<p>While modding with Java, kids learn to create their own custom pickaxes, their own enemies, or their own dimensions. They can use Java coding to give their creations special properties and then try out\u00a0their creation in the game that they love to play. The \u201cAh Ha\u201d moment in which a child plays with her mod in the game is a marvel to see, and we\u2019ve found that once kids experience it, they want to learn more. Modding provides children with the additional motivation and persistence required to overcome common occurrences in programming &#8211; bugs, exceptions, and other technical glitches.<\/p>\n<h2>What coding concepts can my student learn from Minecraft?<\/h2>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-22629 size-large\" src=\"https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-coding-students-e1461184420457-1024x512.jpg\" alt=\"minecraft-coding-students\" width=\"890\" height=\"445\" srcset=\"https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-coding-students-e1461184420457.jpg 1024w, https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-coding-students-e1461184420457-360x180.jpg 360w, https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-coding-students-e1461184420457-768x384.jpg 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/p>\n<p>Since Minecraft is written in Java, your student will gain exposure to one of the most popular programming languages in the world. The following are some basics of Java (most concepts are universal) that are simple and easy to understand, but can help your child create endless\u00a0numbers of amazing mods.<\/p>\n<h3>Conditionals<\/h3>\n<p>Conditional statements allow a program to execute a certain piece of code based on a decision. Java uses boolean variables to evaluate these conditions. One of two boolean values (True or False) is returned when an expression is compared or evaluated. An example in English could be \u201c If this statement is true, then the following command will occur\u201d.<\/p>\n<p>Here is a snippet of code that sets a daytime or nighttime texture depending upon the time of day in Minecraft:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-22544 aligncenter\" src=\"https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/daytimeconditional.png\" alt=\"daytimeconditional\" width=\"300\" height=\"193\" \/><\/p>\n<p>As you can see, if it is daytime, the computer is told to use a texture to make the Minecraft world appear as though it is daytime (sun, visible clouds, shadows, etc). If it is not daytime (indicated by the \u201celse\u201d command), the computer will use a nighttime texture.<\/p>\n<h3>Loops<\/h3>\n<p>Another coding concept that can be learned through modding is called \u201cthe Loop\u201d. In this example, a \u201cWhile Loop\u201d continually executes a command <b>while<\/b> a particular condition is true, and discontinues the command when the command is not longer true.<\/p>\n<p>Here is an example of how a While Loop might appear in Java for Minecraft:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-22556 aligncenter\" src=\"https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/loopguestpost-1.png\" alt=\"loopguestpost\" width=\"281\" height=\"150\" \/><\/p>\n<p>In this loop, a player will be able to fire arrows as long as the number of arrows in her arsenal is greater than zero. Once the number of arrows reaches zero, the condition becomes false (because the number of arrows is not greater than zero) and no arrows are fired.<\/p>\n<p>There are a number of other key coding concepts that are encountered during modding, including methods, variables, arrays, switch statements, and more. Each provides children with a hands on experience using concepts that are used in hundreds of programming languages to make websites, games, apps, and more.<\/p>\n<h3>My child\u00a0is only seven; isn&#8217;t that a little young to learn programming?<\/h3>\n<p>In our experience, seven is not too young. Although the content might be initially complex, there are many concepts that can be grasped by elementary school students that will give them the foundation necessary to learn more complex code later on.<\/p>\n<h2>Resources<\/h2>\n<p>Here are a few free and paid options that can help teach your student to learn Java through modding Minecraft:<\/p>\n<h3>Books<\/h3>\n<p><a href=\"https:\/\/www.amazon.com\/Minecraft-Modding-For-Kids-Dummies\/dp\/1119050049\/?tag=fractuslearn-20\" target=\"_blank\" rel=\"nofollow noopener\">Minecraft Modding for Kids for Dummies<\/a> &#8211; Modding instructions for beginners<\/p>\n<p><a href=\"https:\/\/www.amazon.com\/Minecraft-Mods-Quality-Quantity-Collection-Minecraft-ebook\/dp\/B01DD1D75M\/ref=sr_1_1?ie=UTF8&amp;qid=1460567662&amp;sr=8-1&amp;keywords=minecraft+mod+books\" target=\"_blank\">Minecraft Mods: 51 mods to make Minecraft Great Again<\/a>&#8211; List and instruction of 51 mods to make on Minecraft.<\/p>\n<p><a href=\"https:\/\/www.amazon.com\/Absolute-Beginners-Guide-Minecraft-Programming-ebook\/dp\/B00P9BAMEY\/?tag=fractuslearn-20\" target=\"_blank\" rel=\"nofollow noopener\">Absolute Beginners Guide to Minecraft Mods Programming<\/a>&#8211; A how-to best learn Java to mod Minecraft<\/p>\n<h3>Videos<\/h3>\n<p><a href=\"https:\/\/emxtutorials.wordpress.com\/\" target=\"_blank\">EMX Tutorials<\/a> &#8211; Modding Tutorials for beginners through advanced<\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=VhOSL7rGb10\" target=\"_blank\">Mr.Crayfish<\/a> &#8211; Series of Youtube videos that have step by step instruction on setting up and making mods.<\/p>\n<h3>Online Courses<\/h3>\n<p><a href=\"http:\/\/www.codakid.com\/online\" target=\"_blank\">CodaKid\u2019s Minecraft Modding Foundations<\/a> &#8211; We are tooting our own horn here, but we believe that this is the most academic Minecraft Modding course available (and also super-fun).<\/p>\n<p>&nbsp;<\/p>\n<p><em>Feature image adapted from image courtesy of Flickr,\u00a0<a href=\"https:\/\/www.flickr.com\/photos\/kenming_wang\/\" target=\"_blank\">kenming_wang<\/a>. Post images courtesy of Flickr,\u00a0<a href=\"https:\/\/www.flickr.com\/photos\/8166676@N08\/\" target=\"_blank\">tammygparks<\/a>\u00a0and\u00a0<a href=\"https:\/\/www.flickr.com\/photos\/kjarrett\/\" target=\"_blank\">kjarrett<\/a>\u00a0respectively.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Mom, I don&#8217;t want to eat right now; a Wither killed my character and I have to rebuild everything!&#8221; Does this sound familiar? Don&#8217;t worry &#8211; you&#8217;re not alone!\u00a0Does your child play Minecraft for hours on end, and when not&#8230;<\/p>\n","protected":false},"author":1291,"featured_media":22631,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"By modding Minecraft, children as young as seven can learn to code using the Java programming language. This is the key to making Minecraft time productive.","_seopress_robots_index":"","_lmt_disableupdate":"","_lmt_disable":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[3741],"tags":[4658,266],"acf":[],"modified_by":"Nick Grantham","taxonomy_info":{"category":[{"value":3741,"label":"Games"}],"post_tag":[{"value":4658,"label":"coding"},{"value":266,"label":"minecraft"}]},"featured_image_src_large":["https:\/\/www.fractuslearning.com\/wp-content\/uploads\/2016\/04\/minecraft-kid-coder-1024x599.jpg",1024,599,true],"author_info":{"display_name":"David Dodge","author_link":"https:\/\/www.fractuslearning.com\/author\/ddodge\/"},"comment_info":0,"category_info":[{"term_id":3741,"name":"Games","slug":"games","term_group":0,"term_taxonomy_id":26,"taxonomy":"category","description":"","parent":3743,"count":85,"filter":"raw","cat_ID":3741,"category_count":85,"category_description":"","cat_name":"Games","category_nicename":"games","category_parent":3743}],"tag_info":[{"term_id":4658,"name":"coding","slug":"coding","term_group":0,"term_taxonomy_id":5070,"taxonomy":"post_tag","description":"","parent":0,"count":33,"filter":"raw"},{"term_id":266,"name":"minecraft","slug":"minecraft","term_group":0,"term_taxonomy_id":275,"taxonomy":"post_tag","description":"","parent":0,"count":12,"filter":"raw"}],"_links":{"self":[{"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/posts\/22552"}],"collection":[{"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/users\/1291"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/comments?post=22552"}],"version-history":[{"count":0,"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/posts\/22552\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/media\/22631"}],"wp:attachment":[{"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/media?parent=22552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/categories?post=22552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fractuslearning.com\/wp-json\/wp\/v2\/tags?post=22552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}