Entity AI goal reference (4/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.barter
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_barter.md)
Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component.
[!Note] Requires the
minecraft:bartercomponent andbarter_tableloot table in order to work properly.
[!Note] Requires the following component in order to work properly:
- Barter (minecraft:barter)
Entity Barter Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| 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. |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Samples
minecraft:behavior.beg
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_beg.md)
Allows this mob to look at and follow the player that holds food they like.
Entity Beg Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| items | [] | String | List of items that this mob likes |
| items (as Keyed set of strings) | not set | Keyed set of strings | |
| look_distance | 8 | Decimal number | Distance in blocks the mob will beg from |
| look_time | {"max":4,"min":2} | Look Time item | The range of time in seconds this mob will stare at the player holding a food they like, begging for it |
| 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. |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Block IntRange
Block IntRange Properties
JSON path: look_time
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Integer number | |
| min | 0 | Integer number |
Samples
minecraft:behavior.break_door
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_break_door.md)
Allows this mob to break doors.
[!Note] Not currently used by any entities within Minecraft: Bedrock Edition. In its place, the parameter
can_break_doorshas been added to theminecraft:navigationcomponent to allow entities to break down doors.
Entity Break Door Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| 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. |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
minecraft:behavior.breed
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_breed.md)
Allows this mob to breed with other mobs.
[!Note] Requires the following component in order to work properly:
- Breedable (minecraft:breedable)
Entity Breed Behavior Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| 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. | Chicken: 3, Frog: 4 |
| speed_multiplier | 1 | Decimal number | Movement speed multiplier applied to the mob when using this AI Goal. | Chicken: 1, Goat: 0.6 |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Samples
Chicken
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1
}
Frog
"minecraft:behavior.breed": {
"priority": 4
}
Goat
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 0.6
}
Llama
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1
}
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |