Lesson plan

Unit 2: City Planner

Plan and build city structures in Minecraft by comparing manual construction to efficient coding with Player, Agent, and Blocks commands.

Unit 2: City Planner
Ages
Ages 6-7
Duration
1 hour
Essential question

How does writing code help us build large city structures more efficiently than placing blocks by hand?

Overview

In this beginner computer science unit, young learners discover how automation helps creators construct large city projects with speed and precision. By pairing thoughtful planning with block-based programming, students contrast the time spent placing blocks by hand against running automated code.

Using a dedicated lesson world, students progress through three guided tasks: designing road networks, raising multi-block buildings, and replicating structures through cloning. Throughout these exercises, students use commands from the Player, Agent, and Blocks coding menus to reshape their environment.

Learning objectives

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

  • Design a planned build with an intended outcome prior to construction.
  • Combine multiple coding features into a single automated outcome.
  • Compare manual block placement to code-based building to understand efficiency.
  • Use Player, Agent, and Blocks code blocks to modify the Minecraft world.

Blocks and items used in this lesson

Key vocabulary

Agent
A programmable companion in Minecraft that carries out automated building and moving instructions.
Clone
A feature used to copy a completed structure and place duplicates in other locations.
Efficiency
Accomplishing a building task faster and with less manual effort by using automated tools like code.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Planning and Manual Building15 min

    Introduce the city planner role and have students plan their road layout on paper or through discussion. Allow learners to manually build a small road segment to observe how much time hand placement takes.

  2. Lesson 1: Coding Roads15 min

    Guide students to code a road network using Player and Blocks commands. Ask students to compare the speed and consistency of their code to their manual road-building trial.

  3. Lesson 2: Coding a Building15 min

    Have students plan a simple structure, assemble a prototype manually, and then translate the design into code. Emphasize combining multiple block-coding commands to automate the build.

  4. Lesson 3: Cloning Houses and Assessment15 min

    Direct learners to manually build a single house and use the clone command to produce an entire row of identical houses. Conclude by running the formative assessment checks from the educator guide.

Assessment: success criteria

  • Student creates code that produces an intended building structure.
  • Student identifies why coding is more efficient than manual building for large-scale projects.
  • Student successfully applies Player, Agent, or Blocks commands within their world.
  • Student duplicates a house into a row using cloning actions.

Differentiation

Support

Pair students together to plan their structures and provide starter code templates for the road network.

Stretch

Encourage fast finishers to expand their road grid or combine Agent actions with clone commands to construct larger neighborhoods.

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. 1Why is coding helpful when building large projects in Minecraft?

  2. 2Which three coding features do students use during the City Planner lessons?

  3. 3What coding action do students use in Lesson 3 to turn one house into a row of houses?

  4. 4What is the recommended first step before coding or manually building in these lessons?

  5. 5Which primary subject area is taught in this Minecraft unit?

Resources

Part of the Computing with Minecraft curriculum

This is lesson 2 of 9 in Computing with Minecraft.

  1. Unit 1: The Agency
  2. Unit 2: City Planner
  3. Unit 3: Parks & Recreation
  4. Unit 4: A Zoo
  5. Unit 5: Wind Power
  6. GameCode
  7. Hour of Code: Escape Estate
  8. Hour of Code: Generation AI
  9. Hour of Code: The Show Must Go On

Frequently Asked Questions

What experience level and age range is this lesson designed for?

This unit is built for beginner computer science students between the ages of 6 and 7.

Where are the student formative assessments located?

Formative assessments for each lesson are included at the end of the educator guide found in the supporting files.

Why do students build by hand before coding?

Manual building gives students a direct comparison point so they can see firsthand how code provides greater efficiency.

Adapted from Unit 2: City Planner by Minecraft Education on Minecraft Education, last updated Sep 15, 2023. 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