Minecraft:Agent
More actions
Script error: No such module "Exclusive".Template:Infobox entity An agent is a mob that helps players learn coding, by getting a player to code the actions on one. Agents can be programmed to execute several tasks, like planting and harvesting, mining, chopping trees, and building. It is only available in
- REDIRECT Template:Edition
Template:Rcat and Bedrock Edition worlds connected to a WebSocket server.
Spawning
In a Bedrock Edition world not connected to a WebSocket server, agents are unused and thus have no AI unless spawned by putting the command
- REDIRECT Template:Command
Template:Redr into an Minecraft:NPC, but can still store items given to them by a player in its inventory. Agents can also teleport between dimensions with the player.
Agents can be spawned with its spawn egg, obtainable with
- REDIRECT Template:Command
Template:Redr. However, they do not spawn when spawned with the spawn egg.
Usage
In Minecraft Education, agents are used in conjunction with Minecraft:Code Connection, and are programmable by a
- REDIRECT Template:Wikipedia
In the Education and Bedrock Editions, agents can be used in conjunction with WebSocket servers.
Agents carry their own 27-slot Minecraft:inventory, which can be manipulated by Minecraft:commands that the player programs one to use, or edited directly by a GUI that the player can access in-game, in any dimension.
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.
Agents are completely invulnerable to all forms of damage, although they are targeted by zoglins and Minecraft:wardens. Agents pass through blocks, vehicles, and projectiles, thus making them unable to ride a Minecraft:minecart or Minecraft:boat. Agents cannot be leashed.
Agents can push pressure plates and {{#vardefine: control | right click on mouse or left trigger on gamepad }}use Minecraft:doors, Minecraft:buttons, Minecraft:levers, and fence gates. They can {{#vardefine: control | left click on mouse or right trigger on gamepad }}destroy some blocks that are indestructible in Survival mode, such as Minecraft:bedrock and command block, except for allow and deny blocks.
Agent commands
{{#vardefine:params|0 }}Template:Hatnote
attack <direction>destroy <direction>drop <int:slotNum> <int:quantity> <direction>drop all <direction>move <direction>turn <turnDirection>inspect <direction>inspect data <direction>detect <direction>detectredstone <direction>transfer <int:srcSlotNum> <int:quantity> <int:dstSlotNum>create agentremove agentteleport to playerteleport to location facing directioncollect <string:item>till <direction>place <int:slotNum> <direction>place on move<int:slotNum> <true/false>get item count <int:slotNum>get item space <int:slotNum>get item detail <int:slotNum>
<direction> refers to forward|back|left|right|up|down
<turnDirection> refers to left|right
Sounds
Data values
ID
History
Bedrock Edition
Minecraft Education
Issues
Script error: No such module "Issue list".
Trivia
- In 10 Years of Minecraft, there is a puzzle in the "Library" area that involves controlling an agent with glazed terracotta. On the Bedrock Edition version of the map, the agent is added in as a new mob, while on Java Edition, it is an armor stand with remodeled infested chiseled stone bricks on its head.
- The agent addition in Pocket Edition was likely accidental due to Pocket Edition sharing the same codebase as Minecraft Education.
Gallery
Textures
Screenshots
-
An agent.
-
An agent with other passive mobs.
-
An agent alongside a Minecraft:NPC and Minecraft:camera in a tutorial world.
-
Red-eyed version of Agent in hour of code 2021
-
Yellow-eyed version of Agent in hour of code 2021
-
Green-eyed version of Agent in hour of code 2021
-
Blue-eyed version of Agent in hour of code 2021
-
Pink-eyed version of Agent in hour of code 2021
In other media
-
An agent in an official render.
-
Ditto but cut-out
-
An agent with Minecraft:Efe and Noor
-
An agent in promotional artwork for the Learn to Code Update.
-
An agent in promotional artwork for the GOAT Update.
-
An agent in promotional artwork for Mobile, Multiplayer & More.
-
An agent building Minecraft:redstone contraptions with children.
-
An agent touching a laptop showing the loading screen of Minecraft Education.
-
An agent in promotional artwork.
-
Half a statue of an agent in the Mirror section of Inspiration Island. The player is required to build the other half.
-
An agent with a nitwit picking apples with a ravager.
External links
| |||||||||||||||||
Template:Article otherTemplate:Featured
de:Agent es:Agente fr:Agent ja:エージェント ko:에이전트 pl:Agent pt:Agente ru:Агент th:เอเจนต์ zh:智能体