[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-706611-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-706611-en":130,"doc-similar-706611":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","coding-with-minecraft-6-functions","Coding with Minecraft: 6-Functions","","Educator guide for Unit 6, four lessons (60 minutes each) in “Coding with Minecraft: 6-Functions,” focused on teaching programming functions. It explains what functions are, why they improve efficiency and readability, and how to call reusable code instead of rewriting instructions. Lesson objectives cover identifying function types, linking functions to Minecraft play, and designing an original automated project. It also provides mechanics shortcuts, key vocabulary, lesson activity flow, and unplugged materials for Peanut Butter & Jelly.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/coding-with-minecraft-6-functions/706611/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/coding-with-minecraft-6-functions/706611.png","ImageObject",300,407,{"name":42,"@type":43},"WPS_1793603815","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-30","2026-11-14",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the main concept of Unit 6: 6-Functions?","Question",{"text":63,"@type":64},"The unit teaches the coding concept of functions—grouping frequently used instructions into named, reusable code you can call when needed.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Why are functions important when coding and playing Minecraft?",{"text":68,"@type":64},"Functions help make code more efficient, easier to organize and read, and simpler to edit and debug because changes can be made in one place.",{"name":70,"@type":61,"acceptedAnswer":71},"What unplugged materials are needed for the Peanut Butter & Jelly activity?",{"text":72,"@type":64},"The guide lists a jar of peanut butter, a jar of jelly, a bag of sliced bread, a plate, a knife, and paper towels, with allergy checks and substitutions noted.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},706611,1794693416,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":33,"preview_urls":145},12232076219891,"https://eur-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","Educator Guide  \nUnit 6 – 4 Lessons 60 minutes per lesson Single Student  \nCoding with Minecraft: 6-Functions  \nEDUCATION. MINECRAFT.NET  \nTHEME OVERVIEW  \nIn this unit, we’ll explore the coding concept of functions. Often in programming, there are tasks or procedures that are used frequently within the same program. Rather than rewrite the lines of code that perform a particular task each time you need it, you can group that set of instructions together as a function. Grouping frequently used instructions as a function makes your code more efficient. You can write the set of instructions once as a function and from then on simply ‘call’ the function from inside your program whenever you need that task done. A function is usually given a name that describes the task it will perform when called, making your code easier to read too!  \nLESSON OVERVIEW  \nAll of the following lessons are approximately 45-60 minutes, depending on how much time students are given to explore the coding activities:  \n• Lesson A: Introduction to Functions  \n• Lesson B: Coding with Functions  \n• Lesson C: Building on Functions  \n• Lesson D: Get Creative with Functions  \nLESSON OBJECTIVES  \n• Learn and apply the coding concept of functions  \n• Describe the different kinds of coding functions  \n• Explain the importance of functions in coding and while playing Minecraft  \n• Design an original project to apply the use of functions to create an automated solution  \nTHINGS TO KEEP IN MIND  \n• You will need to gather the additional materials for the unplugged activities: Lesson A: Additional materials for the lesson:  \no jar of peanut butter (initially closed) . Check for allergies to peanuts. You can always substitute butter or cream cheese for the peanut butter.  \no A jar of jelly (initially closed)  \no A bag of sliced bread (initially closed)  \no A plate  \no A knife  \no A paper towel  \n• Remind students that there may be more than one solution for each of the activities.  \n• Students should keep a coding mindset. As with any other sport or activity, you must practice in order to get better. Coding is no different.  \nMINECRAFT MECHANICS  \n\n| C | C\u003Cbr>Summons the Agent and opens the MakeCode interface |\n| --- | --- |\n| T | T\u003Cbr>Opens chat panel in Minecraft for commands tobe typed |\n| ESC | ESC\u003Cbr>When a student wants to leave the game, leave chat, or pause the game |\n\nCODING BLOCKS  \n\n| |  | Function\u003Cbr>Lets you create a portion of code that you can reuse in your program |\n| --- | --- | --- |\n\nKEY VOCABULARY  \nFunction – block of organized, reusable code that is used to perform a single, related action  \nLESSON ACTIVITIES  \nLesson A: Introduction to Functions (Slides 1-25 )  \nDirect Instruction (Teacher-Led; “I Do”)  \nWelcome to back to Coding with Minecraft, a place to learn all about the basic concepts of computer science. Over the next couple of sessions, we are going to learn about functions. (slide 1)  \nToday, we are going to learn about what are functions and how we use them not only in real-life, but how they are used in Minecraft. (slide 2)  \nReview the lesson objectives (slide 3)  \nSo exactly what is a function? (slide 4)  \nOften in programming, there are tasks or procedures that are used frequently within the same program. Functions allow you to repeat code too, but they are more powerful for organizational purposes.  \nLoops will repeat the code inside them for the number of times you ask. Functions run the code inside them only once, but their power is that they can allow you toreuse code anywhere you want. You can write the set of instructions once as a function and from then on simply “call” the function from inside your program whenever you need that task done. This is great because you need to edit in only one place if you need changes in the future. Also, your code will be easier to read. Consider the following two examples. Which one would you rather edit? (slide 5)  \nBoth of the preceding examples do the same thing. The difference is when yo","cbCailTkW4O7qKIO","https://ap.wps.com/l/cbCailTkW4O7qKIO","pdf",1350576,31,"English","# Theme Overview\n# Lesson Overview\n# Lesson Objectives\n# Things to Keep in Mind\n# Minecraft Mechanics\n# Coding Blocks\n# Key Vocabulary\n# Lesson Activities\n## Lesson A: Introduction to Functions","[{\"question\":\"What is the main concept of Unit 6: 6-Functions?\",\"answer\":\"The unit teaches the coding concept of functions—grouping frequently used instructions into named, reusable code you can call when needed.\"},{\"question\":\"Why are functions important when coding and playing Minecraft?\",\"answer\":\"Functions help make code more efficient, easier to organize and read, and simpler to edit and debug because changes can be made in one place.\"},{\"question\":\"What unplugged materials are needed for the Peanut Butter \\u0026 Jelly activity?\",\"answer\":\"The guide lists a jar of peanut butter, a jar of jelly, a bag of sliced bread, a plate, a knife, and paper towels, with allergy checks and substitutions noted.\"}]","Coding with Minecraft: 6-Functions | PDF",78,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/f057523c4d4e3c38e8756e5b74080192.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/b8361c89258b4ca59a3a9051a5d42b88.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/cd59edcb43f6a27bbb52c00467239ebe.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-15/0bfb7fdde7710b59126e0d58f1bba754.webp",980,1268,{"list":163,"token":11},[164,170,176,182,188,194,200,206,213,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":101,"category_name":29,"create_tm":169},688180,"Coding with Minecraft - Unit 7 - 4 Lessons","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001269384/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=W3TSFn92d5FW42UrBkGh6GBEQpU%3D","coding-with-minecraft-unit-7-4-lessons",1794086589,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":101,"category_name":29,"create_tm":175},676249,"Coding with Minecraft - Curriculum Overview - 37 Lessons","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229993227065/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=oTkOQKONTGazF2KO0nAX5v%2BBiDI%3D","coding-with-minecraft-curriculum-overview-37-lessons",1793775271,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":30,"category_name":29,"create_tm":181},676254,"Minecraft: Education Edition - K-12 Computer Science Progression Educator Toolkit - v1 - 06/22","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229993227078/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=lFTpyZ3r3zjp7bgzuy6oQ%2BnEtzI%3D","minecraft-education-edition-k-12-computer-science-progression-educator-toolkit-v1-0622",1793775282,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":55,"category_name":29,"create_tm":187},688182,"Minecraft: Education Edition Design Guide - June 2021","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001269389/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=6pIUXv2l67Dh5fbk7quPw3obkSI%3D","minecraft-education-edition-design-guide-june-2021",1794086592,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":55,"category_name":29,"create_tm":193},628750,"Desmos 2nd File - Graphing Calculator Shortcuts & Function List","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229967613495/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=KXBWzEWEvRmAXPIz31agaT7gZa0%3D","desmos-2nd-file-graphing-calculator-shortcuts-function-list",1792618451,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":33,"category_name":29,"create_tm":199},692356,"Educator Guide - Hour of Code - Unity Creator Kit: Beginner Code","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=0MsUH%2Brq51XflN%2BN3Ue0Iw5B%2BJk%3D","educator-guide-hour-of-code-unity-creator-kit-beginner-code",1794195638,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":26,"category_name":29,"create_tm":205},759980,"Emmabuntüs accessibility shortcuts - Manual of main accessibility shortcuts for Emmabuntüs Debian Edition 6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044494063/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=025M4Jo7IMbaPG%2FBaXe0yiI678w%3D","emmabuntus-accessibility-shortcuts-manual-of-main-accessibility-shortcuts-for-emmabuntus-debian-edition-6",1795897826,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":29,"create_tm":212},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=l2XkT5rC5vlCLHpaEYh8hTvTbcQ%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":29,"create_tm":219},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=jtvnfSuPvp3xeI94wB4Y26I7UMA%3D","xnx-universal-transmitter-installation-manual",854,1776135954,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":29,"create_tm":226},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111639&Signature=XsxfFayHoXmbveG7hJeVax3OMFQ%3D","the-candlestick-trading-bible-trading-guide",804,1789767270]