Lesson plan

Make a Clock

Students build and code a functioning digital clock in Minecraft using command blocks and a minecart ticker while studying number bases.

Make a Clock
Ages
Ages 8-10
Essential question

How can command blocks and mechanical tickers be used to model the passage of time across different number bases?

Overview

Time measurement relies on structured numerical cycles, specifically twelve hours on a standard clock and sixty minutes in an full hour. Understanding how discrete intervals shift across the ones, tens, and hour places helps students build strong mental models of place value and time calculation.

In Minecraft, students explore these concepts by constructing a working digital timepiece inside a flat world. Using impulse and repeat command blocks alongside a minecart ticker, teams code individual columns that track minutes and hours through physical block stacks.

Learning objectives

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

  • Build a functioning digital clock mechanism in Minecraft using command blocks and a minecart ticker.
  • Implement the testforblock and setblock commands to track and update time intervals.
  • Explain the three number bases used in the clock system for single minutes, tens of minutes, and hours.
  • Collaborate within a team of three to construct, test, and debug assigned clock columns.

Blocks and items used in this lesson

Key vocabulary

testforblock
A command that checks whether a specific block occupies a designated coordinate.
setblock
A command that places or replaces a specific block at an exact location.
minecart ticker
A moving minecart mechanism used to trigger commands at steady intervals to keep time.
number base
The number of unique digits or values a counting system uses before advancing to the next column.

Before class

Lesson sequence

  1. Observe and Infer

    Display the running teacher-built clock on a projector. Prompt students to observe how it operates like a digital clock using stacks of blocks rather than standard written numbers.

    Have students record notes and sketches in their notebooks while answering guiding questions about the current time, rounded time, block counts before a column flips, and how the machine functions.

  2. Group Assembly

    Divide students into teams of three and have each group open their own flat world. Assign one student to the 1s column, one to the 10s column, and one to the hours column.

  3. Build and Code

    Students construct their assigned columns and enter the testforblock and setblock instructions into impulse and repeat command blocks. Teams build the minecart ticker to drive the timing cycle.

    Partners work together to debug code and reference the provided video tutorials for column coding and ticker construction as needed.

  4. Debrief and Analysis

    Bring the class together to discuss the driving mechanics. Guide students to identify that the clock incorporates three different bases: base 10 for the ones column of minutes, base 60 for total minutes, and base 12 for the hours.

Assessment: success criteria

  • Student successfully constructs a digital-style clock that keeps accurate time in Minecraft.
  • Student accurately identifies and explains the three number bases used (base 10 for minute ones, base 60 for minutes, base 12 for hours).
  • Student correctly applies testforblock and setblock syntax within impulse and repeat command blocks.
  • Student demonstrates the ability to add and subtract units of time.

Differentiation

Support

Allow students extra time to review the column-specific tutorial videos and provide guided support with keyboard copy-and-paste shortcuts.

Stretch

Have students practice solving elapsed time addition and subtraction word problems using their completed clock as a physical reference.

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. 1Which two Minecraft commands are primarily used to operate the clock mechanism?

  2. 2What mechanism is constructed to keep time in the Minecraft clock?

  3. 3How many students are placed in each building group?

  4. 4According to the lesson, what base is used for the ones column of the minutes?

  5. 5Which two types of command blocks does the assessment specify students must use?

Resources

Frequently Asked Questions

Why is it recommended that teachers build the clock before leading the lesson?

Building the clock in advance ensures the teacher is familiar with the command block syntax and minecart ticker mechanics, making it easier to assist students with debugging and troubleshooting.

How does the clock display numbers inside the Minecraft world?

The clock functions like a digital timepiece, but it represents numbers through changing vertical stacks of blocks rather than traditional numeral characters.

Adapted from Make a Clock by Minecraft Education on Minecraft Education, last updated Sep 16, 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