본문으로 건너뛰기

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

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

minecraft:behavior.ranged_attack​

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

원거리 사격으로 공격하게 한다. charge_shoot_trigger가 0보다 커야 충전 연발 공격이 된다. shooter가 필요하다.

Allows an entity to attack by using ranged shots. "charge_shoot_trigger" must be greater than 0 to enable charged up burst-shot attacks. Requires minecraft:shooter to define projectile behaviour.

Entity Ranged Attack Behavior Properties​

이름기본값유형설명예시 값
attack_interval{"max":-1,"min":-1}Attack Interval item충전 사격을 쓰지 않을 때의 재장전 시간 범위(초).Blaze: {"min":3,"max":5}, Bogged: {"min":3.5,"max":3.5}, {"min":2.5,"max":2.5}
attack_interval_max0Decimal number충전 사격을 쓰지 않을 때 재장전 시간 범위의 최대 한계(초). 재장전 시간 범위는 대상 거리에 비례한다.
attack_interval_min0Decimal number충전 사격을 쓰지 않을 때 재장전 시간 범위의 최소 한계(초). 재장전 시간 범위는 대상 거리에 비례한다.
attack_radius0Decimal number이 엔티티가 사격을 시도하기 위한 대상까지의 최소 거리.
attack_radius_min0Decimal number이 몹이 발사하기 위한 대상까지의 최소 거리. 대상이 더 가까우면 몹이 먼저 이동한 뒤 발사한다.
attack_range{"max":0,"min":0}Attack Range item엔티티가 원거리 공격을 할 수 있는 대상으로부터의 거리 범위. 범위에 부과된 제한(최소, 최대, 값 사이 최대 거리)을 지켜야 한다.Blaze: {"min":0,"max":48}, Bogged: {"min":0,"max":15}, Drowned: {"min":0,"max":10}
burst_interval0Decimal number충전 공격의 연발 사격에서 개별 발사 사이의 시간(초). 값은 0보다 커야 한다.Blaze: 0.3
burst_shots1Integer number공격하는 엔티티가 충전 공격을 쓸 때마다 쏘는 발사 수.Blaze: 3
charge_charged_trigger0Decimal number충전 공격이 충전을 마치기까지의 시간(초, 그 뒤 "charge_shoot_trigger"를 더한다). 대상이 시야에 없으면 충전 시간이 줄어든다. 값은 0보다 커야 한다.Llama: 1
charge_shoot_trigger0Decimal number연발 사격을 재장전하기 전에 충전 사격이 충전되어 있어야 하는 시간(초, 이후 두 배). 대상이 시야에 없으면 충전 시간이 줄어든다. 값은 0보다 커야 한다.Blaze: 4, Llama: 2
control_flags[]Control Flags choices
in_range_movement_modehold_positionIn Range Movement Mode choices대상이 설정된 공격 범위 안에 있는 동안 엔티티가 움직이는 방식을 제어한다.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Blaze: 3, Llama: 2, Parched: 1
ranged_fov90Decimal number감지로 공격 대상을 찾을 때의 시야각(도).
set_persistentfalseBoolean true/false플레이어를 대상으로 삼을 때 액터가 유지(persist)되게 한다.
speed_multiplier1Decimal number공격 동작 중 이 배수가 대상을 향해 이동할 때 엔티티의 속도를 조정한다. 값은 0보다 커야 한다.
swingfalseBoolean true/false(variable.attack_time을 쓰는) 휘두르기 애니메이션이 있으면 원거리 공격을 쏠 때 액터가 팔을 휘두른다.Drowned: true
target_in_sight_time1Decimal number공격하는 엔티티가 대상을 향해 움직이기 전에 대상을 봐야 하는 최소 시간(초). 값은 0보다 커야 한다.
x_max_rotation30Decimal number대상을 바라보려 할 때 엔티티가 X축으로 돌 수 있는 최대 회전각(도).
y_max_head_rotation30Decimal number대상을 바라보려 할 때 엔티티가 머리를 Y축으로 돌릴 수 있는 최대 회전각(도).

attack_interval​

Reload-time range (in seconds), when not using a charged shot. Reload-time range scales with target-distance. Check that the limits imposed on the range (minimum, maximum and maximum distance between values) are respected.

