Code with Minecraft curriculum

Learn to code inside the game, step by step. 11 lessons in teaching order, with objectives, timings and a quiz for each one - a ready-made Minecraft Education unit you can follow from start to finish.

Computer Science & CodingAI & Digital Citizenship

11lessons
13 hteaching time
55quiz questions
Early years, Primarygrade level

Syllabus

#LessonTimeAgesQuiz
1Unit 1: IntroductionLearn basic Minecraft navigation, explore the MakeCode Code Builder, and command the Agent using sequencing and decomposition.1 hourAges 11-135 Qs
2Unit 2: EventsStudents explore events and event handlers through an unplugged activity, practice with MakeCode in Minecraft, and build a creative coding p1 hourAges 11-135 Qs
3Unit 3: CoordinatesStudents explore 3D space by learning X, Y, and Z coordinates, distinguishing between world and relative positions through coding and creati1 hourAges 11-135 Qs
4Unit 4: VariablesStudents learn how variables store data and enhance events, practicing through unplugged tasks, coding exercises, and an automated project.1 hourAges 11-135 Qs
5Unit 5: ConditionalsStudents learn conditional logic through unplugged exercises, Minecraft coding, debugging tasks, and a collaborative creative project.1 hourAges 8-135 Qs
6Unit 6: FunctionsStudents learn the computer science concept of functions to make code efficient, applying their skills to build structures in Minecraft.1 hourAges 8-135 Qs
7Unit 7: IterationExplore iteration and loops using MakeCode, practice debugging repetitive code, and program an automated staircase design in Minecraft.1 hourAges 11-135 Qs
8Unit 8: ArraysStudents explore computer science arrays, organize and sort data in MakeCode, and apply their skills to build projects and artwork in Minecr1 hourAges 11-135 Qs
9Unit 9: AIStudents explore artificial intelligence concepts and program their Minecraft Agent to model intelligent behavior and adapt to its environme1 hourAges 11-135 Qs
10Unit 10: Final ProjectStudents design, code, test, and document four custom survival tools for an adventure backpack in Minecraft as their final course project.More than 3 hoursAges 11-135 Qs
11Hour of AI: Generation AITravel through time in Minecraft to repair AI inventions using MakeCode or Python while learning the core principles of responsible AI.45 minAges 6-185 Qs

All lessons in this curriculum

Unit 1: IntroductionLesson planQuizWorld
Unit 1: IntroductionComputer Science & CodingGrades 6-81 hourBeginnerAgentDirt
Unit 2: EventsLesson planQuizWorld
Unit 2: EventsComputer Science & CodingGrades 6-81 hourBeginnerAgentRaw ChickenBlock of GoldBlock of Diamond
Unit 3: CoordinatesLesson planQuizWorld
Unit 3: CoordinatesComputer Science & CodingGrades 6-81 hourBeginnerAgentBlock of GoldBlock of DiamondChalkboard
Unit 4: VariablesLesson planQuizWorld
Unit 4: VariablesComputer Science & CodingGrades 6-81 hourBeginnerAgentRaw ChickenBow
Unit 5: ConditionalsLesson planQuizWorld
Unit 5: ConditionalsComputer Science & CodingGrades 3-81 hourBeginnerAgentStoneBlock of GoldOak PlanksDirt
Unit 6: FunctionsLesson planQuizWorld
Unit 6: FunctionsComputer Science & CodingGrades 3-81 hourIntermediateAgentOak PlanksCobblestoneGlassOak Door
Unit 7: IterationLesson planQuizWorld
Unit 7: IterationComputer Science & CodingGrades 6-81 hourIntermediateAgentOak PlanksCobblestone
Unit 8: ArraysLesson planQuizWorld
Unit 8: ArraysComputer Science & CodingGrades 6-81 hourIntermediatePandaPolar BearSheepCowPigRaw Chicken
Unit 9: AILesson planQuizWorld
Unit 9: AIComputer Science & CodingGrades 6-81 hourIntermediateAgentOak LogOak Leaves
Unit 10: Final ProjectLesson planQuizWorld
Unit 10: Final ProjectComputer Science & CodingGrades 6-8More than 3 hoursAdvancedAgentBook and QuillCameraBookChest
Hour of AI: Generation AILesson planQuizWorldVideo
Hour of AI: Generation AIAI & Digital CitizenshipComputer Science & CodingPre-K to Grade 2 to Grades 9-1245 minBeginner

9Minecraft Education is an independent teaching resource and is not affiliated with Mojang or Microsoft. Lesson plans here are our own classroom-ready adaptations; each one links to the original resource and credits its author. © 2026 9minecraft.net