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.

Intro video coming soon. Steps below are complete.

You need

  • Minecraft Education
  • A new flat creative world
  • The printable mission sheet (optional)

Setup

  1. Create a new world: Game Mode Creative, flat world on, cheats on.
  2. Press C to open Code Builder, then choose MakeCode and start a New Project named 'Operator'.

Steps

  1. 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.

  2. 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.

  3. 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).

  4. 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.

Check your understanding

1. Which key opens Code Builder in Minecraft Education?
2. You type come in chat and nothing happens. What should you check first?
3. What does 'agent move forward by 1' do?
Guest mode: your result is saved on this device only.