본문으로 건너뛰기

엔티티 AI 목표 레퍼런스 (41/41)

MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 AI 목표(behavior) 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.

minecraft:behavior.use_kinetic_weapon​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_use_kinetic_weapon.md)

kinetic_weapon 컴포넌트가 있는 아이템으로 대상에게 돌진하고 재배치하며 공격하게 한다.

Enables a mob to use kinetic weaponry by intermittently charging at its target and repositioning afterward.

[!Note] Lets a mob attack with an item carrying the minecraft:kinetic_weapon component by charging at the target, then repositioning between strikes.

[!Note] This item requires a format version of at least 1.21.130.

Entity Use Kinetic Weapon Behavior Properties​

이름기본값유형설명
approach_distance8Decimal number몹이 운동 무기를 쓰기 시작하는 대상까지의 거리.
attack_oncefalseBoolean true/false몹이 평생 이 근접 공격 행동을 한 번만 하게 한다.
attack_typesString이 엔티티가 공격할 엔티티 종류를 정의한다.
can_spread_on_firefalseBoolean true/false불이 붙은 채 빈손이면 공격에 성공할 때 대상에 불을 붙일 수 있게 한다.
control_flags[]Control Flags choices
cooldown_distance{"max":8,"min":8}Cooldown Distance item아이템의 "minecraft:kinetic_weapon" 컴포넌트의 모든 "max_duration" 값이 지난 뒤 몹이 물러나는 거리.
cooldown_speed_multiplier1Decimal number쿨다운 중 몹의 이동 속도에 곱하는 배수.
cooldown_time1Decimal number연속 공격 사이의 쿨다운 시간(초).
hijack_mount_navigationfalseBoolean true/false몹이 이 목표가 정의한 논리로 탈것의 내비게이션 동작을 덮어쓸 수 있게 한다.
inner_boundary_time_increase0.25Decimal number대상이 "path_inner_boundary"를 넘어 있을 때 공격 경로 재계산 간격에 더해지는 시간(초).
max_path_time0.550000011920929Decimal number새 공격 경로를 다시 계산하기까지의 최대 기본 시간(초). 증가분을 적용하기 전 값이다.
melee_fov90Decimal number하드코딩된 감지 컴포넌트가 유효한 공격 대상을 찾는 데 쓰는 시야각(도).
min_path_time0.20000000298023224Decimal number새 공격 경로를 다시 계산하기까지의 최소 기본 시간(초). 증가분을 적용하기 전 값이다.
on_attack{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Attack item이 엔티티가 공격에 성공했을 때 발생시킬 이벤트를 정의한다.
on_kill{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Kill item이 엔티티가 대상을 죽였을 때 발생시킬 이벤트를 정의한다.
outer_boundary_time_increase0.5Decimal number대상이 "path_outer_boundary"를 넘어 있을 때 공격 경로 재계산 간격에 더해지는 시간(초).
path_fail_time_increase0.75Decimal number몹이 현재 경로로 이동하지 못할 때 공격 경로 재계산 간격에 더해지는 시간(초).
path_inner_boundary16Decimal number공격 경로 재계산을 "inner_boundary_time_increase"만큼 늘리는 거리.
path_outer_boundary32Decimal number공격 경로 재계산을 "outer_boundary_time_increase"만큼 늘리는 거리.
priority0Integer number
random_stop_interval0Integer number몹이 현재 공격을 멈출 확률을 1/N로 정의한다. N은 "random_stop_interval"이다.
reposition_distance{"max":2,"min":2}Reposition Distance item대상이 아이템의 "minecraft:kinetic_weapon" 컴포넌트의 최소·최대 "reach" 중간점보다 가까워지면 몹이 물러나는 거리.
reposition_speed_multiplier1Decimal number재배치 중 몹의 이동 속도에 곱하는 배수.
require_complete_pathfalseBoolean true/false몹에서 대상까지 전체 이동 경로가 필요한지 지정한다.
speed_multiplier1Decimal number대상을 향해 이동할 때 몹의 이동 속도에 곱하는 배율.
track_targetfalseBoolean true/false하드코딩된 감지 컴포넌트가 없어도 몹이 대상을 추적할 수 있게 한다.
weapon_min_speed_multiplier1Decimal number아이템의 "minecraft:kinetic_weapon" 컴포넌트의 각 "min_speed"와 "min_relative_speed" 조건에 곱하는 배수.
weapon_reach_multiplier1Decimal number아이템의 "minecraft:kinetic_weapon" 컴포넌트의 "reach"에 곱하는 배수.
x_max_rotation30Decimal number몹이 대상을 바라보려 할 때 X축 최대 회전각(도).
y_max_head_rotation30Decimal number몹이 대상을 바라보려 할 때 Y축 최대 회전각(도).

cooldown_distance​

The distance the mob retreats to after all of the item's "minecraft:kinetic_weapon" component's "max_duration" values have elapsed. After reaching this position and once "cooldown" has elapsed, the mob will approach again. This value is added to the reach midpoint.

hijack_mount_navigation​

Allows the mob to override its mount's navigation behavior with the logic defined by this goal. Requires the mount to be running the "minecraft:behavior.mount_pathing" goal, which default behavior will be ignored.

reposition_distance​

The distance the mob retreats to once the target is closer than the midpoint of the item's "minecraft:kinetic_weapon" component's minimum and maximum "reach". After reaching this position, the mob will charge again. This value is added to the reach midpoint.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: cooldown_distance

이름기본값유형설명
max0Decimal number
min0Decimal 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_attack

이름기본값유형설명
eventString
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 setObject
targetselfTarget 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_attack > filters

이름기본값유형설명
domainnot setObject테스트를 수행할 도메인.
operatornot setObject'value'와 함께 적용할 비교 방식.
subjectnot setObject이 필터 테스트의 대상(subject).
testnot setString적용할 테스트의 이름.
valuenot setObject테스트에서 비교할 값.

Target choices​

값제목설명
babyBaby
blockBlock
damagerDamager
holderHolder
itemItem
otherOther
parentParent
playerPlayer
selfSelf
targetTarget

예시​

minecraft:behavior.vex_copy_owner_target​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_vex_copy_owner_target.md)

주인이 노리는 엔티티를 같이 노리게 한다. vex에는 더 이상 쓰이지 않는다.

Allows the mob to target the same entity its owner is targeting.

[!Note] No longer used for the vex entity.

Vex Copy Owner Target Behavior Properties​

이름기본값유형설명
entity_typesnot setArray of Entity Types items이 몹이 주인을 복사할 수 있는 엔티티 목록.
prioritynot setInteger number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.

Entity Types​

List of entities this mob can copy the owner from.

Entity Types Properties​

JSON path: entity_types

이름기본값유형설명
cooldown0Decimal number같은 종류의 대상을 다시 고르기 전에 몹이 기다려야 하는 시간(초).
filtersnot setMinecraft filter목록의 이 항목이 유효하기 위한 조건.
max_dist16Decimal number유효한 대상이 되기 위해 이 몹과 떨어질 수 있는 최대 거리.
must_seefalseBoolean true/falsetrue이면 몹이 보여야 유효한 대상이 된다.
must_see_forget_duration3Decimal number대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초).
reevaluate_descriptionfalseBoolean true/falsetrue이면 조건을 하나라도 만족하지 못하게 될 때 대상에서 해제된다.
sprint_speed_multiplier1Decimal number뛰는 속도 배율. 1.0이면 속도가 그대로다.
walk_speed_multiplier1Decimal number걷기 속도 배율. 1.0이면 속도가 그대로다.

minecraft:behavior.vex_random_move​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_vex_random_move.md)

벡스처럼 무작위로 움직이게 한다. vex에는 더 이상 쓰이지 않는다.

Allows the mob to move around randomly like the Vex.

[!Note] No longer used for the vex entity. Instead, minecraft:navigation.walk and minecraft:behavior.float allow the vex entity to navigate.

Vex Random Move Behavior Properties​

이름기본값유형설명
prioritynot setInteger number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.

minecraft:behavior.wither_random_attack_pos_goal​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_wither_random_attack_pos_goal.md)

위더가 무작위 공격을 하게 한다. 위더에만 쓸 수 있다.

Allows the wither to launch random attacks.

[!Note] Can only be used on the following type of entity:

  • Wither (minecraft:wither)

Entity Wither Random Attack Pos Goal Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Wither: 3

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Wither​
"minecraft:behavior.wither_random_attack_pos_goal": {
"priority": 3
}

minecraft:behavior.wither_target_highest_damage​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_wither_target_highest_damage.md)

위더가 자신에게 가장 많은 피해를 준 몹에게 공격을 집중하게 한다. 위더에만 쓸 수 있다.

Allows the wither to focus its attacks on whichever mob has dealt the most damage to it.

[!Note] Can only be used on the following type of entity:

  • Wither (minecraft:wither)

Entity Wither Target Highest Damage Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
entity_types[]Array of Entity Types items위더가 자신에게 가장 많은 피해를 준 대상을 찾을 때 고려하는 엔티티 종류 목록.
entity_types (Entity Types)not setEntity Types (Entity Types) item
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Wither: 1

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Entity Types​

List of entity types the wither takes into account to find who dealt the most damage to it.

Entity Types Properties​

JSON path: entity_types

이름기본값유형설명
cooldown0Decimal number같은 종류의 대상을 다시 고르기 전에 몹이 기다려야 하는 시간(초).
filtersnot setMinecraft filter목록의 이 항목이 유효하기 위한 조건.
max_dist16Decimal number유효한 대상이 되기 위해 이 몹과 떨어질 수 있는 최대 거리.
must_seefalseBoolean true/falsetrue이면 몹이 보여야 유효한 대상이 된다.
must_see_forget_duration3Decimal number대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초).
reevaluate_descriptionfalseBoolean true/falsetrue이면 조건을 하나라도 만족하지 못하게 될 때 대상에서 해제된다.
sprint_speed_multiplier1Decimal number뛰는 속도 배율. 1.0이면 속도가 그대로다.
walk_speed_multiplier1Decimal number걷기 속도 배율. 1.0이면 속도가 그대로다.

Entity Types (Entity Types)​

Entity Types Properties​

JSON path: entity_types

이름기본값유형설명
check_if_outnumberedfalseBoolean true/falsetrue이면 몹이 수적으로 밀리는지 확인한다.
cooldown0Integer 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 setObject
max_dist16Decimal number유효한 대상이 되기 위해 이 몹과 떨어질 수 있는 최대 거리.
max_flee10Decimal number달아나기를 멈추기 위해 몹이 대상에서 떨어질 수 있는 최대 거리.
max_height-1Decimal number유효한 대상이 되기 위해 이 몹과 높이가 차이 날 수 있는 최대값.
must_seenot setBoolean true/falsetrue이면 몹이 보여야 유효한 대상이 된다.
must_see_forget_duration3Integer number대상이 더 이상 보이지 않을 때 이 몹이 대상을 잊고 새 대상을 찾기까지 기다리는 시간(초).
priority0Integer number이 몹 종류의 우선순위.
reevaluate_descriptionfalseBoolean true/falsetrue이면 조건을 하나라도 만족하지 못하게 될 때 대상에서 해제된다.
sprint_speed_multiplier1Decimal number달리기(스프린트) 속도 배율. 1.0이면 속도가 그대로다.
walk_speed_multiplier1Decimal number걷기 속도 배율. 1.0이면 속도가 그대로다.
Filters​
Filters Properties​

JSON path: entity_types > filters

이름기본값유형설명
domainnot setObject테스트를 수행할 도메인.
operatornot setObject'value'와 함께 적용할 비교 방식.
subjectnot setObject이 필터 테스트의 대상(subject).
testnot setString적용할 테스트의 이름.
valuenot setObject테스트에서 비교할 값.

예시​

Wither​
"minecraft:behavior.wither_target_highest_damage": {
"priority": 1
}

minecraft:behavior.work​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_work.md)

NPC가 POI를 사용하게 한다.

Allows the NPC to use the POI.

Entity Work Behavior Properties​

