Entity AI goal reference (1/41)
This page carries the AI goal (behavior) pages of MS Learn (MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0). IDs, property names, types, default values and JSON are as in the original. The full list is in the index.
minecraft:behavior.admire_item
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_admire_item.md)
Enables the mob to admire items that have been configured as admirable.
[!Note] In format version 1.26.20,
sound_intervalmust be specified as a Float Range object (an object withrange_min/range_max). Legacy scalar or array forms no longer parse.
[!Note] Requires the following component in order to work properly:
- Admire Item (minecraft:admire_item)
Entity Admire Item Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| admire_item_sound | String | The sound event to play when admiring the item | |
| control_flags | [] | Control Flags choices | |
| on_admire_item_start | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Admire Item Start item | Event to run when the mob starts admiring an item. |
| on_admire_item_stop | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Admire Item Stop item | Event to run when the mob stops admiring an item. |
| priority | 0 | Integer number | As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal. |
| sound_interval (Legacy FloatRange) | 0 | Sound Interval item | The range of time in seconds to randomly wait before playing the sound again. Can be a number, an array [min, max], or an object with range_min and range_max. |
| sound_interval (as Array of objects) | not set | Array of Sound Interval items | |
| sound_interval (as Object) | not set | Sound Interval item |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Entity ActorDefinitionTrigger
Triggers an entity event when specified conditions are met. Events activate component groups that change entity behavior—transforming villagers into zombie villagers, switching mobs to aggressive mode, or triggering growth stages. Combine with filters to create conditional state machines that respond to gameplay.
Entity ActorDefinitionTrigger Properties
JSON path: on_admire_item_start
| Name | Default Value | Type | Description |
|---|---|---|---|
| event | String | ||
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | Filters allow data objects to specify test criteria which allows their use. |
| filters (Alternate 1) | not set | Object | |
| target | self | Target choices |
filters
Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.
Filters
Filters Properties
JSON path: on_admire_item_start > filters
| Name | Default Value | Type | Description |
|---|---|---|---|
| domain | not set | Object | The domain the test should be performed in. |
| operator | not set | Object | The comparison to apply with 'value'. |
| subject | not set | Object | The subject of this filter test. |
| test | not set | String | The name of the test to apply. |
| value | not set | Object | The value being compared with the test. |
Target choices
| Value | Title | Description |
|---|---|---|
| baby | Baby | |
| block | Block | |
| damager | Damager | |
| holder | Holder | |
| item | Item | |
| other | Other | |
| parent | Parent | |
| player | Player | |
| self | Self | |
| target | Target |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: sound_interval
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Sound Interval
Sound Interval Properties
JSON path: sound_interval
| Name | Default Value | Type | Description |
|---|---|---|---|
| 0 | not set | Integer number | |
| 1 | not set | Integer number |
Samples
minecraft:behavior.aquatic_charge_attack
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_aquatic_charge_attack.md)
Enables an aquatic mob to dash at its target with knockback; includes overshoot and cooldown settings.
Entity Aquatic Charge Attack Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| attack_reach | 0.05000000074505806 | Decimal number | Horizontal reach grown around the mob's AABB to register a hit. |
| charge_cooldown_time | {"max":6,"min":2} | Charge Cooldown Time item | Range of time in seconds to wait before starting another charge. Check that the limits imposed on the range (minimum, maximum and maximum distance between values) are respected |
| charge_overshoot_distance | 1.5 | Decimal number | Distance beyond the target the mob aims during a charge. |
| charge_speed | 0.05999999865889549 | Decimal number | Absolute speed used during the charge attack. Value must be >= 0.05000000074505806. |
| control_flags | [] | Control Flags choices | |
| knockback_force | 2 | Decimal number | Knockback force applied to the target on hit. |
| max_charge_distance | 16 | Decimal number | Maximum distance at which the mob attempts a charge. |
| priority | 0 | Integer number |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: charge_cooldown_time
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Samples
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |