Lesson plan

Unit 9: AI

Students explore artificial intelligence concepts and program their Minecraft Agent to model intelligent behavior and adapt to its environment.

Unit 9: AI
Ages
Ages 11-13
Duration
1 hour
Essential question

How can we program computer systems and in-game agents to model intelligent behavior and adapt to their surroundings?

Overview

Artificial intelligence represents the art and science of engineering software that models, mimics, or exceeds human intelligence. In this unit, middle school students investigate the societal importance of AI, discuss the ethical considerations surrounding intelligent automation, and evaluate the core traits that distinguish human decision-making from machine computation.

Using Minecraft Education, learners put theoretical computer science concepts into practice by coding their in-game Agent. Through scaffolded programming challenges, students guide their Agent to interact intelligently with the surrounding world, locate resources such as trees, and ultimately build an independent project that adapts dynamically to the virtual environment.

Learning objectives

By the end of this lesson students will be able to:

  • Discuss the significance, ethical concerns, and societal impact of artificial intelligence.
  • Identify key factors that distinguish human thinking from machine computation.
  • Program the Minecraft Agent to demonstrate intelligent and adaptive behaviors.
  • Design and execute an original project teaching the Agent to adapt to the Minecraft environment.

Blocks and items used in this lesson

Key vocabulary

Artificial Intelligence
The design of computer programs capable of modeling, mimicking, or surpassing human intelligence.
Agent
A programmable in-game character in Minecraft that executes automated actions and coded commands.
Adaptive Behavior
The ability of a system or agent to alter its actions based on changes or conditions in its environment.

Before class

Lesson sequence

Suggested timing: about 260 minutes in total.

  1. Introduction to Artificial Intelligence (Lesson A)50 min

    Introduce artificial intelligence through classroom discussion and unplugged activities. Guide students to explore the concept of machine intelligence, contrast how humans and computers process information, and examine ethical considerations surrounding modern AI technologies.

  2. Exploring Intelligent Code (Lesson B)50 min

    Lead students through examples of code that model intelligent behavior. Have learners analyze how conditional logic and automated decision-making allow software programs to respond dynamically rather than following purely rigid paths.

  3. Coding an Intelligent Agent (Lesson C)50 min

    Transition students into the downloadable Minecraft world to begin coding their Agent. Students write programs that allow the Agent to perceive conditions in its environment and take deliberate, intelligent actions based on those conditions.

  4. Tree-Hunting Agent Challenge (Lesson D)50 min

    Task students with programming a tree-hunting routine for their Agent. Learners apply search patterns and environmental detection commands to enable the Agent to locate and navigate toward trees autonomously within the game space.

  5. Creative AI Project and Reflection (Lesson E)60 min

    Challenge students to design an original, independent creative project where their Agent independently adapts to a Minecraft scenario. Conclude with student demonstrations and formative assessments drawn from the unit Assessment Guide.

Assessment: success criteria

  • Student can articulate at least two differences between human cognition and artificial intelligence.
  • Student successfully writes code that allows the Agent to detect and respond to in-game environmental triggers.
  • Student programs an operational search routine that enables the Agent to find trees.
  • Student completes an independent coding project showing adaptive decision-making by the Agent.

Differentiation

Support

Use the prepared classroom presentation slides to walk through sample Agent code step-by-step and pair students during initial coding exercises.

Stretch

Prompt advanced students to add multi-condition checks and expanded autonomous routines to their tree-hunting and final creative projects.

Knowledge check

5 questions to check understanding after the lesson. Tap an answer to see if it is right; the score appears at the end.

  1. 1What is the primary definition of artificial intelligence emphasized in this unit?

  2. 2Which in-game entity do students code to exhibit intelligent behavior in Minecraft?

  3. 3What specific target is the Agent programmed to search for in Lesson D?

  4. 4How do computers model intelligent behavior during programming exercises?

  5. 5What is the focus of Lesson E in this artificial intelligence unit?

Resources

Part of the AI Foundations curriculum

This is lesson 6 of 18 in AI Foundations.

  1. AI-1: Who Is That Ocelot?
  2. AI-2: Mapping Terrain
  3. AI-3: Sustainable Farming
  4. AI-4: Ocean Observations
  5. AI-5: Water Quality
  6. Unit 9: AI
  7. AI Adventurers
  8. AI Wildlife Park
  9. CyberSafe AI: Dig Deeper
  10. Fantastic Fairgrounds
  11. Hour of AI: Field Agent
  12. Hour of AI: Generation AI
  13. Hour of AI: The First Night
  14. Hour of Code: AI for Good
  15. Hour of Code: Generation AI
  16. Mini Agent Mission
  17. Peter Is Here: AI for Cultural Heritage
  18. Reed Smart: AI Detective

Frequently Asked Questions

How long does it take to complete this unit?

Unit 9 consists of five lessons (Lessons A through E), each running approximately 45 to 60 minutes depending on how much time you allocate for coding exploration and the final creative project.

What supporting documents are available to help guide instruction?

The unit includes an Educator's Guide, an Assessment Guide, a Curriculum Overview, and a set of Presentation Slides to assist with structured lesson delivery and evaluation.

Does this unit require a separate Minecraft world file?

Yes, the unit provides a downloadable world specifically prepared for the in-game Agent coding activities.

Adapted from Unit 9: AI by Minecraft Education on Minecraft Education, last updated Feb 4, 2025. This classroom version, the timings and the quiz were written by 9Minecraft Education.

You May Also Like

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