엔티티 AI 목표 레퍼런스 (37/41)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:behavior.swell
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_swell.md)
플레이어가 가까이 오면 크리퍼가 부풀어 오르게 한다. 크리퍼만 쓸 수 있다.
Allows the creeper to swell up when a player is nearby. It can only be used by Creepers.
Entity Swell Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| start_distance | 10 | Decimal number | 대상이 이 블록 수 이상 떨어져 있을 때 이 몹이 부풀기 시작한다. |
| stop_distance | 2 | Decimal number | 대상이 이 블록 수 이상 멀어졌을 때 이 몹이 부풀기를 멈춘다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.swim_idle
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_swim_idle.md)
헤엄치는 중이면 한가로이 머물게 한다. 엔티티가 물속에 있어야 한다.
Allows the entity go idle, if swimming. Entity must be in water.
Entity Swim Idle Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| idle_time | 5 | Decimal number | 가만히 머무는 시간(초). |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| success_rate | 0.10000000149011612 | Decimal number | 이 엔티티가 가만히 있을 확률(퍼센트). 1.0 = 100%. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.swim_up_for_breath
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_swim_up_for_breath.md)
숨 쉴 수 있는 양이 바닥나기 전에 공기가 있는 곳으로 올라가게 한다. breathable이 필요하다.
Allows the mob to try to move to air once it is close to running out of its total breathable supply. Requires "minecraft:breathable".
[!Note] This item requires a format version of at least 1.21.20.
Entity Swim Up For Breath Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| material_type | water | String | 몹이 이동 중인 재질. 공기 블록은 아래에 이 재질의 블록이 있을 때만 이동할 유효한 위치로 본다. 선택지: "water", "lava", "any". | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Dolphin: 1 |
| search_height | 16 | Integer number | 몹의 현재 위치 위로 유효한 공기 블록을 찾는 높이(블록). | |
| search_radius | 4 | Integer number | 몹의 현재 위치 주변으로 유효한 공기 블록을 찾는 반경(블록). | |
| speed_mod | 1.399999976158142 | Decimal number | 이 목표를 쓸 때의 몹 이동 속도 배율. |
search_height
The height (in blocks) above the mob's current position that it will search for a valid air block to move to. If a valid block cannot be found, the mob will move to the position this many blocks above it.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
Dolphin
"minecraft:behavior.swim_up_for_breath": {
"priority": 1
}
minecraft:behavior.swim_wander
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_swim_wander.md)
경로 탐색 중이 아닐 때 헤엄치며 돌아다니게 한다.
Allows the entity to wander around while swimming, when not path-finding.
Entity Swim Wander Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| interval | 0.008329999633133411 | Decimal number | 경로 탐색 중이 아닐 때 돌아다니기를 시작할 확률(퍼센트). 1 = 100%. |
| look_ahead | 5 | Decimal number | 돌아다니는 동안 장애물 회피를 위해 앞을 내다보는 거리. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| speed_multiplier | 1 | Decimal number | 이 배수가 돌아다닐 때 엔티티의 속도를 조정한다. |
| wander_time | 5 | Decimal number | 돌아다니기가 성공적으로 시작된 뒤 돌아다니는 시간(초). |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.swim_with_entity
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_swim_with_entity.md)
다른 엔티티를 따라 헤엄치게 한다. 두 엔티티 모두 물속에 있어야 한다.
Allows the entity follow another entity. Both entities must be swimming [ie, in water].
Swim With Entity Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| catch_up_multiplier | 2.5 | Decimal number | 다른 엔티티의 방향에 맞출 때 이 엔티티의 속도에 곱하는 배수. | Dolphin: 2.5 |
| catch_up_threshold | 12 | Decimal number | 따라가는 엔티티에 이 거리만큼 떨어지면 이 엔티티가 그 엔티티에 닿으려 속도를 낸다. | Dolphin: 12 |
| chance_to_stop | 0.0333 | Decimal number | 현재 엔티티가 다른 엔티티를 타고 있거나 헤엄치지 않을 때 따라가기를 멈출 확률(퍼센트). 1.0 = 100%. | Dolphin: 0.0333 |
| entity_types | not set | Array of strings | 따라갈 유효한 엔티티 종류를 거른다. | Dolphin: [{"filters":{"test":"is_family","subject":"other","value":"player"}}] |
| match_direction_threshold | 2 | Decimal number | 따라가는 엔티티에 이 거리만큼 떨어지면 이 엔티티가 그 엔티티의 방향에 맞추려 한다. | Dolphin: 2 |
| priority | not set | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Dolphin: 4 |
| search_range | 20 | Decimal number | 따라갈 다른 엔티티를 찾는 이 엔티티 주변 반경. | Dolphin: 20 |
| speed_multiplier | 1.5 | Decimal number | 따라가는 엔티티를 따라잡으려 할 때 이 엔티티의 속도에 곱하는 배수. | Dolphin: 1.5 |
| state_check_interval | 0.5 | Decimal number | 이 엔티티가 따라가는 엔티티를 따라잡을지, 방향을 맞출지 판단하는 검사 사이의 시간(초). | Dolphin: 0.5 |
| stop_distance | 5 | Decimal number | 따라가는 엔티티에서 이 엔티티가 따라가기를 멈추는 거리. | Dolphin: 5 |
| success_rate | 0.1 | Decimal number | 아직 따라가고 있지 않을 때 다른 엔티티를 따라가기 시작할 확률(퍼센트). 1.0 = 100%. | Dolphin: 0.1 |
예시
Dolphin
"minecraft:behavior.swim_with_entity": {
"priority": 4,
"success_rate": 0.1,
"chance_to_stop": 0.0333,
"state_check_interval": 0.5,
"catch_up_threshold": 12,
"match_direction_threshold": 2,
"catch_up_multiplier": 2.5,
"speed_multiplier": 1.5,
"search_range": 20,
"stop_distance": 5,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
}
}
]
}
minecraft:behavior.swoop_attack
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_swoop_attack.md)
급강하 공격으로 공격하게 한다. 나는 몹에 알맞다.
Allows an entity to attack using swoop attack behavior; Ideal for use with flying mobs. The behavior ends if the entity has a horizontal collision or gets hit.
Entity Swoop Attack Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| damage_reach | 0.20000000298023224 | Decimal number | 공격 피해를 주려 할 때 대상이 허용되는 최대 거리를 정하기 위해 엔티티의 기본 크기에 더한다. | |
| delay_range | {"max":20,"min":10} | Delay Range item | 시도한 급강하 공격 사이의 최소·최대 쿨다운 시간 범위(초). | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Phantom: 2 |
| speed_multiplier | 1 | Decimal number | 급강하 공격 동작 중 대상을 향해 이동할 때 엔티티의 속도에 곱하는 배수를 정한다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: delay_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
예시
Phantom
"minecraft:behavior.swoop_attack": {
"priority": 2
}
minecraft:behavior.take_block
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_take_block.md)
엔더맨처럼 월드의 블록을 집어 들게 하는 AI 목표다. 집을 수 있는 블록과 탐색 반경을 정한다.
AI goal that makes entities pick up blocks from the world, like Endermen grabbing blocks to carry. Configure which blocks the entity can take and the search radius. Works with place_block behavior to create entities that relocate blocks or harvest materials from the environment.
[!Note] This item requires a format version of at least 1.21.100.
Entity Take Block Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| affected_by_griefing_rule | true | Boolean true/false | true이면 목표가 몹 그리핑 게임 규칙의 영향을 받는다. |
| blocks (Blocks) | [] | Array of Blocks items | 엔티티가 가져갈 수 있는 블록을 정하는 블록 설명자. 비어 있으면 모든 블록이 유효하다. |
| blocks (as String) | not set | String | |
| blocks (as Object) | not set | Object | |
| can_take (Can Take) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Can Take item | 엔티티가 블록을 가져가려 시도할지 정하는 필터. Self와 Target이 설정된다. |
| can_take (Alternate 1) | not set | Object | |
| chance | 1 | Decimal number | 엔티티가 블록을 가져가려 시도할 틱당 확률. 값은 1 이하여야 한다. |
| control_flags | [] | Control Flags choices | |
| on_take | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Take item | 엔티티가 블록을 실제로 가져갔을 때 실행되는 트리거. Self, Target, Block이 설정된다. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| requires_line_of_sight | true | Boolean true/false | true이면 엔티티가 가져가려는 블록까지 시선이 필요한지 여부. |
| xz_range | {"max":2,"min":-2} | Xz Range item | 엔티티가 블록을 가져가려 시도하는 XZ 범위. |
| y_range | {"max":3,"min":0} | y Range item | 엔티티가 블록을 가져가려 시도하는 Y 범위. |
Blocks
Blocks Properties
JSON path: blocks
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
Can Take
Can Take Properties
JSON path: can_take
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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 |
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_take
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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_take > 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 |
Block IntRange
Block IntRange Properties
JSON path: xz_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Integer number | |
| min | 0 | Integer number |
예시
minecraft:behavior.take_flower
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_take_flower.md)
offer_flower 동작을 가진 다른 몹에게서 꽃을 받게 한다. 주민에게만 쓸 수 있다.
Allows the mob to accept flowers from another mob with the minecraft:offer_flower behavior.
[!Note] Can only be used on the following type of entity:
- Villager (minecraft:villager)
Entity Take Flower Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| 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_head_rotation_y | 30 | Decimal number | 대상을 바라보려 할 때 엔티티가 머리를 Y축으로 돌릴 수 있는 최대 회전각(도). 값은 0보다 커야 한다. |
| max_rotation_x | 30 | Decimal number | 대상을 바라보려 할 때 엔티티가 X축으로 돌 수 있는 최대 회전각(도). 값은 0보다 커야 한다. |
| max_wait_time | 20 | Decimal number | 꽃을 받기 전에 몹이 무작위로 기다리는 최대 시간(초). |
| min_distance_to_target | 2 | Decimal number | 엔티티가 대상에 도달했다고 보는 최소 거리(블록). 값은 0보다 커야 한다. |
| min_wait_time | 4 | Decimal number | 꽃을 받기 전에 몹이 무작위로 기다리는 최소 시간(초). |
| on_take_flower | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Take Flower item | 엔티티가 다른 엔티티에게서 꽃을 받았을 때 발생하는 이벤트. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| search_area | [6, 2, 6] | Array of numbers | 꽃을 받을 몹을 찾는 데 쓰는 AABB의 크기. |
| search_area (Search Area) | not set | Search Area (Search Area) item | |
| speed_multiplier | 0.5 | Decimal number | 이 AI 목표를 쓸 때의 몹 이동 속도 배율. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Filters
Filters Properties
JSON path: filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
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_take_flower
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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.
Target choices
| 값 | 제목 | 설명 |
|---|---|---|
| baby | Baby | |
| block | Block | |
| damager | Damager | |
| holder | Holder | |
| item | Item | |
| other | Other | |
| parent | Parent | |
| player | Player | |
| self | Self | |
| target | Target |
Search Area (Search Area)
Search Area Properties
JSON path: search_area
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| x | 0 | Decimal number | |
| y | 0 | Decimal number | |
| z | 0 | Decimal number |
예시
minecraft:behavior.target_when_pushed
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_target_when_pushed.md)
다른 몹이 밀면 그 몹을 대상으로 삼게 한다.
Allows the mob to target another mob when it is pushed by that mob.
Entity Target When Pushed Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| entity_types | [] | Array of objects | 이 몹이 대상 지정을 시작하게 만들 수 있는 엔티티 종류 목록. | Iron Golem: [{"filters":{"all_of":[{"subject":"other","test":"is_family","value":"monster"},{"operator":"not","test":"is_family","subject":"other","value":"creeper"}]}}] |
| entity_types (Entity Types) | not set | Entity Types (Entity Types) item | ||
| percent_chance | 0 | Decimal number | 몹이 밀렸을 때 다른 몹을 대상으로 삼을 확률. 100이 100%다. | Iron Golem: 5 |
| priority | 0 | Integer number | Iron Golem: 1 |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
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 | 테스트에서 비교할 값. |
예시
Iron Golem
"minecraft:behavior.target_when_pushed": {
"entity_types": [
{
"filters": {
"all_of": [
{
"subject": "other",
"test": "is_family",
"value": "monster"
},
{
"operator": "not",
"test": "is_family",
"subject": "other",
"value": "creeper"
}
]
}
}
],
"percent_chance": 5,
"priority": 1
}
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |