Lesson plan

3-D Fractions

Students code their Agent to build three-dimensional fraction columns on a number line and identify equivalent fractions.

3-D Fractions
Ages
Ages 8-10
Essential question

How can we use computer code and three-dimensional block models to represent and compare fractions on a number line?

Overview

In this lesson, students explore fractions as numerical values positioned along a number line. By using physical dimensions within Minecraft, learners see fractions not just as numbers on paper, but as heights and comparative quantities made of distinct parts.

Working in pairs, students use Code Builder to program their Agent using custom chat commands. The Agent places contrasting colored concrete blocks—using darker blocks for the numerator—to build vertical columns along designated number line markers, modeling fractions such as 4/6, a full series of sevenths, and equivalent fraction relationships.

Learning objectives

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

  • Program the Agent to place vertical block columns using chat commands and inventory switching.
  • Model fractions on a number line with darker blocks positioned at the top to represent the numerator.
  • Construct missing fractions in sequential and equivalent fraction patterns.
  • Compare fractions visually to determine equivalent values such as one-fourth, two-eighths, and three-twelfths.

Blocks and items used in this lesson

Key vocabulary

Numerator
The number above the fraction line, represented in this lesson by darker blocks placed at the top.
Denominator
The total number of equal parts that make up the whole, shown by the full height or count of blocks.
Equivalent Fractions
Fractions that have different numbers but represent the exact same value or size.
Agent
A programmable helper that moves and places blocks based on student code commands.
Active Slot
The specific inventory space chosen in code so the Agent knows which block to place.

Before class

Lesson sequence

  1. Inspect the Model

    Introduce the vertical column model representing 3/5. Remind students that darker, shaded blocks represent the numerator and must sit at the top of the fraction stack for clarity and consistency across all activities.

  2. Activity 1: Building 4/6

    In pairs, students find the sequence 1/6 to 6/6 and locate the two black blocks marking 4/6. Students load white concrete into Agent inventory slot 1 and red concrete into slot 2.

    Students write chat commands using teleport, turn, place on move, and set active slot to build a 3-block-high column with 1 white and 2 red blocks, then construct the matching second column.

  3. Activity 2: The Sevenths Number Line

    Students apply their column-building code to a new number line marking 1/7 through 7/7. Learners instruct their Agent to place ordered fraction columns directly on top of each black block marker, maintaining clear visual contrast between numerator and denominator.

  4. Activity 3: Finding Equivalent Fractions

    Students inspect two existing fraction columns to identify their values. They determine the missing equivalent fraction between 1/4 and 3/12 and program their Agent to construct it on the black marker.

  5. Reflection and Discussion

    Bring the class together to discuss how the Agent was used to construct fractions, identify which fraction was the most difficult to build, and predict the next fraction in the sequence 1/4, 2/8, 3/12.

Assessment: success criteria

  • The Agent places a 4/6 model on the two black blocks using two columns of 1 white block and 2 red blocks.
  • The Agent places the complete sequence of fraction columns from 1/7 through 7/7 along the number line.
  • Students correctly identify and build the equivalent fraction between 1/4 and 3/12.
  • Students explain how switching inventory slots between slot 1 (white) and slot 2 (red) creates the numerator and denominator.

Differentiation

Support

Allow students to build the second column using a separate chat command that places blocks from the bottom up rather than coding a continuous top-down sequence.

Stretch

Have advanced students code their Agent to automatically build multiple columns in sequence or construct the second column from the top down.

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 blocks represent the numerator in the 3-D models built during this lesson?

  2. 2Why must students program the Agent to change its active inventory slot?

  3. 3What missing equivalent fraction are students asked to identify and build between 1/4 and 3/12?

  4. 4What indicates the exact locations on the number line where fraction columns should be placed?

  5. 5In Activity 1, what is the block composition of each 3-block-tall column used to build 4/6?

Resources

Part of the Code for STEM curriculum

This is lesson 1 of 20 in Code for STEM.

  1. 3-D Fractions
  2. Aquarium
  3. Build a Dam
  4. Canyon Arch Bridge
  5. Chicken or the Egg
  6. Creeper Tower Test
  7. Energy Transfer
  8. Forces
  9. Hour of Code: AI for Good
  10. Minecraft Code Town
  11. Molecules
  12. Number Line Railroad
  13. Plate Motions
  14. Road Construction Ahead
  15. Scale
  16. Slope
  17. Surface Area and Perimeter
  18. Units of Measurement
  19. Walled Fortress
  20. Wave Properties

Frequently Asked Questions

What materials need to be placed in the Agent's inventory?

Students should place white concrete blocks into slot 1 and red concrete blocks into slot 2 so the Agent can alternate between them when building fraction components.

Why are students encouraged to work in pairs?

Pair work allows students to collaborate on troubleshooting Agent orientation, writing chat commands, and reasoning through equivalent fractions together.

What model should students look at before starting their number line builds?

Students should inspect a vertically stacked block model in the world that represents the fraction 3/5 to understand how numerators and denominators are visually separated.

Adapted from 3-D Fractions by John Miller on Minecraft Education, last updated Jul 16, 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