본문으로 건너뛰기

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

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

minecraft:behavior.dig​

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

디스폰되기 전에 땅을 파고 들어가게 한다.

Allows this entity to dig into the ground before despawning.

Entity Dig Behavior Properties​

이름기본값유형설명예시 값
allow_dig_when_namedfalseBoolean true/falsetrue이면 이 엔티티에 이름이 붙어 있어도 이 행동이 실행될 수 있다. 아니면 실행되지 않는다.
control_flags[]Control Flags choices
digs_in_daylightfalseBoolean true/false액터가 햇빛을 보면 땅을 파기 시작해야 함을 나타낸다.
duration0Decimal number목표 지속 시간(초).Warden: 5.5
idle_time0Decimal number마지막으로 감지한 방해 이후 땅파기를 시작하기까지의 최소 대기 시간(초).Warden: 60
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목표가 시작될 때 실행할 이벤트.Warden: {"event":"on_digging_event"}
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Warden: 1
suspicion_is_disturbancefalseBoolean true/falsetrue이면 새로 찾은 수상한 위치가 이 목표의 시작을 늦출 수 있는 방해로 친다.Warden: true
vibration_is_disturbancefalseBoolean true/falsetrue이면 진동이 이 목표의 시작을 늦출 수 있는 방해로 친다.Warden: true

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_start

이름기본값유형설명
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_start > 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

예시​

Warden​
"minecraft:behavior.dig": {
"duration": 5.5,
"idle_time": 60,
"vibration_is_disturbance": true,
"suspicion_is_disturbance": true,
"on_start": {
"event": "on_digging_event"
},
"priority": 1
}

minecraft:behavior.door_interact​

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

몹이 문을 열고 닫게 한다. 현재 쓰이는 엔티티가 없다.

Allows the mob to open and close doors.

[!Note] Not currently used by any entities within Minecraft: Bedrock Edition.

Entity Door Interact Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

minecraft:behavior.dragonchargeplayer​

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

플레이어에게 돌진해 공격하게 한다. 플레이어는 dragonscanning이 고른다.

Allows this entity to attack a player by charging at them. The player is chosen by the "minecraft:behavior.dragonscanning".

