Lesson · with Voxel · Rookie rank
Wake Up the Agent
Open Code Builder, call the Agent to you and make it place its first block with code.
You need
- Minecraft Education
- A new flat creative world
- The printable mission sheet (optional)
Setup
- Create a new world: Game Mode Creative, flat world on, cheats on.
- Press C to open Code Builder, then choose MakeCode and start a New Project named 'Operator'.
Steps
Call the Agent
From the Player category drag 'on chat command "run"' into the workspace. Change "run" to "come". From Agent drag 'agent teleport to player' inside it.
Test it
Click the green play button to leave Code Builder. Press T to open chat, type come and press Enter. The Agent should appear next to you.
Give the Agent blocks
Make a second command called build. Inside it add 'agent set active slot 1', then 'agent place forward', then 'agent move forward by 1'. Put some blocks in the Agent's inventory slot 1 (right-click the Agent).
Run it
Type build in chat. One block appears. Run it a few more times and watch a line grow.
Build task
Build your HQ marker
Use your build command to make a short wall in front of your team HQ. Add one secret detail only you know about.
Finish line: A wall of at least 5 blocks placed by the Agent, not by hand.