Minecraft:Commands/aigoals: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| Line 1: | Line 1: | ||
{{about|the command||AI}} | |||
{{Outdated feature}} | {{Outdated feature}} | ||
{{ | {{exclusive|bedrock}} | ||
{{Infobox command | {{Infobox command | ||
| name = aigoals | | name = aigoals | ||
| Line 11: | Line 12: | ||
When the drawing of AI goals is enabled, it shows information above every mobs head. | When the drawing of AI goals is enabled, it shows information above every mobs head. | ||
* '''Resource location''' of the mobs identifier (e.g.: minecraft:cow) | * '''Resource location''' of the mobs [[Minecraft:Resource location|identifier]] (e.g.: minecraft:cow) | ||
* '''Health and maximum health''' of the mob (e.g.: Health: 10/10) | * '''Health and maximum health''' of the mob (e.g.: Health: 10/10) | ||
* '''Speed''' of the mob (e.g.: Speed: 0,250000) | * '''Speed''' of the mob (e.g.: Speed: 0,250000) | ||
| Line 25: | Line 26: | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{ | |{{HistoryLine||1.2.13|dev=release|Accidentally added developer commands to iOS, including {{cmd|link=none|aigoals}}.}} | ||
|{{ | |{{HistoryLine||1.2.14|Removed all developer commands.}} | ||
}} | }} | ||
| Line 35: | Line 36: | ||
</gallery> | </gallery> | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox commands}} | ||
Latest revision as of 11:05, 19 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Outdated feature Template:Exclusive Template:Infobox command
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 mobs head.
- Resource location of the mobs 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
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:hea lth, 20 in maximum health, and 0.5 in minecraft:speed