in_range_movement_mode​

Controls how the entity moves while its target is within the configured attack range. "hold_position" makes the entity stop and hold its position while facing and attacking the target. "follow_target" makes the entity continue moving toward the target while attacking, stopping just outside the minimum attack range.

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: attack_interval

이름기본값유형설명
max0Decimal number
min0Decimal number

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

In Range Movement Mode choices​

값제목설명
follow_targetFollow target
hold_positionHold position

예시​

Blaze​
"minecraft:behavior.ranged_attack": {
"charge_shoot_trigger": 4,
"attack_interval": {
"min": 3,
"max": 5
},
"attack_range": {
"min": 0,
"max": 48
},
"burst_interval": 0.3,
"burst_shots": 3,
"priority": 3
}
Bogged​

At /minecraft:entity/component_groups/minecraft:ranged_attack/minecraft:behavior.ranged_attack/:

"minecraft:behavior.ranged_attack": {
"attack_interval": {
"min": 3.5,
"max": 3.5
},
"attack_range": {
"min": 0,
"max": 15
},
"priority": 0
}

At /minecraft:entity/component_groups/minecraft:ranged_attack_hard/minecraft:behavior.ranged_attack/:

"minecraft:behavior.ranged_attack": {
"attack_interval": {
"min": 2.5,
"max": 2.5
},
"attack_range": {
"min": 0,
"max": 15
},
"priority": 0
}
Drowned​
"minecraft:behavior.ranged_attack": {
"attack_interval": {
"min": 1,
"max": 3
},
"attack_range": {
"min": 0,
"max": 10
},
"priority": 3,
"swing": true
}
Llama​

At /minecraft:entity/component_groups/minecraft:llama_angry/minecraft:behavior.ranged_attack/:

"minecraft:behavior.ranged_attack": {
"priority": 2,
"attack_range": {
"max": 64
},
"charge_shoot_trigger": 2,
"charge_charged_trigger": 1
}
Parched​

At /minecraft:entity/component_groups/minecraft:ranged_attack/minecraft:behavior.ranged_attack/:

"minecraft:behavior.ranged_attack": {
"attack_interval": {
"min": 3.5,
"max": 3.5
},
"attack_range": {
"min": 0,
"max": 15
},
"priority": 1
}

At /minecraft:entity/component_groups/minecraft:ranged_attack_hard/minecraft:behavior.ranged_attack/:

"minecraft:behavior.ranged_attack": {
"attack_interval": {
"min": 2.5,
"max": 2.5
},
"attack_range": {
"min": 0,
"max": 15
},
"priority": 1
}

minecraft:behavior.receive_love​

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

다른 주민이 번식할 수 있도록 멈춰 서게 한다. 주민에게만 쓸 수 있다.

Allows the villager to stop so another villager can breed with it. Can only be used by a Villager.

Entity Receive Love Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.restrict_open_door​

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

밤에 몹이 실내에 머물게 한다.

Allows the mob to stay indoors during night time.

Entity Restrict Open Door Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.restrict_sun​

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

맑은 낮에 몹이 햇빛을 자동으로 피하기 시작하게 한다.

Allows the mob to automatically start avoiding the sun when its a clear day out.

Entity Restrict Sun Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

minecraft:behavior.rise_to_liquid_level​

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

몹이 액체 속에서 특정 높이를 유지하게 한다.

Allows the mob to stay at a certain level when in liquid.

Entity Rise To Liquid Level Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
liquid_y_offset0Decimal number액체 표면에서 아래로 내려간 대상 거리. 즉 양수 값이면 대상 Y가 내려간다.Strider: 0.25
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
rise_delta0Decimal number액체 표면 아래에 있을 때 틱당 위로 움직이는 Y 이동량.Strider: 0.01
sink_delta0Decimal number액체 표면 위에 있을 때 틱당 아래로 움직이는 Y 이동량.Strider: 0.01

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Strider​
"minecraft:behavior.rise_to_liquid_level": {
"priority": 0,
"liquid_y_offset": 0.25,
"rise_delta": 0.01,
"sink_delta": 0.01
}

minecraft:behavior.roar​

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

anger_level 기준에 도달하면 다른 엔티티에게 포효하게 한다.

