Minecraft Education: Agent Operator
Variable Vision
Give your build a dial. Store the tower height in a variable, then change one number to change the whole build.
Builder handle: ____________________ Date: ____________
Steps
- Make a variable. In Variables click 'Make a Variable' and name it height. Add 'set height to 10' at the top of a new command called tower. ☐
- Use it in a loop. Add 'repeat height times' and inside it 'agent place down', then 'agent move up by 1'. ☐
- Turn the dial. Run tower. Then change 10 to 20 and run it again somewhere else. Same code, taller tower. ☐
Sky Scaffold
Build a tower at least 20 blocks tall with a 3 × 3 platform on top. Use a variable for the height.
Finish line: Changing only the height number changes the tower height.
What I built: ____________________________________________
One thing I fixed: _______________________________________
Check
- What is a variable?
- ☐ A block type
- ☐ A named box that holds a value you can change
- ☐ A kind of loop
- ☐ A Minecraft mob
- Your tower is 10 tall and you want 25. With a height variable, what do you change?
- ☐ Every block in the loop
- ☐ Only the number in 'set height to'
- ☐ The world settings
- ☐ The Agent's slot
Techie Factory · techiefactory.com