Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Agent: Difference between revisions

From SAS Gaming Wiki
imported>Realshow19
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 11: Line 11:
| spawn = See [[#Usage|Usage]]
| spawn = See [[#Usage|Usage]]
}}
}}
An '''agent''' is a mob that helps [[Minecraft:player]]s 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 {{el|ee}} and {{BE}} worlds connected to a WebSocket server.   
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 {{el|ee}} and {{BE}} worlds connected to a WebSocket server.   


== Spawning ==
== Spawning ==
Line 24: Line 24:
In the ''Education'' and ''Bedrock Editions'', agents can be used in conjunction with WebSocket servers.  
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 [[Minecraft:player]] programs one to use, or edited directly by a GUI that the player can access in-game, in any dimension.
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.
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.


[[File:Agent Flying.png|thumb|An agent in a [[dripstone cave]]]]
[[File:Agent Flying.png|thumb|An agent in a [[dripstone cave]]]]
Agents are completely invulnerable to all forms of [[Minecraft:damage]], although they are targeted by [[Minecraft:zoglin]]s and [[Minecraft:warden]]s. Agents pass through blocks, vehicles, and [[Minecraft:projectile]]s, thus making them unable to ride a [[Minecraft:minecart]] or [[Minecraft:boat]]. Agents cannot be [[Minecraft:Lead|leashed]].
Agents are completely invulnerable to all forms of damage, although they are targeted by zoglins and [[Minecraft:warden]]s. Agents pass through blocks, vehicles, and projectiles, thus making them unable to ride a [[Minecraft:minecart]] or [[Minecraft:boat]]. Agents cannot be [[Minecraft:Lead|leashed]].


Agents can push pressure plates and {{control|use}} [[Minecraft:door]]s, [[Minecraft:button]]s, [[Minecraft:lever]]s, and [[Minecraft:fence gate]]s. They can {{control|destroy}} some blocks that are indestructible in [[Minecraft:Survival]] mode, such as [[Minecraft:bedrock]] and [[Minecraft:command block]], except for [[Minecraft:allow and deny]] blocks.
Agents can push pressure plates and {{control|use}} [[Minecraft:door]]s, [[Minecraft:button]]s, [[Minecraft:lever]]s, and fence gates. They can {{control|destroy}} some blocks that are indestructible in Survival mode, such as [[Minecraft:bedrock]] and command block, except for allow and deny blocks.


=== Agent commands ===
=== Agent commands ===
Line 89: Line 89:
== History ==
== History ==
=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable|{{HistoryLine|pocket alpha}}|{{HistoryLine||v0.16.0|dev=build 1|[[File:Agent.png|32px]] Added agents.}}|{{HistoryLine|||dev=build 2|Removed agents.}}|{{HistoryLine|pocket}}|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Agents have been re-added, hidden in a(n) <code>.apk</code> file.}}|{{HistoryLine|bedrock}}|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added agent [[Minecraft:spawn egg]] texture file.}}|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Agents can now be spawned by putting the command <code>execute @p ~ ~ ~ agent create</code> into an NPC. }}
{{HistoryTable|{{HistoryLine|pocket alpha}}|{{HistoryLine||v0.16.0|dev=build 1|[[File:Agent.png|32px]] Added agents.}}|{{HistoryLine|||dev=build 2|Removed agents.}}|{{HistoryLine|pocket}}|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Agents have been re-added, hidden in a(n) <code>.apk</code> file.}}|{{HistoryLine|bedrock}}|{{HistoryLine||1.8.0|dev=beta 1.8.0.8|Added agent spawn egg texture file.}}|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Agents can now be spawned by putting the command <code>execute @p ~ ~ ~ agent create</code> into an NPC. }}
}}
}}


=== ''Minecraft Education'' ===
=== ''Minecraft Education'' ===
{{HistoryTable|{{HistoryLine|education}}|{{HistoryLine||1.0.1|[[File:Agent.png|32px]] Added learn to code mascot.}}|{{HistoryLine||1.0.2|The entity ID has been changed from <code>learn_to_code_mascot</code> to <code>agent</code>.}}|{{HistoryLine||1.4.0|The default name tag color for agents has been changed to blue.}}|{{HistoryLine||1.7|Agents can now be removed through {{cmd|remove}}.
{{HistoryTable|{{HistoryLine|education}}|{{HistoryLine||1.0.1|[[File:Agent.png|32px]] Added learn to code mascot.}}|{{HistoryLine||1.0.2|The entity ID has been changed from <code>learn_to_code_mascot</code> to <code>agent</code>.}}|{{HistoryLine||1.4.0|The default name tag color for agents has been changed to blue.}}|{{HistoryLine||1.7|Agents can now be removed through {{cmd|remove}}.
|[[Minecraft:Player]]s now can show their agent's coordinates on the [[Minecraft:HUD]].
|Players now can show their agent's coordinates on the HUD.
|{{cmd|summon agent}} now creates or teleports the executor's agent to the executor.
|{{cmd|summon agent}} now creates or teleports the executor's agent to the executor.
|Added spawn eggs for agents.}}|{{HistoryLine||1.20.12|dev=1.20.10.0|Agents now have no range restrictions, it can move and build far away from the player.
|Added spawn eggs for agents.}}|{{HistoryLine||1.20.12|dev=1.20.10.0|Agents now have no range restrictions, it can move and build far away from the player.
Line 105: Line 105:


== Trivia ==
== Trivia ==
*In [[Minecraft:10 Years of Minecraft]], there is a puzzle in the "Library" area that involves controlling an agent with [[Minecraft:glazed terracotta]]. On the {{BE}} version of the map, the agent is added in as a new mob, while on {{JE}}, it is an [[Minecraft:armor stand]] with remodeled [[Minecraft:infested chiseled stone bricks]] on its head.
*In 10 Years of Minecraft, there is a puzzle in the "Library" area that involves controlling an agent with glazed terracotta. On the {{BE}} version of the map, the agent is added in as a new mob, while on {{JE}}, 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''.
*The agent addition in ''Pocket Edition'' was likely accidental due to ''Pocket Edition'' sharing the same codebase as ''Minecraft Education''.


Line 119: Line 119:
File:Some passive mobs.png|An agent with other passive mobs.
File:Some passive mobs.png|An agent with other passive mobs.
File:Education Edition mobs.png|An agent alongside a [[Minecraft:NPC]] and [[Minecraft:camera]] in a tutorial world.
File:Education Edition mobs.png|An agent alongside a [[Minecraft:NPC]] and [[Minecraft:camera]] in a tutorial world.
File:Time agent1.png|Red-eyed version of Agent in [[Minecraft:hour of code]] 2021
File:Time agent1.png|Red-eyed version of Agent in hour of code 2021
File:Time agent2.png|Yellow-eyed version of Agent in [[Minecraft:hour of code]] 2021
File:Time agent2.png|Yellow-eyed version of Agent in hour of code 2021
File:Time agent0.png|Green-eyed version of Agent in [[Minecraft:hour of code]] 2021
File:Time agent0.png|Green-eyed version of Agent in hour of code 2021
File:Time agent3.png|Blue-eyed version of Agent in [[Minecraft:hour of code]] 2021
File:Time agent3.png|Blue-eyed version of Agent in hour of code 2021
File:Time agent4.png|Pink-eyed version of Agent in [[Minecraft:hour of code]] 2021
File:Time agent4.png|Pink-eyed version of Agent in hour of code 2021
</gallery>
</gallery>


Line 130: Line 130:
File:Code Builder Update.png|An agent in an official render.
File:Code Builder Update.png|An agent in an official render.
File:Code Builder Update agent cutout.png|Ditto but cut-out
File:Code Builder Update agent cutout.png|Ditto but cut-out
File:Efe, Noor, and Agent.png|An agent with [[Minecraft:Efe]] and [[Minecraft:Noor]]
File:Efe, Noor, and Agent.png|An agent with [[Minecraft:Efe]] and Noor
File:Learn to Code Update.png|An agent in promotional artwork for the [[Minecraft:Learn to Code Update|''Learn to Code Update'']].
File:Learn to Code Update.png|An agent in promotional artwork for the ''Learn to Code Update''.
File:GOAT Update.jpg|An agent in promotional artwork for the [[Minecraft:GOAT Update|''GOAT Update'']].
File:GOAT Update.jpg|An agent in promotional artwork for the ''GOAT Update''.
File:Mobile, Multiplayer & More.png|An agent in promotional artwork for [[Minecraft:Mobile, Multiplayer & More|''Mobile, Multiplayer & More'']].
File:Mobile, Multiplayer & More.png|An agent in promotional artwork for ''Mobile, Multiplayer & More''.
File:Redstone IRL.jpg|An agent building [[Minecraft:redstone]] contraptions with children.
File:Redstone IRL.jpg|An agent building [[Minecraft:redstone]] contraptions with children.
File:Agent's laptop.jpg|An agent touching a laptop showing the loading screen of [[Minecraft:Minecraft Education|''Minecraft Education'']].
File:Agent's laptop.jpg|An agent touching a laptop showing the loading screen of [[Minecraft:Minecraft Education|''Minecraft Education'']].
Line 139: Line 139:
File:Education Poster.png|An agent in promotional artwork.
File:Education Poster.png|An agent in promotional artwork.
File:InspirationIsland screenshot 0.jpg|Half a statue of an agent in the ''Mirror'' section of [[Minecraft:Inspiration Island|''Inspiration Island'']]. The player is required to build the other half.
File:InspirationIsland screenshot 0.jpg|Half a statue of an agent in the ''Mirror'' section of [[Minecraft:Inspiration Island|''Inspiration Island'']]. The player is required to build the other half.
File:Nitwit Ravager Agent.jpeg|An agent with a [[Minecraft:nitwit]] picking [[Minecraft:apples]] with a [[Minecraft:ravager]].   
File:Nitwit Ravager Agent.jpeg|An agent with a nitwit picking apples with a ravager.   
</gallery>
</gallery>


Line 153: Line 153:
[[Category:Minecraft Education mobs]]
[[Category:Minecraft Education mobs]]


[[Minecraft:de:Agent]]
de:Agent
[[Minecraft:es:Agente]]
es:Agente
[[Minecraft:fr:Agent]]
fr:Agent
[[Minecraft:ja:エージェント]]
ja:エージェント
[[Minecraft:ko:에이전트]]
ko:에이전트
[[Minecraft:pl:Agent]]
pl:Agent
[[Minecraft:pt:Agente]]
pt:Agente
[[Minecraft:ru:Агент]]
ru:Агент
[[Minecraft:th:เอเจนต์]]
th:เอเจนต์
[[Minecraft:zh:智能体]]
zh:智能体

Revision as of 15:18, 9 April 2026

Template:ExclusiveTemplate: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 Template:El and Template:BE 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 Template:Cmd 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 Template:Cmd. 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 Template:W.

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.

File:Agent Flying.png
An agent in a dripstone cave

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 Template:Control Minecraft:doors, Minecraft:buttons, Minecraft:levers, and fence gates. They can Template:Control some blocks that are indestructible in Survival mode, such as Minecraft:bedrock and command block, except for allow and deny blocks.

Agent commands

Template:Main

  • 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 agent
  • remove agent
  • teleport to player
  • teleport to location facing direction
  • collect <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

Template:SoundTable

Data values

ID

Template:ID table

History

Bedrock Edition

Template:HistoryTable

Minecraft Education

Template:HistoryTable

Issues

Template: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 Template:BE version of the map, the agent is added in as a new mob, while on Template:JE, 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

In other media

External links

Navigation

Template:Navbox entities Template:Navbox EducationTemplate:Featured

de:Agent es:Agente fr:Agent ja:エージェント ko:에이전트 pl:Agent pt:Agente ru:Агент th:เอเจนต์ zh:智能体