Allows this entity to roar at another entity based on data in minecraft:anger_level. Once the anger threshold specified in minecraft:anger_level has been reached, this entity will roar for the specified amount of time, look at the other entity, apply anger boost towards it, and finally target it.

[!Note] Requires the following component in order to work properly:

  • Anger Level (minecraft:anger_level)

Entity Roar Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
duration0Decimal number포효하는 시간.Warden: 4.2
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Warden: 2

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Warden​
"minecraft:behavior.roar": {
"duration": 4.2,
"priority": 2
}

minecraft:behavior.roll​

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

몹이 앞으로 구르게 한다.

This allows the mob to roll forward.

Entity Roll Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
probability0.019999999552965164Decimal number몹이 이 목표를 쓸 확률.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.run_around_like_crazy​

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

몹이 목적 없이 마구 뛰어다니게 한다.

Allows the mob to run around aimlessly.

Entity Run Around Like Crazy Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Llama: 1
speed_multiplier1Decimal number이 AI 목표를 쓸 때의 몹 이동 속도 배율.Llama: 1.2

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Llama​
"minecraft:behavior.run_around_like_crazy": {
"priority": 1,
"speed_multiplier": 1.2
}

minecraft:behavior.scared​

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

밖에서 천둥이 칠 때 몹이 겁먹게 한다.

Allows the mob to become scared when the weather outside is thundering.

Entity Scared Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
sound_delay0Integer number활성 상태에서 소리를 재생하는 간격. 시작 확률은 1/delay다.
sound_interval0Integer number활성 상태에서 소리를 재생하는 간격. 시작 확률은 1/delay다.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.send_event​

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

몹이 다른 몹에게 이벤트를 보내게 한다.

Allows the mob to send an event to another mob.

Entity Send Event Behavior Properties​

이름기본값유형설명
cast_durationnot setDecimal number이벤트 전송 전체 과정에 걸리는 시간(초).
control_flags[]Control Flags choices
event_choices[]Array of Event Choices items조건, 가중치, 대상 지정 매개변수와 함께 보낼 수 있는 이벤트 목록.
look_at_targettrueBoolean true/falsetrue이면 이벤트를 보낼 엔티티를 몹이 바라본다.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
sequencenot setArray of Sequence items보낼 이벤트 목록.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Entity SendEventChoice​

Entity SendEventChoice Properties​

JSON path: event_choices

이름기본값유형설명
cast_duration0Decimal number이벤트 전송 전체 과정에 걸리는 시간(초).
cooldown_time0Decimal number몹이 이 주문을 다시 쓰기 전에 기다려야 하는 시간(초).
do_castingtrueBoolean true/falsetrue이면 이벤트를 보내는 동안 몹이 시전 애니메이션을 보여 준다.
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
look_at_targettrueBoolean true/falsetrue이면 이벤트를 보낼 엔티티를 몹이 바라본다.
max_activation_range32Decimal number이 주문이 발동하기 위해 대상이 있을 수 있는 최대 블록 거리.
min_activation_range1Decimal number이 주문이 발동하기 위해 대상이 있어야 하는 최소 블록 거리.
particle_color[255, 255, 255, 255]String이 주문을 시전하는 동안 생성되는 파티클의 색.
particle_color (as Array of numbers)not setArray of numbers
sequence[]Array of Sequence items보낼 이벤트 목록.
start_sound_eventString이 주문이 시작될 때 재생할 소리 이벤트.
weight0Decimal number유효한 선택지 중 무작위로 고를 때 이 주문 선택지의 상대적 가중치.
Filters​
Filters Properties​

JSON path: event_choices > filters

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

JSON path: event_choices > sequence

이름기본값유형설명
base_delay0Decimal number이 단계를 시작하기까지의 시간(초).
eventString엔티티에게 보낼 이벤트.
sound_eventString이 단계에서 재생할 소리 이벤트.

Sequence​

List of events to send.

Sequence Properties​

JSON path: sequence

이름기본값유형설명
base_delay0Decimal number이 단계를 시작하기까지의 시간(초).
eventnot setMinecraft Event Trigger엔티티에게 보낼 이벤트.
sound_eventnot setMinecraft Event Trigger이 단계에서 재생할 소리 이벤트.

예시​

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