8-10 yrs old
Math & Economics
Build a dam using Code Builder and add a floodgate that will allow villagers to mine gold ore.
January 25, 2019
World file for student use
Before beginning, students should understand how to use the Code Builder interface to locate player and agent commands.
Player agents can be used to move and place blocks in any direction and can be relied upon to return to the player when needed
Engineers design and test prototypes before using them in the real world.
Pistons move up or down when activated and can be used to model the action of a gate.
Students can work individually or in pairs to complete this challenge. Time permitting, there are two tasks to complete:
Students will need to investigate the dam site and determine how many blocks of sand they will need to stop the flow of water. The dam is to be built across the ravine in the space between the two red sandstone blocks. The dam should be built on top of the bedrock blocks.
Next, they should visit the workshop area where they will find a model foundation that they can use to test their designs and build a prototype.
They should use the agent to complete the build using player and agent commands. They should be able to complete this task by combining the following commands:
Encourage students to test multiple options and share successful or innovative code with other groups. They may need to create multiple chat commands to complete the task.
To create a floodgate, students will need to attach a block of sand in the top row of their dam to an extended sticky piston that is next to a lever. Pushing the lever retracts the piston, thereby pulling the block of sand (the gate) open, releasing the water.
Students will demonstrate their understanding by running their code with the teacher present.
Students will create and test an assortment of commands before building the dam. They can record their attempts and failures with screenshots to share at the end of the activity.
A working piston-driven floodgate allows the water flow to be controlled.
A prototype dam built by the agent can be found in the workshop area.
Students should be able to answer the following questions:
Sign in with your Microsoft account and sign up for the Minecraft: Education Edition newsletter. We promise to respect your inbox.