Entity AI goal reference (20/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.jump_around_target
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_jump.around_target.md)
Allows an entity to jump around a target.
[!Note] In format version 1.26.20,
valid_distance_to_targetandlanding_distance_from_targetmust be specified as Float Range objects (objects withrange_min/range_max). Legacy scalar or array forms no longer parse.
[!Note] This item requires a format version of at least 1.21.30.
Entity Jump Around Target Behavior Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| check_collision | false | Boolean true/false | Enables collision checks when calculating the jump. Setting check_collision to true may affect performance and should be used with care. | |
| control_flags | [] | Control Flags choices | ||
| entity_bounding_box_scale | 0.699999988079071 | Decimal number | Scaling temporarily applied to the entity's AABB bounds when jumping. | Breeze: 0.7 |
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | Conditions that need to be met for the behavior to start. | Breeze: {"all_of":[{"any_of":[{"test":"in_water","value":true},{"test":"on_ground","value":true}]},{"test":"is_riding","value":false},{"test":"in_lava","value":false}]} |
| filters (Alternate 1) | not set | Object | ||
| jump_angles | [40, 55, 60, 75, 80] | Array of numbers | The jump angles in float degrees that are allowed when performing the jump. The order in which the angles are chosen is randomized. | Breeze: [40,55,60,75,80] |
| jump_cooldown_duration | 0.5 | Decimal number | The time in seconds to spend in cooldown before this goal can be used again. | Breeze: 0.5 |
| jump_cooldown_when_hurt_duration | 0.10000000149011612 | Decimal number | The time in seconds to spend in cooldown after being hurt before this goal can be used again. | Breeze: 0.1 |
| landing_distance_from_target | {"max":8,"min":4} | Landing Distance From Target item | The range deciding how close to and how far away from the target the landing position can be when jumping. | Breeze: {"min":4,"max":8} |
| landing_position_spread_degrees | 90 | Integer number | This angle (in degrees) is used for controlling the spread when picking a landing position behind the target. | Breeze: 90 |
| last_hurt_duration | 2 | Decimal number | If the entity was hurt within these last seconds, the jump_cooldown_when_hurt_duration will be used instead of jump_cooldown_duration. | Breeze: 2 |
| line_of_sight_obstruction_height_ignore | 4 | Integer number | If the entity's line of sight towards its target is obstructed by an obstacle with a height below this number, the obstacle will be ignored, and the goal will try to find a valid landing position. | Breeze: 4 |
| max_jump_velocity | 1.399999976158142 | Decimal number | Maximum velocity a jump can be performed at. | Breeze: 1.4 |
| prepare_jump_duration | 0.5 | Decimal number | The time in seconds to spend preparing for the jump. | Breeze: 0.5 |
| 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. | Breeze: 5 |
| required_vertical_space | 4 | Integer number | The number of blocks above the entity's head that has to be air for this goal to be usable. | Breeze: 4 |
| snap_to_surface_block_range | 10 | Integer number | The number of blocks above and below from the jump target position that will be checked to find a surface to land on. | Breeze: 10 |
| valid_distance_to_target | {"max":20,"min":4} | Valid Distance To Target item | Target needs to be within this range for the jump to happen. | Breeze: {"min":4,"max":20} |
entity_bounding_box_scale
Scaling temporarily applied to the entity's AABB bounds when jumping. A smaller bounding box reduces the risk of collisions during the jump. When check_collision is true it also increases the chance of being able to jump when close to obstacles.
landing_position_spread_degrees
This angle (in degrees) is used for controlling the spread when picking a landing position behind the target. A zero spread angle means the landing position will be straight behind the target with no variance. A 90 degree spread angle means the landing position can be up to 45 degrees to the left and to the right of the position straight behind the target's view direction.
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Filters
Filters Properties
JSON path: 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. |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: landing_distance_from_target
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Samples
Breeze
"minecraft:behavior.jump_around_target": {
"jump_cooldown_duration": 0.5,
"check_collision": false,
"filters": {
"all_of": [
{
"any_of": [
{
"test": "in_water",
"value": true
},
{
"test": "on_ground",
"value": true
}
]
},
{
"test": "is_riding",
"value": false
},
{
"test": "in_lava",
"value": false
}
]
},
"entity_bounding_box_scale": 0.7,
"landing_position_spread_degrees": 90,
"required_vertical_space": 4,
"jump_angles": [
40,
55,
60,
75,
80
],
"jump_cooldown_when_hurt_duration": 0.1,
"landing_distance_from_target": {
"min": 4,
"max": 8
},
"last_hurt_duration": 2,
"line_of_sight_obstruction_height_ignore": 4,
"max_jump_velocity": 1.4,
"prepare_jump_duration": 0.5,
"priority": 5,
"snap_to_surface_block_range": 10,
"valid_distance_to_target": {
"min": 4,
"max": 20
}
}
minecraft:behavior.jump_to_block
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_jump.to_block.md)
Allows an entity to jump to another random block.
[!Note] In format version 1.26.20,
cooldown_rangemust be specified as a Float Range object (an object withrange_min/range_max). Legacy scalar or array forms no longer parse.
Entity Jump To Block Behavior Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| cooldown_range | {"max":20,"min":10} | Cooldown Range item | Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump. | Frog: {"min":5,"max":7}, Goat: [30,60] |
| forbidden_blocks | [] | String | Blocks that the mob can't jump to. | Frog: [{"name":"minecraft:water"}] |
| forbidden_blocks (as Keyed set of strings) | not set | Keyed set of strings | ||
| max_velocity | 1.5 | Decimal number | The maximum velocity with which the mob can jump. | Frog: 1 |
| minimum_distance | 2 | Integer number | The minimum distance (in blocks) from the mob to a block, in order to consider jumping to it. | Frog: 1 |
| minimum_path_length | 5 | Integer number | The minimum length (in blocks) of the mobs path to a block, in order to consider jumping to it. | Frog: 2, Goat: 8 |
| preferred_blocks | [] | String | Blocks that the mob prefers jumping to. | Frog: [{"name":"minecraft:waterlily"},{"name":"minecraft:big_dripleaf"}] |
| preferred_blocks (as Keyed set of strings) | not set | Keyed set of strings | ||
| preferred_blocks_chance | 1 | Decimal number | Chance (between 0.0 and 1.0) that the mob will jump to a preferred block, if in range. Only matters if preferred blocks are defined. Value must be <= 1. | Frog: 0.5 |
| 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. | Frog: 10, Goat: 8 |
| scale_factor | 0.699999988079071 | Decimal number | The scalefactor of the bounding box of the mob while it is jumping. | Frog: 0.6 |
| search_height | 10 | Integer number | The height (in blocks, in range [1, 15]) of the search box, centered around the mob. Value must be >= 1. Value must be <= 15. | Frog: 4, Goat: 10 |
| search_width | 8 | Integer number | The width (in blocks, in range [1, 15]) of the search box, centered around the mob. Value must be >= 1. Value must be <= 15. | Frog: 8, Goat: 10 |
cooldown_range
Minimum and maximum cooldown time-range (positive, in seconds) between each attempted jump. Check that the limits imposed on the range (minimum, maximum and maximum distance between values) are respected.
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: cooldown_range
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Samples
Frog
"minecraft:behavior.jump_to_block": {
"cooldown_range": {
"min": 5,
"max": 7
},
"priority": 10,
"max_velocity": 1,
"forbidden_blocks": [
{
"name": "minecraft:water"
}
],
"minimum_distance": 1,
"minimum_path_length": 2,
"preferred_blocks": [
{
"name": "minecraft:waterlily"
},
{
"name": "minecraft:big_dripleaf"
}
],
"preferred_blocks_chance": 0.5,
"scale_factor": 0.6,
"search_height": 4,
"search_width": 8
}
Goat
"minecraft:behavior.jump_to_block": {
"priority": 8,
"search_width": 10,
"search_height": 10,
"minimum_path_length": 8,
"minimum_distance": 1,
"scale_factor": 0.6,
"cooldown_range": [
30,
60
]
}
minecraft:behavior.knockback_roar
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_knockback_roar.md)
Allows the mob to perform a damaging knockback that affects all nearby entities.
Entity Knockback Roar Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| attack_time | 0.5 | Decimal number | The delay after which the knockback occurs (in seconds). |
| control_flags | [] | Control Flags choices | |
| cooldown_time | 0.10000000149011612 | Decimal number | Time (in seconds) the mob has to wait before using the goal again. |
| damage_filters (Damage Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Damage Filters item | The list of conditions another entity must meet to be a valid target to apply damage to. |
| damage_filters (Alternate 1) | not set | Object | |
| duration | 1 | Decimal number | The max duration of the roar (in seconds). |
| knockback_damage | 6 | Integer number | The damage dealt by the knockback roar. |
| knockback_filters (Knockback Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Knockback Filters item | The list of conditions another entity must meet to be a valid target to apply knockback to. |
| knockback_filters (Alternate 1) | not set | Object | |
| knockback_height_cap | 0.4000000059604645 | Decimal number | The maximum height for vertical knockback. |
| knockback_horizontal_strength | 4 | Integer number | The strength of the horizontal knockback. |
| knockback_range | 4 | Integer number | The radius (in blocks) of the knockback effect. |
| knockback_vertical_strength | 4 | Integer number | The strength of the vertical knockback. |
| on_roar_end (Entity ActorDefinitionTrigger) | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Roar End item | Event that is triggered when the roar ends. Can be an object with event and target properties, or a simple event string. |
| on_roar_end (as String) | not set | String | |
| 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 |
Damage Filters
Damage Filters Properties
JSON path: damage_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. |
Knockback Filters
Same structure as Damage Filters.
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_roar_end
| 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_roar_end > 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 |
Samples
minecraft:behavior.lay_down
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_lay_down.md)
Allows mobs to lay down at times.
Entity Lay Down Behavior Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| interval | 120 | Integer number | A random value to determine at what intervals something can occur. This has a 1/interval chance to choose this goal |
| 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. |
| random_stop_interval | 120 | Integer number | A random value in which the goal can use to pull out of the behavior. This is a 1/interval chance to stop laying down |
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 |