엔티티 AI 목표 레퍼런스 (19/41)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:behavior.go_home
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_go_home.md)
스폰된 위치로 되돌아가게 한다.
Allows the mob to move back to the position they were spawned.
Entity Go Home Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| calculate_new_path_radius | 2 | Decimal number | 몹이 현재 경로의 끝에 충분히 가깝다고 보는 블록 거리. 그러면 집을 향해 새 경로를 계산한다. |
| control_flags | [] | Control Flags choices | |
| goal_radius | 0.5 | Decimal number | 몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. |
| interval | 120 | Integer number | 무작위로 어딘가로 이동할 시점을 정하는 값. 이 목표를 고를 확률이 1/interval이다. |
| on_failed | [] | Array of Failed items | 이 목표가 실패했을 때 실행할 이벤트. |
| on_home | [] | Array of Home items | 이 몹이 집에 도착했을 때 실행할 이벤트. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| speed_multiplier | 1 | Decimal number | 이 AI 목표를 쓸 때의 몹 이동 속도 배율. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| 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_failed
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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 (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_failed > filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Target choices
| 값 | 제목 | 설명 |
|---|---|---|
| baby | Baby | |
| block | Block | |
| damager | Damager | |
| holder | Holder | |
| item | Item | |
| other | Other | |
| parent | Parent | |
| player | Player | |
| self | Self | |
| target | Target |
예시
minecraft:behavior.guardian_attack
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_guardian_attack.md)
레이저 광선 공격을 하게 한다. 수호자와 엘더 가디언만 쓸 수 있다.
Allows this entity to use a laser beam attack. Can only be used by Guardians and Elder Guardians.
[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON for this behavior.
Entity Guardian Attack Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| elder_extra_magic_damage | 2 | Integer number | 엘더 가디언의 마법 공격이 주는 추가 피해량. 값은 0보다 커야 한다. | |
| hard_mode_extra_magic_damage | 2 | Integer number | 어려움 난이도에서 가디언의 마법 공격이 주는 추가 피해량. 값은 0보다 커야 한다. | |
| magic_damage | 1 | Integer number | 가디언의 마법 공격이 주는 피해량. 마법 공격 피해는 가디언의 기본 공격 피해에 더해진다. 값은 0보다 커야 한다. | |
| min_distance | 3 | Decimal number | 대상이 이 거리보다 가까우면 가디언 공격 동작이 멈춘다(엘더에는 적용되지 않는다). | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Elder Guardian: 4 |
| sound_delay_time | 0.5 | Decimal number | 공격을 시작한 뒤 가디언 공격 소리를 재생하기까지 기다리는 시간(초). 값은 0보다 커야 한다. | |
| x_max_rotation | 90 | Decimal number | 대상을 바라보려 할 때 엔티티가 X축으로 돌 수 있는 최대 회전각(도). 값은 0보다 커야 한다. | |
| y_max_head_rotation | 90 | Decimal number | 대상을 바라보려 할 때 엔티티가 머리를 Y축으로 돌릴 수 있는 최대 회전각(도). 값은 0보다 커야 한다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
Elder Guardian
"minecraft:behavior.guardian_attack": {
"priority": 4
}
minecraft:behavior.harvest_farm_block
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_harvest_farm_block.md)
위에 공기가 있는 농지를 찾아 인벤토리의 씨앗을 심게 한다.
Allows the entity to search within an area for farmland with air above it. If found, the entity will replace the air block by planting a seed item from its inventory on the farmland block. This goal will not execute if the entity does not have an item in its inventory.
[!Note] Requires the following components in order to work properly:
- Inventory (minecraft:inventory)
- Navigation (minecraft:navigation)
Entity Harvest Farm Block Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| goal_radius | 1.5 | Decimal number | 엔티티가 목표 위치에 도달했다고 보는 블록 거리. 값은 0보다 커야 한다. |
| max_seconds_before_search | 1 | Decimal number | 처음 수확할 블록을 찾기 전에 목표가 걸릴 수 있는 최대 시간(초). 시간은 0과 이 값 사이에서 정해진다. 값은 0보다 커야 한다. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| search_cooldown_max_seconds | 8 | Decimal number | 이미 수확할 블록을 찾지 못한 뒤 다시 검색하기 전에 목표가 걸릴 수 있는 최대 시간(초). 시간은 0과 이 값 사이에서 정해진다. 값은 0보다 커야 한다. |
| search_count | 0 | Integer number | 매 틱 탐색 범위와 높이 안에서 이동할 유효한 블록을 찾기 위해 무작위로 고르는 블록의 수. |
| search_height | 1 | Integer number | 엔티티가 유효한 대상 위치를 찾는 높이(블록). 값은 0보다 커야 한다. |
| search_range | 16 | Integer number | 엔티티가 유효한 대상 위치를 찾는 거리(블록). 값은 0보다 커야 한다. |
| seconds_until_new_task | 0.5 | Decimal number | 수확/파종에 성공한 뒤 다시 시작하기까지 목표가 쿨다운 상태인 시간(초). 값은 0보다 커야 한다. |
| speed_multiplier | 0.5 | Decimal number | 이 목표를 쓸 때의 몹 이동 속도 배율. |
search_count
The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.hide
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_hide.md)
hide 컴포넌트를 가진 몹이 소유했거나 가까운 POI로 가서 숨게 한다.
Allows a mob with the hide component to attempt to move to - and hide at - an owned or nearby POI.
[!Note] Requires a point of interest to be set in order to work properly.
Entity Hide Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| duration | 1 | Decimal number | 몹이 반응하는 시간(초). |
| poi_type | null | Poi Type choices | 목표가 찾아야 할 POI 종류를 알려 준다. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| speed_multiplier | 1 | Decimal number | 이 목표를 쓸 때의 몹 이동 속도 배율. |
| timeout_cooldown | 8 | Decimal number | 내부 실패나 시간 초과 뒤 목표를 다시 쓸 수 있기까지의 쿨다운 시간(초). |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Poi Type choices
| 값 | 제목 | 설명 |
|---|---|---|
| bed | Bed | |
| jobsite | Jobsite | |
| meeting_area | Meeting area |
예시
minecraft:behavior.hold_ground
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_hold_ground.md)
현재 위치에 멈춰 대상 몹을 바라보고 이벤트로 반응하게 한다. 대상이 필요하다.
Compels an entity to stop at their current location, turn to face a mob they are targeting, and react with an event.
[!Note] Requires a target in order to work properly. Entities can generate targets via one of the following behaviors:
- Nearest Attackable Target Behavior (minecraft:behavior.nearest_attackable_target)
- Hurt By Target Behavior (minecraft:behavior.hurt_by_target)
Entity Hold Ground Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| broadcast | false | Boolean true/false | 몹의 대상을 같은 종류의 다른 몹에게 알릴지 여부. |
| broadcast_range | 0 | Decimal number | 알릴 범위(블록). |
| control_flags | [] | Control Flags choices | |
| min_radius | 10 | Decimal number | 몹이 이 목표를 실행하려면 대상이 있어야 하는 최소 거리. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| within_radius_event | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Within Radius Event item | 대상이 반경 안에 있을 때 실행할 이벤트. broadcast가 true이면 이 이벤트가 퍼진다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| 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: within_radius_event
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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 (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: within_radius_event > filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Target choices
| 값 | 제목 | 설명 |
|---|---|---|
| baby | Baby | |
| block | Block | |
| damager | Damager | |
| holder | Holder | |
| item | Item | |
| other | Other | |
| parent | Parent | |
| player | Player | |
| self | Self | |
| target | Target |
예시
minecraft:behavior.hover
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_hover.md)
몹이 제자리에서 떠 있게 한다.
Allows the mob to hover in place.
Entity Hover Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| priority | 0 | Integer number |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
minecraft:behavior.hurt_by_target
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_hurt_by_target.md)
자신을 해친 몹을 대상으로 삼게 한다.
Allows the mob to target another mob that hurts them.
Entity Hurt By Target Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| alert_same_type | false | Boolean true/false | true이면 같은 종류의 근처 몹이 피해에 대해 경고를 받는다. | |
| control_flags | [] | Control Flags choices | ||
| entity_types | [] | Array of Entity Types items | 이 몹이 해침을 당했을 때 대상으로 삼을 수 있는 엔티티 종류 목록. | Bogged: [{"filters":{"operator":"!=","test":"is_family","subject":"other","value":"breeze"}}], Breeze: [{"filters":{"all_of":[{"operator":"!=","test":"is_family","subject":"other","value":"skeleton"},{"operator":"!=","test":"is_family","subject":"other","value":"stray"},{"operator":"!=","test":"is_family","subject":"other","value":"zombie"},{"operator":"!=","test":"is_family","subject":"other","value":"husk"},{"operator":"!=","test":"is_family","subject":"other","value":"spider"},{"operator":"!=","test":"is_family","subject":"other","value":"cavespider"},{"operator":"!=","test":"is_family","subject":"other","value":"slime"}]}}] |
| entity_types (as Object) | not set | Object | ||
| hurt_owner | false | Boolean true/false | true이면 몹이 주인과 자신과 같은 주인을 가진 다른 몹에게 해를 입힌다. | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Entity Types
List of entity types that this mob can target when hurt by them.
Entity Types Properties
JSON path: entity_types
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| cooldown | 0 | Decimal number | 같은 종류의 대상을 다시 고르기 전에 몹이 기다려야 하는 시간(초). |
| filters | not set | Minecraft filter | 목록의 이 항목이 유효하기 위한 조건. |
| max_dist | 16 | Decimal number | 유효한 대상이 되기 위해 이 몹과 떨어질 수 있는 최대 거리. |
| must_see | false | Boolean true/false | true이면 몹이 보여야 유효한 대상이 된다. |
| must_see_forget_duration | 3 | Decimal number | 대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초). |
| reevaluate_description | false | Boolean true/false | true이면 조건을 하나라도 만족하지 못하게 될 때 대상에서 해제된다. |
| sprint_speed_multiplier | 1 | Decimal number | 뛰는 속도 배율. 1.0이면 속도가 그대로다. |
| walk_speed_multiplier | 1 | Decimal number | 걷기 속도 배율. 1.0이면 속도가 그대로다. |
예시
Blaze
"minecraft:behavior.hurt_by_target": {
"priority": 1
}
Bogged
"minecraft:behavior.hurt_by_target": {
"entity_types": [
{
"filters": {
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "breeze"
}
}
],
"priority": 1
}
Breeze
"minecraft:behavior.hurt_by_target": {
"entity_types": [
{
"filters": {
"all_of": [
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "skeleton"
},
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "stray"
},
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "zombie"
},
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "husk"
},
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "spider"
},
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "cavespider"
},
{
"operator": "!=",
"test": "is_family",
"subject": "other",
"value": "slime"
}
]
}
}
],
"priority": 4
}
minecraft:behavior.inspect_bookshelf
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_inspect_bookshelf.md)
몹이 책장을 살펴보게 한다.
Allows the mob to inspect bookshelves.
Entity Inspect Bookshelf Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| goal_radius | 0.5 | Decimal number | 몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. 값은 0보다 커야 한다. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| search_count | 10 | Integer number | 매 틱 탐색 범위와 높이 안에서 이동할 유효한 블록을 찾기 위해 무작위로 고르는 블록의 수. |
| search_height | 1 | Integer number | 몹이 책장을 찾는 높이. 값은 0보다 커야 한다. |
| search_range | 0 | Integer number | 몹이 살펴볼 책을 찾는 블록 거리. 값은 0보다 커야 한다. |
| speed_multiplier | 1 | Decimal number | 이 목표를 쓸 때의 몹 이동 속도 배율. |
search_count
The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.investigate_suspicious_location
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_investigate_suspicious_location.md)
suspect_tracking이 모은 정보로 수상한 위치로 이동하게 한다.
Allows this entity to move towards a "suspicious" position based on data gathered in minecraft:suspect_tracking.
[!Note] Requires the following component in order to work properly:
- Suspect Tracking (minecraft:suspect_tracking)
Entity Investigate Suspicious Location Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| goal_radius | 1.5 | Decimal number | 엔티티가 목표 위치에 도달했다고 보는 블록 거리. | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Warden: 5 |
| speed_multiplier | 1 | Decimal number | 이동 속도 배율. | Warden: 0.7 |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
Warden
"minecraft:behavior.investigate_suspicious_location": {
"speed_multiplier": 0.7,
"priority": 5
}
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |