Minecraft Wiki

The Minecraft Wiki has moved from Fandom; see the linked discussion page for details.

READ MORE

Minecraft Wiki
Advertisement

Information icon
This feature is exclusive to Minecraft Education. 
Dark Oak Sapling
This article is a stub. 
You can help by expanding it.

The agent is a mob limited to the Education Edition . It helps players learn coding, by getting players to code the actions on the agent. This mob was re-added to the Pocket Edition and Bedrock Edition.

Usage

The agent is used in conjunction with Code Connection for Minecraft, and is programmable by a visual ScratchX interface.

The agent carries its own 27-item inventory, which can be manipulated by commands the player programs it to use, or edited directly by a GUI that the player can access in-game.

The visual interface allows the player to drag and drop commands, structural constructs and other components into a sequence, and associate the sequence with a custom-named slash command which can be executed in the traditional way, from the console.

The agent cannot be spawned, as it lacks a spawn egg.

Agent commands

  • move <direction>
  • turn <turnDirection>
  • attack <direction>
  • destroy <direction>
  • drop <int:slotNum> <int:quantity> <direction>
  • dropall <direction>
  • inspect <direction>
  • inspectdata <direction>
  • detect <direction>
  • detectredstone <direction>
  • transfer <int:srcSlotNum> <int:quantity> <int:dstSlotNum>
  • createagent
  • tpagent
  • collect <string:item>
  • till <direction>
  • place <int:slotNum> <direction>
  • getitemcount <int:slotNum>
  • getitemspace <int:slotNum>
  • getitemdetail <int:slotNum>

<direction> refers to forward|back|left|right|up|down

<turnDirection> refers to left|right

History

Pocket Edition Alpha
0.16.0build 1Added agent.
build 2Removed agent.
Pocket Edition
1.0build 1Agent was re-added hidden in .apk file.
Education Edition
1.0.1The agent was added as "learn to code mascot".

Trivia

  • The entity ID of the agent remains learn_to_code_mascot which was the previous name.
  • The model of the agent is similar to the iron golems, but is smaller and its texture is different.
  • The agent is seen in the official image of Minecraft: Education Edition.

Gallery

Advertisement