엔티티 AI 목표 레퍼런스 (8/41)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:behavior.charge_held_item
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_charge_held_item.md)
엔티티가 든 아이템을 충전해 사용하게 한다.
Allows an entity to charge and use their held item.
Entity Charge Held Item Behavior Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| items | NA | String | 들고 있는 아이템을 충전하는 데 쓸 수 있는 아이템 목록. 이 목록은 필수이며 항목이 1개 이상이어야 한다. |
| items (as Keyed set of strings) | not set | Keyed set of strings | |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
minecraft:behavior.circle_around_anchor
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_circle_around_anchor.md)
앵커 지점이나 대상 근처를 맴돌게 한다.
Causes an entity to circle around an anchor point placed near a point or target.
Entity Circle Around Anchor Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| angle_change | 15 | Decimal number | 다음 앵커 지점을 고를 때 이 엔티티가 향하는 방향을 바꾸는 각도(도). | |
| control_flags | [] | Control Flags choices | ||
| goal_radius | 0.5 | Decimal number | 엔티티가 앵커 지점에 도달했다고 보는 앵커 지점으로부터의 최대 거리. | Phantom: 1 |
| height_above_target_range | {"max":0,"min":0} | Height Above Target Range item | 다음 앵커 지점을 대상 위 몇 블록까지 설정할 수 있는지. | Phantom: {"min":20,"max":40} |
| height_adjustment_chance | 0.0028570001013576984 | Decimal number | 앵커 지점 주변의 현재 높이를 높이거나 낮추는 빈도를 정하는 확률(퍼센트). | |
| height_offset_range | {"max":0,"min":0} | Height Offset Range item | 높이 조정에 성공했을 때 이 엔티티가 머물러야 하는 앵커 지점으로부터의 수직 거리. | Phantom: {"min":-4,"max":5} |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Phantom: 3 |
| radius_adjustment_chance | 0.004000000189989805 | Decimal number | 앵커 지점 주변의 현재 이동 반경을 키우는 빈도를 정하는 확률(퍼센트). | |
| radius_change | 1 | Decimal number | "radius_adjustment_chance"에 성공했을 때 현재 이동 반경을 늘리는 블록 수. | |
| radius_range | {"max":15,"min":5} | Radius Range item | 반경 조정에 성공했을 때 이 엔티티가 머물러야 하는 앵커 지점으로부터의 수평 거리. | |
| speed_multiplier | 1 | Decimal number | 다음 목표 위치로 이동하는 속도에 곱한다. |
goal_radius
Maximum distance from the anchor-point in which this entity considers itself to have reached the anchor point. This is to prevent the entity from bouncing back and forth trying to reach a specific spot.
height_above_target_range
The number of blocks above the target that the next anchor point can be set. This value is used only when the entity is tracking a target. Check that the limits imposed on the range (minimum, maximum and maximum distance between values) are respected.
height_adjustment_chance
Percent chance to determine how often to increase or decrease the current height around the anchor point. 1 = 100%. "height_change_chance" is deprecated and has been replaced with "height_adjustment_chance".
radius_adjustment_chance
Percent chance to determine how often to increase the size of the current movement radius around the anchor point. 1 = 100%. "radius_change_chance" is deprecated and has been replaced with "radius_adjustment_chance".
radius_change
The number of blocks to increase the current movement radius by, upon successful "radius_adjustment_chance". If the current radius increases over the range maximum, the current radius will be set back to the range minimum and the entity will change between clockwise and counter-clockwise movement.
radius_range
Horizontal distance from the anchor point this entity must stay within upon a successful radius adjustment. Check that the limits imposed on the range (minimum, maximum and maximum distance between values) are respected.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: height_above_target_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
예시
Phantom
"minecraft:behavior.circle_around_anchor": {
"goal_radius": 1,
"height_offset_range": {
"min": -4,
"max": 5
},
"height_above_target_range": {
"min": 20,
"max": 40
},
"priority": 3
}
minecraft:behavior.controlled_by_player
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_controlled_by_player.md)
item_controllable에 정한 아이템으로 플레이어가 엔티티를 조종하게 한다.
Allows the entity to be controlled by the player using an item in the item_controllable property (required). On every tick, the entity will attempt to rotate towards where the player is facing with the control item whilst simultaneously moving forward.
[!Note] Requires the following components in order to work properly:
- Movement (minecraft:movement)
- Rideable (minecraft:rideable)
- Item Controllable (minecraft:item_controllable)
Entity Controlled By Player Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| fractional_rotation | 0.5 | Decimal number | 엔티티가 매 틱 플레이어가 향한 방향을 향해 회전하려 한다. | |
| fractional_rotation_limit | 5 | Decimal number | 엔티티가 매 틱 플레이어가 향한 방향을 향해 돌 수 있는 총 각도를 제한한다. | |
| mount_speed_multiplier | 1 | Decimal number | 플레이어가 조종할 때의 탈것 속도 배율. | Strider: 1.45 |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. |
fractional_rotation
The entity will attempt to rotate to face where the player is facing each tick. The entity will target this percentage of their difference in their current facing angles each tick (from 0.0 to 1.0 where 1.0 = 100%). This is limited by "fractional_rotation_limit". A value of 0.0 will result in the entity no longer turning to where the player is facing. Value must be >= 0.5. Value must be <= 1.
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
예시
Pig
"minecraft:behavior.controlled_by_player": {
"priority": 0
}
Strider
"minecraft:behavior.controlled_by_player": {
"priority": 0,
"mount_speed_multiplier": 1.45
}
minecraft:behavior.croak
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_croak.md)
조건에 따라 무작위 간격으로 개굴 소리를 내게 한다.
Allows the entity to croak at a random time interval with configurable conditions.
Entity Croak Behavior Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| control_flags | [] | Control Flags choices | ||
| duration | {"max":4.5,"min":4.5} | Duration item | 개굴거림이 멈추기까지의 무작위 범위(초). 상수도 가능하다. 범위에 부과된 제한(최소, 최대, 값 사이 최대 거리)을 지켜야 한다. | Frog: {"min":4.5,"max":4.5} |
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | 행동이 시작되고 계속 실행되기 위한 조건. 실행 사이 간격은 필터를 통과한 뒤에 시작된다. | Frog: {"all_of":[{"test":"in_water","value":false},{"test":"in_lava","value":false}]} |
| filters (Alternate 1) | not set | Object | ||
| interval | {"max":20,"min":10} | Interval item | 이 행동의 실행 사이의 무작위 범위(초). 상수도 가능하다. 범위에 부과된 제한(최소, 최대, 값 사이 최대 거리)을 지켜야 한다. | Frog: {"min":10,"max":20} |
| priority | 0 | Integer number | 0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다. | Frog: 9 |
Control Flags choices
| 값 | 제목 | 설명 |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: duration
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
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 | 테스트에서 비교할 값. |
예시
Frog
"minecraft:behavior.croak": {
"duration": {
"min": 4.5,
"max": 4.5
},
"filters": {
"all_of": [
{
"test": "in_water",
"value": false
},
{
"test": "in_lava",
"value": false
}
]
},
"interval": {
"min": 10,
"max": 20
},
"priority": 9
}
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |