Entity AI goal reference (38/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.teleport_to_owner
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_teleport_to_owner.md)
Allows an entity to teleport to its owner.
[!Note] This item requires a format version of at least 1.21.20.
Entity Teleport To Owner Behavior Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| cooldown | 1 | Decimal number | The time in seconds that must pass for the entity to be able to try to teleport again. | |
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | Conditions to be satisfied for the entity to teleport to its owner. | Parrot: {"all_of":[{"test":"owner_distance","operator":">","value":12},{"test":"is_panicking"}]} |
| filters (Alternate 1) | not set | Object | ||
| 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 |
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. |
Samples
Parrot
"minecraft:behavior.teleport_to_owner": {
"filters": {
"all_of": [
{
"test": "owner_distance",
"operator": ">",
"value": 12
},
{
"test": "is_panicking"
}
]
},
"priority": 0
}
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |