엔티티 AI 목표 레퍼런스 (40/41)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:behavior.timer_flag_1
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_timer_flag_1.md)
동작이 시작될 때 이벤트를 발생시키고 일정 시간 기다린 뒤 멈춘다. 끝나거나 중단될 때 다른 이벤트를 발생시킨다.
Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_1 will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.
[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON.
cooldown_rangeandduration_rangenow only accept an object withminandmaxvalues; the previous single-number shorthand is no longer accepted in 1.26.0 and newer.
[!Note] This item requires a format version of at least 1.20.40.
Entity Timer Flag 1 Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | Sniffer: ["move","look"] | |
| cooldown_range (Legacy FloatRange) | {"max":0,"min":0} | Cooldown Range item | 목표 쿨다운 범위(초). 범위 객체나 숫자 하나를 쓸 수 있다. | Sniffer: {"min":400,"max":500} |
| cooldown_range (as Decimal number) | not set | Decimal number | ||
| duration_range (Legacy FloatRange) | {"max":0,"min":0} | Duration Range item | 목표 지속 시간 범위(초). 범위 객체나 숫자 하나를 쓸 수 있다. | Sniffer: {"min":2,"max":2} |
| duration_range (as Decimal number) | not set | Decimal number | ||
| on_end | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | End item | 목표가 끝날 때 실행할 이벤트. | Sniffer: {"event":"on_scenting_success","target":"self"} |
| on_start | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Start item | 목표가 시작될 때 실행할 이벤트. | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Sniffer: 6 |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: cooldown_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
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_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_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 |
예시
Sniffer
"minecraft:behavior.timer_flag_1": {
"priority": 6,
"control_flags": [
"move",
"look"
],
"cooldown_range": {
"min": 400,
"max": 500
},
"duration_range": {
"min": 2,
"max": 2
},
"on_end": {
"event": "on_scenting_success",
"target": "self"
}
}
minecraft:behavior.timer_flag_2
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_timer_flag_2.md)
동작이 시작될 때 이벤트를 발생시키고 일정 시간 기다린 뒤 멈춘다. 끝나거나 중단될 때 다른 이벤트를 발생시킨다.
Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_2 will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.
[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON.
cooldown_rangeandduration_rangenow only accept an object withminandmaxvalues; the previous single-number shorthand is no longer accepted in 1.26.0 and newer.
[!Note] This item requires a format version of at least 1.20.40.
Entity Timer Flag 2 Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | Sniffer: ["move"] | |
| cooldown_range (Legacy FloatRange) | {"max":0,"min":0} | Cooldown Range item | 목표 쿨다운 범위(초). 범위 객체나 숫자 하나를 쓸 수 있다. | Sniffer: {"min":0,"max":0} |
| cooldown_range (as Decimal number) | not set | Decimal number | ||
| duration_range (Legacy FloatRange) | {"max":0,"min":0} | Duration Range item | 목표 지속 시간 범위(초). 범위 객체나 숫자 하나를 쓸 수 있다. | Sniffer: {"min":2,"max":5} |
| duration_range (as Decimal number) | not set | Decimal number | ||
| on_end | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | End item | 목표가 끝날 때 실행할 이벤트. | Sniffer: {"event":"on_rising_end","target":"self"} |
| on_start | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Start item | 목표가 시작될 때 실행할 이벤트. | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Sniffer: 2 |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: cooldown_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
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_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_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 |
예시
Sniffer
"minecraft:behavior.timer_flag_2": {
"priority": 2,
"control_flags": [
"move"
],
"cooldown_range": {
"min": 0,
"max": 0
},
"duration_range": {
"min": 2,
"max": 5
},
"on_end": {
"event": "on_rising_end",
"target": "self"
}
}
minecraft:behavior.timer_flag_3
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_timer_flag_3.md)
동작이 시작될 때 이벤트를 발생시키고 일정 시간 기다린 뒤 멈춘다. 끝나거나 중단될 때 다른 이벤트를 발생시킨다.
Fires an event when this behavior starts, then waits for a duration before stopping. When stopping due to that timeout or due to being interrupted by another behavior, fires another event. query.timer_flag_3 will return 1.0 on both the client and server when this behavior is running, and 0.0 otherwise.
[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON.
cooldown_rangeandduration_rangenow only accept an object withminandmaxvalues; the previous single-number shorthand is no longer accepted in 1.26.0 and newer.
[!Note] This item requires a format version of at least 1.20.40.
Entity Timer Flag 3 Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| cooldown_range (Legacy FloatRange) | {"max":0,"min":0} | Cooldown Range item | 목표 쿨다운 범위(초). 범위 객체나 숫자 하나를 쓸 수 있다. | Sniffer: {"min":0,"max":0} |
| cooldown_range (as Decimal number) | not set | Decimal number | ||
| duration_range (Legacy FloatRange) | {"max":0,"min":0} | Duration Range item | 목표 지속 시간 범위(초). 범위 객체나 숫자 하나를 쓸 수 있다. | Sniffer: {"min":2,"max":5} |
| duration_range (as Decimal number) | not set | Decimal number | ||
| on_end | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | End item | 목표가 끝날 때 실행할 이벤트. | Sniffer: {"event":"on_feeling_happy_end","target":"self"} |
| on_start | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Start item | 목표가 시작될 때 실행할 이벤트. | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Sniffer: 5 |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: cooldown_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
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_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_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 |
예시
Sniffer
"minecraft:behavior.timer_flag_3": {
"priority": 5,
"cooldown_range": {
"min": 0,
"max": 0
},
"duration_range": {
"min": 2,
"max": 5
},
"on_end": {
"event": "on_feeling_happy_end",
"target": "self"
}
}
minecraft:behavior.trade_interest
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_trade_interest.md)
거래 가능한 아이템을 든 플레이어를 바라보게 한다.
Allows the mob to look at a player that is holding a tradable item.
Entity Trade Interest Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| carried_item_switch_time | 2 | Decimal number | 같은 거래가 되는 다른 아이템으로 바꾸려 하기 전에 상인이 아이템을 들고 있는 최대 시간(초). |
| control_flags | [] | Control Flags choices | |
| cooldown | 2 | Decimal number | 상인이 이 목표를 다시 쓸 수 있기까지의 시간(초). |
| interest_time | 45 | Decimal number | 상인이 거래 아이템을 보여 주며 관심을 보이는 최대 시간(초). |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
| remove_item_time | 1 | Decimal number | 거래할 아이템이 더 이상 없을 때 상인이 기다리는 최대 시간(초). |
| within_radius | 0 | Decimal number | 이 몹이 좋아하는 아이템을 든 플레이어에게 관심을 가질 수 있는 거리(블록). |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.trade_with_player
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_trade_with_player.md)
플레이어가 이 몹과 거래하게 한다. 목표가 시작되면 몹의 내비게이션을 멈춘다.
Allows the player to trade with this mob. When the goal starts, it will stop the mob's navigation.
Trade With Player Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| filters | not set | Minecraft filter | 행동이 시작되기 위해 충족해야 하는 조건. |
| max_distance_from_player | 8 | Decimal number | 목표를 벗어나기 전에 몹이 플레이어에게서 떨어질 수 있는 최대 거리. |
| priority | not set | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
예시
minecraft:behavior.transport_items
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_transport_items.md)
몹이 컨테이너 사이에서 아이템을 나르게 한다.
A behavior that enables a mob to transport items from and to containers.
Entity Transport Items Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| allow_simultaneous_interaction | false | Boolean true/false | true이면 몹이 컨테이너를 다른 엔티티가 쓰지 않을 때까지 기다린 뒤에 상호작용을 시작한다. |
| allowed_items | [] | String | 몹이 운반할 수 있는 유일한 아이템인 아이템 설명자 목록. |
| allowed_items (as Keyed set of strings) | not set | Keyed set of strings | |
| control_flags | [] | Control Flags choices | |
| destination_container_types (Destination Container Types) | [] | Destination Container Types item | 아이템을 넣을 컨테이너 종류인 블록 설명자 목록. 단순한 블록 식별자 문자열이나 name, states, tags를 가진 객체를 쓸 수 있다. |
| destination_container_types (Destination Container Type) | not set | Array of Destination Container Types (Destination Container Type) items | |
| disallowed_items | [] | String | 몹이 운반할 수 없는 아이템 설명자 목록. 비어 있지 않으면 "allowed_items"는 비어 있어야 한다. |
| disallowed_items (as Keyed set of strings) | not set | Keyed set of strings | |
| idle_cooldown | 20 | Integer number | 몹이 아이템을 꺼내거나 넣을 컨테이너를 찾지 못하면 목표가 이 시간(초) 동안 활성 상태가 아니게 된다. |
| initial_cooldown | 0 | Integer number | 스폰되거나 목표가 추가된 뒤 목표가 시작될 수 있기까지 몹이 기다리는 시간. |
| interaction_time | 3 | Decimal number | 컨테이너와 상호작용하는 데 쓰는 시간(초). |
| max_stack_size | 64 | Integer number | 몹이 컨테이너에서 꺼내려 하는 최대 스택 크기. 값은 1 이상 64 이하여야 한다. |
| max_visited_containers | 16 | Integer number | 쿨다운에 들어가 처음부터 다시 시작하기 전에 몹이 아이템을 꺼내거나 넣으려 하는 최대 컨테이너 수. |
| place_strategy | any | Place Strategy choices | 운반하는 아이템을 놓을 때 쓰는 전략. |
| priority | 0 | Integer number | |
| search_distance | [64, 32] | Array of numbers | 아이템을 꺼내거나 넣을 컨테이너를 찾는 최대 수평·수직 검색 거리. |
| search_distance (Search Distance) | not set | Search Distance (Search Distance) item | |
| search_strategy | random | Search Strategy choices | 출발지 또는 목적지 컨테이너를 찾을 때 쓰는 전략. 유효한 가장 가까운 컨테이너 또는 범위 안의 무작위 유효한 컨테이너. |
| source_container_types (Source Container Types) | [] | Source Container Types item | 아이템을 꺼낼 컨테이너 종류인 블록 설명자 목록. 단순한 블록 식별자 문자열이나 name, states, tags를 가진 객체를 쓸 수 있다. |
| source_container_types (Source Container Type) | not set | Array of Source Container Types (Source Container Type) items |
allowed_items
A list of item descriptors that are the only items the mob is allowed to transport. If this and "disallowed_items" are both empty, then all items are allowed. If non-empty "disallowed_items" must be empty.
place_strategy
The strategy to use for placing the transported item. Any - always place if there is room, With matching - place if there is a matching item in the container, With matching or empty - like With matching but will also place in empty containers.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Destination Container Types
Destination Container Types Properties
JSON path: destination_container_types
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
Destination Container Types (Destination Container Type)
Destination Container Type Properties
JSON path: destination_container_types
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| name | not set | String | 'minecraft:chest' 같은 블록 식별자. |
| states | not set | Keyed set of strings | 일치시킬 블록 상태 값. |
| tags | not set | String | 일치시킬 블록 태그. |
Place Strategy choices
| 값 | 제목 | 설명 |
|---|---|---|
| any | Any | |
| with_matching | With matching | |
| with_matching_or_empty | With matching or empty |
Search Distance (Search Distance)
Search Distance Properties
JSON path: search_distance
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| x | 0 | Decimal number | |
| y | 0 | Decimal number |
Search Strategy choices
| 값 | 제목 | 설명 |
|---|---|---|
| nearest | Nearest | |
| random | Random |
Source Container Types
Same structure as Destination Container Types.
Source Container Types (Source Container Type)
Same structure as Destination Container Types (Destination Container Type).
예시
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |