Commands/aigoals
Minecraft Wiki article. Categories: Removed_features, Bedrock_Edition, Commands
📌 Mirrored from Minecraft Wiki
This article is reproduced from Commands/aigoals on the Minecraft Wiki. Mirrored from revision 3676917. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
On this page
This feature is exclusive to Bedrock Edition.
/aigoals{
"title": "<code>/aigoals</code>",
"rows": [
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Toggles the display of AI and pathfinding info of mobs.
Showed information
When the drawing of AI goals is enabled, it shows information above every mob's head.
- Resource location of the mob's identifier (e.g.:
minecraft:cow) - Health and maximum health of the mob (e.g.: Health: 10/10)
- Speed of the mob (e.g.: Speed: 0,250000)
- Active AI goals of the mob (e.g.: RandomLookAround)
Syntax
aigoals
Result
Always successful.
History
| Bedrock Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.2.13 | release | Accidentally added developer commands to iOS, including /aigoals. | |||||
| 1.2.14 | Removed all developer commands. | ||||||
Gallery
-
A villager spawning in village. On the top shows the coordinate of the village, and on the bottom shows the AI and attribute of the village. This villager is running component minecraft:behavior.look_at_entity, so it is set to 20 in minecraft:health, 20 in maximum health, and 0.5 in minecraft:speed
Navigation
Sources
- Commands/aigoals — Minecraft Wiki, CC BY-NC-SA 3.0, revision 3676917.