이름기본값유형설명
active_time0Integer numberNPC가 작업 장소에 머무는 틱 수.
can_work_in_rainfalseBoolean true/falsetrue이면 직업 블록 POI에 비가 와도 이 엔티티가 일할 수 있다.
control_flags[]Control Flags choices
goal_cooldown0Integer number목표를 다시 쓸 수 있기까지 쿨다운으로 남는 틱 수.
on_arrival{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Arrival item몹이 직업 블록에 도착했을 때 실행할 이벤트.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
sound_delay_max0Integer number소리를 재생하는 최대 간격.
sound_delay_min0Integer number소리를 재생하는 최소 간격.
speed_multiplier0.5Decimal number이 AI 목표를 쓸 때의 몹 이동 속도 배율. 값은 0보다 커야 한다.
work_in_rain_tolerance-1Integer number"can_work_in_rain"이 false일 때, 비가 와도 목표를 중단시키지 않는 목표 남은 최대 틱 수.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

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_arrival

이름기본값유형설명
eventString
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 setObject
targetselfTarget 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_arrival > filters

이름기본값유형설명
domainnot setObject테스트를 수행할 도메인.
operatornot setObject'value'와 함께 적용할 비교 방식.
subjectnot setObject이 필터 테스트의 대상(subject).
testnot setString적용할 테스트의 이름.
valuenot setObject테스트에서 비교할 값.

Target choices​

값제목설명
babyBaby
blockBlock
damagerDamager
holderHolder
itemItem
otherOther
parentParent
playerPlayer
selfSelf
targetTarget

예시​

minecraft:behavior.work_composter​

(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityGoals/minecraftBehavior_work_composter.md)

NPC가 퇴비통 POI로 남는 씨앗을 뼛가루로 바꾸게 한다.

Allows the NPC to use the composter POI to convert excess seeds into bone meal.

Entity Work Composter Behavior Properties​

이름기본값유형설명
active_time0Integer numberNPC가 작업 장소에 머무는 틱 수.
block_interaction_max1Integer number몹이 퇴비통과 상호작용하는 최대 횟수.
can_empty_compostertrueBoolean true/false몹이 가득 찬 퇴비통을 비울 수 있는지 정한다.
can_fill_compostertrueBoolean true/false퇴비통이 가득 차지 않았다면 몹이 아이템을 넣을 수 있는지 정한다.
can_work_in_rainfalseBoolean true/falsetrue이면 직업 블록 POI에 비가 와도 이 엔티티가 일할 수 있다.
control_flags[]Control Flags choices
goal_cooldown0Integer number목표를 다시 쓸 수 있기까지 쿨다운으로 남는 틱 수.
items_per_use_max20Integer number블록 상호작용 한 번에 퇴비통에 넣을 수 있는 아이템의 최대 수.
min_item_count10Integer number몹이 쓸 수 있는 퇴비화 가능한 아이템 각각의 양을 제한한다. 이 수를 넘게 든 양은 가능하면 퇴비화된다.
on_arrival{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Arrival item몹이 직업 블록에 도착했을 때 실행할 이벤트.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
speed_multiplier0.5Decimal number이 AI 목표를 쓸 때의 몹 이동 속도 배율. 값은 0보다 커야 한다.
use_block_max200Integer number몹이 퇴비통과 상호작용하는 최대 간격.
use_block_min100Integer number몹이 퇴비통과 상호작용하는 최소 간격.
work_in_rain_tolerance-1Integer number"can_work_in_rain"이 false일 때, 비가 와도 목표를 중단시키지 않는 목표 남은 최대 틱 수.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

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_arrival

이름기본값유형설명
eventString
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 setObject
targetselfTarget 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_arrival > filters

이름기본값유형설명
domainnot setObject테스트를 수행할 도메인.
operatornot setObject'value'와 함께 적용할 비교 방식.
subjectnot setObject이 필터 테스트의 대상(subject).
testnot setString적용할 테스트의 이름.
valuenot setObject테스트에서 비교할 값.

Target choices​

값제목설명
babyBaby
blockBlock
damagerDamager
holderHolder
itemItem
otherOther
parentParent
playerPlayer
selfSelf
targetTarget

예시​

출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13