8-10 yrs old
Students will use code to help model light, sound, heat, and electrical energy transfer.
October 29, 2018
World file for student use
Lesson plan in Word format.
Blocks can be copied and placed in a different location using the clone command .
Given coordinates, the fill command can fill a space with blocks .
Sound energy diminishes over distance traveled .
Electrical energy can be transferred over wire .
Heat energy can be transferred through the atmosphere .
Light (energy) from the sun helps plants grow .
Students will benefit from an understanding of the relative coordinate system used in this activity to fill and clone blocks. There are 3 coordinates represented by ~0 ~0 ~0. With a student standing on a block, the first coordinate reflects east/west orientation. West is negative and east is positive. The second number is the relative position up (positive), or down (negative). The final number reflects a position north (negative), or south (positive) of the player. In this world, the students face north upon spawn and great the NPC. The greenhouse is east, wood pile south, and note blocks are west.
This activity is best completed by individuals, or by students working in pairs.
Students will visit 3 stations to interact with models that demonstrate energy transfer.
Fly to the obsidian block on top of the southwest corner of the building. Investigate the number of blocks east and north of that position. This will be used in the fill with command.
Create an on chat command and place a fill with command within it.
Run the command. If a mistake is made, students can create a copy (crtl+C then ctrl+V) and rename it “undo.” Change the block from glass to air and run the command.
Have the agent plant trees around the perimeter of the greenhouse. Students should stand on the obsidian block on the ground in the northwest corner of the building and create a command to teleport the agent to them. Command the agent to face south. Add a sapling into the agent’s inventory.
Allow students to experiment given the instructions below:
on chat command “trees”
repeat (5) times do
agent move [forward] by 6
agent place [back]
agent turn left
Students can copy this stack and paste it 3 more times, attaching each to the bottom. This will instruct the agent to plant trees along all 4 sides of the greenhouse.
Attach a button to the east facing side of the stone block next to the sign with the arrow. Press the button and a tune will play. Students should not make any adjustments to this set-up before cloning their own copy to play with.
To stop the repeating tune, break the circuit (redstone) on top of any sand block.
Standing on the obsidian block in the southeast corner, students will make a clone of the set-up and place it adjacent to this one using this clone from command:
on chat command “clone”
Students can now adjust the note blocks by right-clicking on them and can also adjust the electrical timing. As students move away from the note block, the volume decreases.
Students will find “fire charges” inside the chests. They are to place at least one charge into each dispenser. An inverted light sensor sits atop each dispenser. When night falls the dispensers will shoot out (transfer) the charges, igniting the wood. As the wood burns, it will likely transfer heat energy to the rooftop. Students will also witness “smoke” being transferred into the atmosphere.
When students are ready for night to fall, have them type . . .
/time set sunset
Students will demonstrate their understanding of a fill command by creating a glass rooftop for the greenhouse.
They will share their understanding of agent movement and block placement by coding their agent to plant tress around the perimeter of the greenhouse.
They will witness how sound energy travels over distance by cloning a note block station and creating a tune.
They will be able to describe how heat energy is transferred from fire charge to logs to rooftop to the atmosphere.
Students should be able to answer the following questions:
Sign up for the Minecraft: Education Edition newsletter. We promise to respect your inbox.