엔티티 AI 목표 레퍼런스 (25/41)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:behavior.nap
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_nap.md)
특정 조건에서 몹이 가끔 멈춰서 낮잠을 자게 한다.
Allows mobs to occassionally stop and take a nap under certain conditions.
Entity Nap Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| can_nap_filters (Can Nap Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Can Nap Filters item | 엔티티가 낮잠을 자기 위해 충족해야 하는 조건. |
| can_nap_filters (as Object) | not set | Object | |
| control_flags | [] | Control Flags choices | |
| cooldown_max | 0 | Decimal number | 몹이 목표를 다시 쓰기 전에 기다려야 하는 최대 시간(초). |
| cooldown_min | 0 | Decimal number | 몹이 목표를 다시 쓰기 전에 기다려야 하는 최소 시간(초). |
| mob_detect_dist | 6 | Decimal number | 이 몹이 감지하는 몹을 확인하는 x, z 블록 거리. |
| mob_detect_height | 6 | Decimal number | 이 몹이 감지하는 몹을 확인하는 y 블록 거리. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| wake_mob_exceptions (Wake Mob Exceptions) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Wake Mob Exceptions item | 낮잠에서 이 엔티티를 깨우지 않을 몹을 거르는 필터. |
| wake_mob_exceptions (as Object) | not set | Object |
Can Nap Filters
Can Nap Filters Properties
JSON path: can_nap_filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Wake Mob Exceptions
Same structure as Can Nap Filters.
예시
minecraft:behavior.nearest_attackable_target
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_nearest_attackable_target.md)
지정한 대상 종류 중 가장 가까운 대상을 공격하게 한다.
Allows an entity to attack the closest target within a given subset of specific target types.
Entity Nearest Attackable Target Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| attack_interval (Legacy FloatRange) | {"max":0,"min":0} | Attack Interval item | 공격 대상을 찾는 사이의 시간 범위(초). 범위는 (0, "attack_interval"]이다. | Cave Spider: {"min":10,"max":10}, {"min":5,"max":5} |
| attack_interval (as Integer number) | not set | Integer number | ||
| attack_interval\ | attack_interval_min | not set | String | | |
| attack_owner | false | Boolean true/false | true이면 이 엔티티가 주인을 공격할 수 있다. | |
| control_flags | [] | Control Flags choices | ||
| entity_types | [] | Array of Entity Types items | 이 몹이 유효한 대상으로 보는 엔티티 종류 목록. | Blaze: [{"filters":{"AND":[{"test":"is_family","subject":1,"operator":0,"value":"player"}]},"max_dist":48}], Bogged: [{"filters":{"test":"is_family","subject":"other","value":"player"}},{"filters":{"test":"is_family","subject":"other","value":"irongolem"}},{"filters":{"all_of":[{"test":"is_family","subject":"other","value":"baby_turtle"},{"test":"in_water","subject":"other","operator":"!=","value":true}]}}], Breeze: [{"filters":{"AND":[{"test":"is_family","subject":1,"operator":0,"value":"player"}]},"max_dist":24},{"filters":{"AND":[{"test":"is_family","subject":1,"operator":0,"value":"irongolem"}]},"max_dist":24}] |
| entity_types (Entity Types) | not set | Entity Types (Entity Types) item | ||
| must_reach | false | Boolean true/false | true이면 이 엔티티가 대상까지 갈 경로가 있어야 한다. | |
| must_see | false | Boolean true/false | 대상이 유효하려면 이 엔티티가 범위 안에만 있으면 되는지, 범위 안이면서 시야에도 있어야 하는지 정한다. | Blaze: true |
| must_see_forget_duration | 3 | Decimal number | 대상이 유효하지 않게 되기까지 이 엔티티가 대상을 보지 못해야 하는 시간(초). "must_see"가 true일 때만 쓴다. | Drowned: 17 |
| persist_time | 0 | Decimal number | 대상이 더 이상 유효하지 않게 된 뒤에도 이 엔티티가 계속 공격할 수 있는 시간(초). | Drowned: 0.5 |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Blaze: 2, Breeze: 1 |
| reselect_targets | false | Boolean true/false | 공격하는 엔티티가 가장 가까운 대상을 갱신하게 한다. 그렇지 않으면 "scan_interval"이나 "attack_interval"마다 한 번만 대상을 다시 고른다. | Bogged: true |
| scan_interval | 10 | Integer number | "attack_interval"이 0이거나 선언되지 않으면, 공격 사이에 "scan_interval"틱마다 새 대상을 검색한다. 최소값은 1이다. | |
| set_persistent | false | Boolean true/false | 플레이어를 대상으로 삼을 때 액터가 유지(persist)되게 한다. | |
| target_acquisition_probability | 1 | Decimal number | 후보 대상이 모든 필터를 통과했을 때 목표가 성공할 확률(0-1). | |
| target_invisible_multiplier | 0.699999988079071 | Decimal number | 투명한 대상을 감지할 때 대상의 방어구 착용 비율에 곱해 "max_dist"를 조정한다. | |
| target_search_height | -1 | Decimal number | 대상 종류의 "max_dist"보다 크면 쓰이는 최대 수직 대상 검색 거리. 음수이면 "entity_types"의 가장 큰 "max_dist"를 쓴다. 값은 -1 이상이어야 한다. | |
| target_sneak_visibility_multiplier | 0.800000011920929 | Decimal number | 웅크린 대상을 감지하려 할 때 대상 종류의 "max_dist"에 곱한다. | |
| within_radius | 0 | Decimal number | 대상을 따라갈 때 이 엔티티가 대상에서 떨어질 수 있는 최대 거리이며, 넘으면 대상이 무효가 된다. 엔티티가 "minecraft:follow_range"를 선언하지 않았을 때만 쓴다. | Breeze: 24, Drowned: 12 |
attack_interval
Time range (in seconds) between searching for an attack target, range is in (0, "attack_interval"]. Only used if "attack_interval" is greater than 0, otherwise "scan_interval" is used. From 1.21.130, attack_interval accepts an [int, int] range to randomize the time between target searches. A single integer remains supported and is treated as a fixed interval. In 1.26.0 the schema is stricter and attack_interval only accepts an object with min and max values; the single-number shorthand is no longer accepted in 1.26.0 and newer.
scan_interval
If "attack_interval" is 0 or isn't declared, then between attacks: scanning for a new target occurs every amount of ticks equal to "scan_interval", minimum value is 1. Values under 10 can affect performance. Value must be >= 1.
target_acquisition_probability
Probability (0-1) that the goal will succeed when a candidate target passes all filters. Lower values cause the mob to acquire targets less reliably; the default of 1 always acquires. This item requires a format version of at least 1.21.130.
Legacy FloatRange
Legacy FloatRange Properties
JSON path: attack_interval
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Entity Types
List of entity types that this mob considers valid targets.
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 | 대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초). |
| priority | not set | 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이면 속도가 그대로다. |
Entity Types (Entity Types)
Entity Types Properties
JSON path: entity_types
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| check_if_outnumbered | false | Boolean true/false | true이면 몹이 수적으로 밀리는지 확인한다. |
| cooldown | 0 | Integer number | 같은 종류의 대상을 다시 고르기 전에 몹이 기다려야 하는 시간(초). |
| 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 | |
| max_dist | 16 | Decimal number | 유효한 대상이 되기 위해 이 몹과 떨어질 수 있는 최대 거리. |
| max_flee | 10 | Decimal number | 달아나기를 멈추기 위해 몹이 대상에서 떨어질 수 있는 최대 거리. |
| max_height | -1 | Decimal number | 유효한 대상이 되기 위해 이 몹과 높이가 차이 날 수 있는 최대값. |
| must_see | not set | Boolean true/false | true이면 몹이 보여야 유효한 대상이 된다. |
| must_see_forget_duration | 3 | Integer number | 대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초). |
| priority | 0 | Integer number | 이 몹 종류의 우선순위. |
| reevaluate_description | false | Boolean true/false | true이면 조건을 하나라도 만족하지 못하게 될 때 대상에서 해제된다. |
| sprint_speed_multiplier | 1 | Decimal number | 달리기(스프린트) 속도 배율. 1.0이면 속도가 그대로다. |
| walk_speed_multiplier | 1 | Decimal number | 걷기 속도 배율. 1.0이면 속도가 그대로다. |
Filters
Filters Properties
JSON path: entity_types > filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
예시
Blaze
"minecraft:behavior.nearest_attackable_target": {
"must_see": true,
"entity_types": [
{
"filters": {
"AND": [
{
"test": "is_family",
"subject": 1,
"operator": 0,
"value": "player"
}
]
},
"max_dist": 48
}
],
"priority": 2
}
Bogged
"minecraft:behavior.nearest_attackable_target": {
"reselect_targets": true,
"must_see": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
}
},
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
}
}
],
"priority": 2
}
Breeze
"minecraft:behavior.nearest_attackable_target": {
"must_see": true,
"within_radius": 24,
"entity_types": [
{
"filters": {
"AND": [
{
"test": "is_family",
"subject": 1,
"operator": 0,
"value": "player"
}
]
},
"max_dist": 24
},
{
"filters": {
"AND": [
{
"test": "is_family",
"subject": 1,
"operator": 0,
"value": "irongolem"
}
]
},
"max_dist": 24
}
],
"priority": 1
}
Cave Spider
At /minecraft:entity/component_groups/minecraft:spider_angry/minecraft:behavior.nearest_attackable_target/:
"minecraft:behavior.nearest_attackable_target": {
"attack_interval": {
"min": 10,
"max": 10
},
"must_see": true,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
]
}
}
],
"priority": 2
}
At /minecraft:entity/component_groups/minecraft:spider_hostile/minecraft:behavior.nearest_attackable_target/:
"minecraft:behavior.nearest_attackable_target": {
"attack_interval": {
"min": 5,
"max": 5
},
"must_see": true,
"entity_types": [
{
"filters": {
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
}
]
}
}
],
"priority": 2
}
Drowned
"minecraft:behavior.nearest_attackable_target": {
"reselect_targets": true,
"must_see": true,
"within_radius": 12,
"must_see_forget_duration": 17,
"persist_time": 0.5,
"entity_types": [
{
"filters": {
"all_of": [
{
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "player"
},
{
"test": "is_family",
"subject": "other",
"value": "snowgolem"
},
{
"test": "is_family",
"subject": "other",
"value": "irongolem"
},
{
"test": "is_family",
"subject": "other",
"value": "axolotl"
}
]
},
{
"any_of": [
{
"test": "in_water",
"subject": "other",
"value": true
},
{
"test": "is_daytime",
"value": false
}
]
}
]
},
"max_dist": 20
},
{
"filters": {
"all_of": [
{
"any_of": [
{
"test": "is_family",
"subject": "other",
"value": "villager"
},
{
"test": "is_family",
"subject": "other",
"value": "wandering_trader"
}
]
},
{
"any_of": [
{
"test": "in_water",
"subject": "other",
"value": true
},
{
"test": "is_daytime",
"value": false
}
]
}
]
},
"max_dist": 20,
"must_see": false
},
{
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"value": "baby_turtle"
},
{
"test": "in_water",
"subject": "other",
"operator": "!=",
"value": true
}
]
},
"max_dist": 20
}
],
"priority": 2
}
minecraft:behavior.nearest_prioritized_attackable_target
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_nearest_prioritized_attackable_target.md)
유효한 가장 가까운 대상을 찾아 추적하게 한다.
Allows the mob to check for and pursue the nearest valid target.
Entity Nearest Prioritized Attackable Target Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| attack_interval | 0 | Integer number | 대상을 고르기 전까지의 시간(초). |
| control_flags | [] | Control Flags choices | |
| cooldown | 0 | Decimal number | 같은 종류의 대상을 다시 고르기 전에 몹이 기다려야 하는 시간(초). |
| entity_types | [] | Array of Entity Types items | 이 몹이 유효한 대상으로 보는 엔티티 종류 목록. |
| entity_types (Entity Types) | not set | Entity Types (Entity Types) item | |
| hurt_owner | false | Boolean true/false | true이면 이 몹이 주인을 해친 몹도 공격한다. |
| must_reach | false | Boolean true/false | true이면 이 몹이 경로로 갈 수 있는 엔티티만 대상으로 고를 수 있다. |
| must_see | false | Boolean true/false | true이면 이 몹의 시야 범위 안에 있는 엔티티만 대상으로 고를 수 있다. |
| must_see_forget_duration | 3 | Decimal number | 대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초). |
| persist_time | 0 | Decimal number | 유효한 대상이 무효가 되었을 때 계속 대상으로 남아 있는 시간(초). |
| priority | 0 | Integer number | 거른 적 종류를 공격하는 우선순위를 지정한다. 숫자가 작을수록 우선순위가 높다. |
| reselect_targets | false | Boolean true/false | true이면 다른 엔티티가 더 가까워질 때마다 대상이 현재 가장 가까운 엔티티로 바뀐다. |
| scan_interval | 10 | Integer number | 대상을 검색하는 사이에 기다리는 틱 수. |
| set_persistent | false | Boolean true/false | 플레이어를 대상으로 삼을 때 액터가 유지(persist)되게 한다. |
| target_search_height | -1 | Decimal number | 대상 몹을 찾는 높이(블록). -1.0f는 높이가 상관없다는 뜻이다. |
| within_radius | 0 | Decimal number | 공격을 시작하려면 대상이 이 블록 거리 안에 있어야 한다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Entity Types
List of entity types that this mob considers valid targets.
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이면 속도가 그대로다. |
Entity Types (Entity Types)
Entity Types Properties
JSON path: entity_types
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| check_if_outnumbered | false | Boolean true/false | true이면 몹이 수적으로 밀리는지 확인한다. |
| cooldown | 0 | Integer number | 같은 종류의 대상을 다시 고르기 전에 몹이 기다려야 하는 시간(초). |
| 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 | |
| max_dist | 16 | Decimal number | 유효한 대상이 되기 위해 이 몹과 떨어질 수 있는 최대 거리. |
| max_flee | 10 | Decimal number | 달아나기를 멈추기 위해 몹이 대상에서 떨어질 수 있는 최대 거리. |
| max_height | -1 | Decimal number | 유효한 대상이 되기 위해 이 몹과 높이가 차이 날 수 있는 최대값. |
| must_see | not set | Boolean true/false | true이면 몹이 보여야 유효한 대상이 된다. |
| must_see_forget_duration | 3 | Integer number | 대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초). |
| priority | 0 | Integer number | 이 몹 종류의 우선순위. |
| reevaluate_description | false | Boolean true/false | true이면 조건을 하나라도 만족하지 못하게 될 때 대상에서 해제된다. |
| sprint_speed_multiplier | 1 | Decimal number | 달리기(스프린트) 속도 배율. 1.0이면 속도가 그대로다. |
| walk_speed_multiplier | 1 | Decimal number | 걷기 속도 배율. 1.0이면 속도가 그대로다. |
Filters
Filters Properties
JSON path: entity_types > filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
예시
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |