
- Type
- Lesson plan
- Subject
- Math
- Topics
- Math & Economics
- Grade
- Primary (Grades 3-5)
- Ages
- Ages 8-10
- Duration
- about 60 min (suggested)
- Skills
- Critical thinking
- Includes
- Quiz: 5 questionsLesson files
How can mathematical ratios be used to describe game mechanics and program new behaviors in Minecraft?
Overview
A ratio expresses the mathematical relationship between two quantities. In this lesson, learners investigate how ratios govern real-world items and existing Minecraft mechanics, such as crafting recipes that demand fixed proportions of materials.
Using Code Connection alongside Minecraft Education, students transition from observing ratios to programming their own. By coding a custom jump modification, they compare natural player movement to boosted and variable ratios determined by parameters and loops.
Learning objectives
By the end of this lesson students will be able to:
- Identify ratio relationships in everyday objects and Minecraft crafting recipes.
- Compare the player's natural jump ratio with custom coded jump values.
- Program a custom jump modification using parameters to establish variable ratios.
- Construct new gameplay rules utilizing loops and proportional relationships.
Blocks and items used in this lesson
Key vocabulary
- Ratio
- A comparison of two quantities that shows the relative size of one value to another.
- Proportion
- An equation or relationship showing that two ratios are equivalent.
- Parameter
- A customizable value or input passed into a function or command to change its output.
- Loop
- A programming instruction that repeats a sequence of actions until a condition is met.
Before class
Lesson sequence
Suggested timing: about 60 minutes in total.
- Real-World Ratio Discussion10 min
Introduce the mathematical concept of ratios. Lead a whole-group discussion using everyday models, such as one car having four wheels (a 1:4 ratio), and record student suggestions on the board.
- Investigating Minecraft Recipes15 min
Direct students to explore their Minecraft world to find built-in ratios. Prompt them to check crafting recipes, such as crafting one fishing rod from three sticks and two strings, and record these examples on the board.
- Coding Fixed Jump Ratios15 min
Organize students into groups of two or three with Code Connection open. Model creating a jump mod with a 1:5 ratio where calling jump once propels the player five blocks upward. Compare this to the default in-game jump, which has a 1:1 ratio between space bar presses and blocks cleared.
- Variable Ratios and Custom Mechanics20 min
Challenge student groups to create a variable ratio jump mod by introducing parameters. Guide them to see that inputting a number establishes a 1:number ratio per jump command. Ask groups to use parameters and loops to define their own original gameplay ratios.
Assessment: success criteria
- Identifies accurate ratio relationships in everyday scenarios and in-game crafting.
- Explains the difference between the standard 1:1 jump and a programmed 1:5 jump ratio.
- Successfully writes or adjusts code using parameters or loops to implement a custom gameplay ratio.
Differentiation
Provide direct crafting examples like the fishing rod and guide students step-by-step through setting the jump height parameter to a single fixed number.
Encourage learners to incorporate repeating loops that apply multi-step ratio transformations to player movements or item distributions.
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.
1What is the crafting ratio of sticks to strings needed to make one fishing rod in Minecraft?
Answer: B. According to the lesson example, one fishing rod requires three sticks and two strings.
2Under normal gameplay conditions without mods, what ratio describes the space bar press to the number of blocks jumped?
Answer: A. The lesson notes that natural jumping in Minecraft operates at a 1:1 ratio for each press of the space bar to blocks jumped.
3If a player programs a jump mod with a 1:5 ratio, what happens when jump is called once?
Answer: C. A 1:5 jump ratio means calling the jump action once moves the player up five blocks.
4Which companion software must be running alongside Minecraft Education for this lesson?
Answer: B. The student activities explicitly require students to have Code Connection open and running with Minecraft Education.
5What programming feature allows students to create a jump mod where the player jumps as many blocks high as whatever number they enter?
Answer: D. The source explains that passing a parameter number into the jump mod creates a variable ratio where the player moves up that many blocks.
Resources
Frequently Asked Questions
Do students need prior coding experience to complete this activity?
While experience is helpful, it is not strictly required. Teachers can demonstrate the initial fixed ratio code step-by-step before having groups adjust numbers and parameters independently.
What world should be loaded for this lesson?
No specific downloadable world template is required. Students can explore ratios and test their Code Connection jump scripts in any standard Minecraft world.
Adapted from Learning about Ratios via Minecraft by Minecraft Education on Minecraft Education, last updated Jun 19, 2017. This classroom version, the timings and the quiz were written by 9Minecraft Education.