[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON. target_zone now only accepts an object with min and max values.

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

  • Dragonscanning Behavior (minecraft:behavior.dragonscanning)

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonchargeplayer Behavior Properties​

이름기본값유형설명예시 값
active_speed3Decimal number이 행동이 시작되었거나 활성인 동안 엔티티가 움직이는 속도.
continue_charge_threshold_time0.5Decimal number드래곤이 "target_zone" 밖에 "continue_charge_threshold_time"초보다 오래 있으면 돌진이 취소된다. 값은 0보다 커야 한다.
control_flags[]Control Flags choices
flight_speed0.6000000238418579Decimal number이 행동이 활성이 아닐 때 엔티티가 움직이는 속도.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Ender Dragon: 1
target_zone{"max":150,"min":10}Target Zone item이 행동을 쓸 수 있는, 대상으로부터의 최소·최대 거리.
turn_speed0.699999988079071Decimal number이 행동을 하는 동안 엔티티가 방향을 트는 속도.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: target_zone

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

예시​

Ender Dragon​
"minecraft:behavior.dragonchargeplayer": {
"priority": 1
}

minecraft:behavior.dragondeath​

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

엔더 드래곤의 죽음 연출을 제어한다. 엔더 드래곤에만 쓸 수 있다.

Allows the dragon to go out with glory. This controls the Ender Dragon's death animation.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragondeath Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Ender Dragon​
"minecraft:behavior.dragondeath": {
"priority": 0
}

minecraft:behavior.dragonflaming​

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

화염 숨결 공격을 하게 한다. 엔더 드래곤에만 쓸 수 있다.

Allows this entity to use a flame-breath attack.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonflaming Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
cooldown_time10Decimal number포효한 뒤 화염을 내뿜는 주기가 시작되는 간격(초).
flame_time0.5Decimal number포효한 뒤 화염을 내뿜기까지의 시간(초).
ground_flame_count4Integer number비행 이륙 전에 쓰는 지상 화염 숨결 공격 횟수.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Ender Dragon: 1
roar_time2Decimal number화염을 내뿜기 전에 포효하는 시간(초).
smoke_color#DC00EFString
smoke_radius5Decimal number
smoke_time10Decimal number

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Ender Dragon​
"minecraft:behavior.dragonflaming": {
"priority": 1
}

minecraft:behavior.dragonholdingpattern​

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

중앙 연단 주위를 원을 그리며 날게 한다. 엔더 드래곤에만 쓸 수 있다.

Allows the Dragon to fly around in a circle around the center podium.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonholdingpattern Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Ender Dragon​
"minecraft:behavior.dragonholdingpattern": {
"priority": 3
}

minecraft:behavior.dragonlanding​

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

비행을 멈추고 횃대 모드로 전환하게 한다. 엔더 드래곤에만 쓸 수 있다.

Allows the Dragon to stop flying and transition into perching mode.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonlanding Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Ender Dragon​
"minecraft:behavior.dragonlanding": {
"priority": 0
}

minecraft:behavior.dragonscanning​

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

횃대 모드에서 공격할 플레이어를 둘러보게 한다. 엔더 드래곤에만 쓸 수 있다.

Allows the dragon to look around for a player to attack while in perch mode.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonscanning Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Ender Dragon​
"minecraft:behavior.dragonscanning": {
"priority": 2
}

minecraft:behavior.dragonstrafeplayer​

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

플레이어에게 화염구를 쏠 대상을 찾아 날아다니게 한다.

Allows this entity to fly around looking for a player to shoot fireballs at.

[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON. target_zone now only accepts an object with min and max values.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragonstrafeplayer Behavior Properties​

이름기본값유형설명예시 값
active_speed0.6000000238418579Decimal number이 행동이 시작되었거나 활성인 동안 엔티티가 움직이는 속도.
control_flags[]Control Flags choices
fireball_range64Decimal number선회하며 쏘는 화염구의 최대 사거리. 값은 0보다 커야 한다.
flight_speed0.6000000238418579Decimal number이 행동이 활성이 아닐 때 엔티티가 움직이는 속도.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Ender Dragon: 2
switch_direction_probability0.125Decimal number엔티티의 선회 방향을 시계 방향과 반시계 방향 사이에서 바꿀 확률(퍼센트). 새 대상을 고를 때마다 판정한다(1.0 = 100%). 값은 1 이하여야 한다.
target_in_range_and_in_view_time0.25Decimal number화염구를 쏘기 전에 대상이 화염구 사거리 안에, 시야에(사이에 단단한 지형 없이) 있어야 하는 시간(초). 값은 0보다 커야 한다.
target_zone{"max":150,"min":10}Target Zone item이 행동을 쓸 수 있는, 대상으로부터의 최소·최대 거리.
turn_speed0.699999988079071Decimal number이 행동을 하는 동안 엔티티가 방향을 트는 속도.
view_angle10Decimal number화염구를 쏘기 전에 대상이 드래곤의 현재 회전에서 "view_angle"도 이내에 있어야 한다. 값은 0보다 커야 한다.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: target_zone

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

예시​

Ender Dragon​
"minecraft:behavior.dragonstrafeplayer": {
"priority": 2
}

minecraft:behavior.dragontakeoff​

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

횃대 모드를 벗어나 다시 날아다니게 한다. 엔더 드래곤에만 쓸 수 있다.

Allows the dragon to leave perch mode and go back to flying around.

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

  • Ender Dragon (minecraft:ender_dragon)

Entity Dragontakeoff Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Ender Dragon​
"minecraft:behavior.dragontakeoff": {
"priority": 0
}

minecraft:behavior.drink_milk​

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

지정한 환경 조건에서 우유를 마시게 한다.

Allows the mob to drink milk based on specified environment conditions.

Entity Drink Milk Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Filters​

Filters Properties​

JSON path: filters

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

예시​

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