엔티티 AI 목표 레퍼런스 (28/41)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:behavior.pet_sleep_with_owner
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_pet_sleep_with_owner.md)
반려 몹이 잠자는 주인과 함께 침대 위로 올라가게 한다. 길들여 주인이 있어야 한다.
Allows the pet mob to move onto a bed with its owner while sleeping.
[!Note] Requires a player to be set as the tame owner via taming (or the
tamecommand, or the tame API on EntityTameableComponent) in order to work properly.
Pet Sleep With Owner Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| goal_radius | 0.5 | Decimal number | 몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. |
| priority | not set | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| search_height | 1 | Integer number | 반려 동물이 주인과 함께 자려면 주인으로부터 있을 수 있는 높이(블록). |
| search_range | 0 | Integer number | 반려 동물이 주인과 함께 자려면 주인으로부터 있을 수 있는 거리(블록). |
| speed_multiplier | 1 | Decimal number | 이 AI 목표를 쓸 때의 몹 이동 속도 배율. |
예시
minecraft:behavior.pickup_items
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_pickup_items.md)
몹이 바닥의 아이템을 줍게 한다.
Allows the mob to pick up items on the ground.
Entity Pickup Items Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| can_pickup_any_item | false | Boolean true/false | true이면 몹이 모든 아이템을 주울 수 있다. | Bogged: true |
| can_pickup_to_hand_or_equipment | true | Boolean true/false | true이면 몹이 손이나 방어구 슬롯으로 아이템을 주울 수 있다. | |
| control_flags | [] | Control Flags choices | ||
| cooldown_after_being_attacked | 0 | Integer number | 공격받은 뒤 몹이 아이템을 주울 수 없는 시간(초). | |
| excluded_items | [] | String | 이 몹이 줍지 않을 아이템 목록. | Bogged: [{"tags":"q.all_tags('minecraft:is_spear')"}], Drowned: [{"name":"minecraft:glow_ink_sac"},{"tags":"q.all_tags('minecraft:is_spear')"}] |
| excluded_items (as Keyed set of strings) | not set | Keyed set of strings | ||
| goal_radius | 0.5 | Decimal number | 몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. | Allay: 2.2, Bogged: 2 |
| max_dist | 1 | Integer number | 이 몹이 주울 아이템을 찾는 최대 거리. | Allay: 32, Bogged: 3 |
| on_pickup_item_end | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Pickup Item End item | 이 몹이 아이템 줍기를 마치거나 흥미를 잃었을 때 실행할 이벤트. 형식 버전 1.26.20 이상이 필요하다. | |
| on_pickup_item_start | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Pickup Item Start item | 이 몹이 아이템을 주우러 이동할 때 실행할 이벤트. 형식 버전 1.26.20 이상이 필요하다. | |
| pickup_based_on_chance | false | Boolean true/false | true이면 난이도에 따라 몹이 아이템을 주울 수 없게 될 무작위 확률이 있다. | Bogged: true |
| pickup_same_items_as_in_hand | false | Boolean true/false | true이면 몹이 이미 들고 있는 것과 같은 아이템만 줍는다. | Allay: true |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Allay: 2, Bogged: 5, Drowned: 6 |
| search_height | 1 | Integer number | 몹이 아이템을 찾는 높이(블록). | Allay: 32 |
| speed_multiplier | 1 | Decimal number | 이 AI 목표를 쓸 때의 몹 이동 속도 배율. | Allay: 6, Bogged: 1 |
| stop_if_holding_item | false | Boolean true/false | true이면 이미 아이템을 든 동안에는 줍기 목표를 시작하지 않는다. 한 번에 아이템 하나만 들어야 하는 몹에 유용하다. 형식 버전 1.26.30 이상이 필요하다. | |
| track_target | false | Boolean true/false | 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: on_pickup_item_end
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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_pickup_item_end > 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 |
예시
Allay
"minecraft:behavior.pickup_items": {
"can_pickup_any_item": false,
"search_height": 32,
"priority": 2,
"goal_radius": 2.2,
"can_pickup_to_hand_or_equipment": false,
"max_dist": 32,
"pickup_based_on_chance": false,
"pickup_same_items_as_in_hand": true,
"speed_multiplier": 6
}
Bogged
"minecraft:behavior.pickup_items": {
"can_pickup_any_item": true,
"excluded_items": [
{
"tags": "q.all_tags('minecraft:is_spear')"
}
],
"pickup_based_on_chance": true,
"goal_radius": 2,
"priority": 5,
"max_dist": 3,
"speed_multiplier": 1
}
Drowned
"minecraft:behavior.pickup_items": {
"can_pickup_any_item": true,
"excluded_items": [
{
"name": "minecraft:glow_ink_sac"
},
{
"tags": "q.all_tags('minecraft:is_spear')"
}
],
"pickup_based_on_chance": true,
"goal_radius": 2,
"priority": 6,
"max_dist": 3,
"speed_multiplier": 1
}
Parched
"minecraft:behavior.pickup_items": {
"can_pickup_any_item": true,
"excluded_items": [
{
"tags": "q.all_tags('minecraft:is_spear')"
}
],
"pickup_based_on_chance": true,
"goal_radius": 2,
"priority": 6,
"max_dist": 3,
"speed_multiplier": 1
}
minecraft:behavior.place_block
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_place_block.md)
원문에 설명이 없다. 속성 표를 본다.
Contents
- Can Place
- Entity ActorDefinitionTrigger
- Placeable Carried Blocks
- Entity PlaceBlockGoalWeightedBlockDescriptor
- Block IntRange
AI goal that makes entities place blocks into the world, like Endermen placing their carried block or snow golems leaving snow trails. Configure which blocks can be placed, where they can be placed, and how often the entity attempts placement. Creates mobs that modify the environment.
[!Note] This item requires a format version of at least 1.21.100.
Entity Place Block Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| affected_by_griefing_rule | true | Boolean true/false | true이면 목표가 몹 그리핑 게임 규칙의 영향을 받는다. |
| can_place (Can Place) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Can Place item | 엔티티가 블록을 놓으려 시도할지 정하는 필터. Self와 Target이 설정된다. |
| can_place (Alternate 1) | not set | Object | |
| chance | 1 | Decimal number | 엔티티가 블록을 놓으려 시도할 틱당 확률. 값은 1 이하여야 한다. |
| control_flags | [] | Control Flags choices | |
| on_place | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Place item | 엔티티가 블록을 실제로 놓았을 때 실행되는 트리거. Self, Target, Block이 설정된다. |
| placeable_carried_blocks (Placeable Carried Blocks) | [] | Array of Placeable Carried Blocks items | 엔티티가 든 아이템에서 놓을 수 있는 블록을 정하는 블록 설명자. 비어 있으면 모든 블록이 유효하다. |
| placeable_carried_blocks (as String) | not set | String | |
| placeable_carried_blocks (as Object) | not set | Object | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| randomly_placeable_blocks | [] | Array of Randomly Placeable Blocks items | 무작위로 놓을 블록을 정하는 가중치가 있는 블록 설명자. 비어 있으면 엔티티가 placeable_carried_blocks에서 든 블록을 놓으려 한다. |
| xz_range | {"max":2,"min":-2} | Xz Range item | 엔티티가 블록을 놓으려 시도하는 XZ 범위. |
| y_range | {"max":3,"min":0} | y Range item | 엔티티가 블록을 놓으려 시도하는 Y 범위. |
Can Place
Can Place Properties
JSON path: can_place
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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_place
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| 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_place > 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 |
Placeable Carried Blocks
Placeable Carried Blocks Properties
JSON path: placeable_carried_blocks
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
Entity PlaceBlockGoalWeightedBlockDescriptor
Entity PlaceBlockGoalWeightedBlockDescriptor Properties
JSON path: randomly_placeable_blocks
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| block (Block) | {"name":"","states":{},"tags":""} | Block item | 이 항목의 블록 설명자. |
| block (as String) | not set | String | |
| block (Alternate 2) | not set | Object | |
| filter (Filter) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filter item | 이 항목을 무작위로 고를 수 있는지 정하는 필터. Self, Target, Block이 설정된다. |
| filter (Alternate 1) | not set | Object | |
| weight | 1 | Integer number | 이 항목의 가중치. |
Block
Block Properties
JSON path: randomly_placeable_blocks > block
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
Filter
Filter Properties
JSON path: randomly_placeable_blocks > filter
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Block IntRange
Block IntRange Properties
JSON path: xz_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Integer number | |
| min | 0 | Integer number |
예시
minecraft:behavior.play
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_play.md)
take_flower 동작을 가진 다른 몹에게 꽃을 건네게 한다(원문 설명 그대로). 주민에게만 쓸 수 있다.
Allows the mob to offer a flower to another mob with the minecraft:take_flower behavior.
[!Note] Can only be used on the following type of entity:
- Villager (minecraft:villager)
Entity Play Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| chance_to_start | 0.0024999999441206455 | Decimal number | 몹이 이 목표를 시작할 확률(0~1). 값은 1 이하여야 한다. |
| control_flags | [] | Control Flags choices | |
| follow_distance | 2 | Integer number | 몹이 따라가는 친구와 유지하려는 범위 거리(블록). |
| friend_search_area | [6, 3, 6] | Array of numbers | 함께 놀 친구 후보를 찾는 데 쓰는 AABB의 크기. |
| friend_search_area (Friend Search Area) | not set | Friend Search Area (Friend Search Area) item | |
| friend_types | [] | Array of objects | 함께 놀 친구 후보를 찾을 때 고려할 엔티티 종류. |
| friend_types (Friend Types) | not set | Friend Types (Friend Types) item | |
| max_play_duration_seconds | 50 | Decimal number | 목표를 끝내기 전에 몹이 노는 최대 시간(초). |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| random_pos_search_height | 3 | Integer number | 몹이 이동할 무작위 위치를 찾는 높이(블록). 최소 1이어야 한다. 값은 1 이상이어야 한다. |
| random_pos_search_range | 16 | Integer number | 몹이 이동할 무작위 위치를 지면에서 찾는 거리(블록). 최소 1이어야 한다. 값은 1 이상이어야 한다. |
| speed_multiplier | 1 | Decimal number | 이 AI 목표를 쓸 때의 몹 이동 속도 배율. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Friend Search Area (Friend Search Area)
Friend Search Area Properties
JSON path: friend_search_area
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| x | 0 | Decimal number | |
| y | 0 | Decimal number | |
| z | 0 | Decimal number |
Friend Types (Friend Types)
Friend Types Properties
JSON path: friend_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: friend_types > filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
예시
minecraft:behavior.play_dead
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_play_dead.md)
공격자의 표적이 되지 않도록 죽은 척하게 한다.
Allows this entity to pretend to be dead to avoid being targeted by attackers.
Entity Play Dead Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| apply_regeneration | false | Boolean true/false | 죽은 척하는 동안 몹이 재생 효과를 받는지 여부. |
| control_flags | [] | Control Flags choices | |
| damage_sources | [] | Damage Sources choices | 이 몹이 죽은 척하게 만드는 엔티티 피해 원인 목록. |
| duration | 1 | Decimal 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 | |
| force_below_health | 0 | Integer number | 이 체력에서 피해를 입으면 몹이 죽은 척을 하게 되는 체력. |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| random_damage_range | {"max":0,"min":0} | Random Damage Range item | 무작위에 따라 목표를 시작시킬 수 있는 피해량의 범위. |
| random_start_chance | 1 | Decimal number | 피해를 입을 때 이 목표가 시작될 가능성. |
random_damage_range
The range of damage that may cause the goal to start depending on randomness. Damage taken below the min will never cause the goal to start. Damage taken above the max will always cause the goal to start.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Damage Sources choices
| 값 | 제목 | 설명 |
|---|---|---|
| all | All | |
| anvil | Anvil | |
| block_explosion | Block explosion | |
| campfire | Campfire | |
| charging | Charging | |
| contact | Contact | |
| drowning | Drowning | |
| entity_attack | Entity attack | |
| entity_explosion | Entity explosion | |
| fall | Fall | |
| falling_block | Falling block | |
| fire | Fire | |
| fire_tick | Fire tick | |
| fireworks | Fireworks | |
| fly_into_wall | Fly into wall | |
| freezing | Freezing | |
| lava | Lava | |
| lightning | Lightning | |
| mace_smash | Mace smash | |
| magic | Magic | |
| magma | Magma | |
| none | None | |
| override | Override | |
| piston | Piston | |
| projectile | Projectile | |
| ram_attack | Ram attack | |
| self_destruct | Self destruct | |
| sonic_boom | Sonic boom | |
| soul_campfire | Soul campfire | |
| stalactite | Stalactite | |
| stalagmite | Stalagmite | |
| starve | Starve | |
| suffocation | Suffocation | |
| temperature | Temperature | |
| thorns | Thorns | |
| void | Void | |
| wither | Wither |
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 | 테스트에서 비교할 값. |
Block IntRange
Block IntRange Properties
JSON path: random_damage_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Integer number | |
| min | 0 | Integer number |
예시
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |