Minecraft:Agent: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 88: | Line 88: | ||
{{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 [[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. }} | ||
|{{HistoryLine|bedrock upcoming}} | |{{HistoryLine|bedrock upcoming}} | ||
|{{HistoryLine||26.50|dev= | |{{HistoryLine||26.50|dev=Preview 26.50.25|The behavior of agents is now available in the vanilla behavior pack.}} | ||
|{{HistoryLine|||dev=Preview 26.50.26|The behavior of agents is once again hardcoded and no longer avaliable in the vanilla behavior pack.}} | |||
}} | }} | ||
| Line 105: | Line 106: | ||
== 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 [[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. | ||
== Gallery == | == Gallery == | ||
Latest revision as of 11:00, 23 August 2026
Template:ExclusiveTemplate:Infobox entity An agent is a mob that helps Minecraft: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 these have no AI unless spawned by putting the command Template:Cmd or 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. After spawning them, they may not be removed in Bedrock Edition.Template:Verify
Agents can be spawned with its spawn egg, obtainable with Template:Cmd. However, they do not spawn while using its spawn egg in Template:BE. Agents always spawn with a name tag hovering over them which says the player's name and then ".Agent".
Usage
In Minecraft Education, agents are used in conjunction with Minecraft:Code Connection, and are programmable by a Template:W.
In the Minecraft Education and Bedrock Edition, 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.
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 Minecraft:damage, although they are targeted by Minecraft:wardens. Agents pass through blocks, vehicles, and Minecraft: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 Minecraft:fence gates. They can Template:Control some blocks that are indestructible in Minecraft:Survival mode, such as Minecraft:bedrock and Minecraft:command block, except for Minecraft:allow and Minecraft:deny blocks.
Agent commands
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
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 Template:BE version of the map, the agent is added in as a new mob, while on Template:JE, it is an Minecraft:armor stand with remodeled Minecraft:infested chiseled stone bricks on its head.
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 Minecraft:hour of code 2021
-
Yellow-eyed version of Agent in Minecraft:hour of code 2021
-
Green-eyed version of Agent in Minecraft:hour of code 2021
-
Blue-eyed version of Agent in Minecraft:hour of code 2021
-
Pink-eyed version of Agent in Minecraft:hour of code 2021
In other media
-
An agent in an official artwork
-
An official render of the agent from Minecraft Education's artwork
-
An agent with Minecraft:Efe and Minecraft: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.
External links
Template:Navbox entities Template:Navbox EducationTemplate:Featured
Minecraft:de:Agent Minecraft:es:Agente Minecraft:fr:Agent Minecraft:ja:エージェント Minecraft:ko:에이전트 Minecraft:lzh:役者 Minecraft:pl:Agent Minecraft:pt:Agente Minecraft:ru:Агент Minecraft:th:เอเจนต์ Minecraft:uk:Агент Minecraft:zh:智能体