본문으로 건너뛰기

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

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

minecraft:behavior.move_to_block​

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

블록 쪽으로 이동하게 한다.

Allows mob to move towards a block.

Entity Move To Block Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
goal_radius0.5Decimal number몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다.
on_reach[]Array of Reach items블록에 도착했을 때 실행할 이벤트.
on_stay_completed[]Array of Stay Completed items블록에서 stay_duration만큼 머무르기를 마쳤을 때 실행할 이벤트.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
search_height1Integer number몹이 블록을 찾는 높이(블록).
search_range0Integer number몹이 블록을 찾는 거리(블록).
speed_multiplier1Decimal number이 AI 목표를 쓸 때의 몹 이동 속도 배율.
start_chance1Decimal number행동을 시작할 확률(매 무작위 tick_interval 뒤에 적용).
stay_duration0Decimal number블록에서 머무르기를 마치는 데 필요한 틱 수.
target_block_filters (Target Block Filters){"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null}Target Block Filters item블록이 유효한 대상이 되기 위해 충족해야 하는 조건.
target_block_filters (Alternate 1)not setObject
target_blocks[]String이동할 블록 종류.
target_blocks (as Keyed set of strings)not setKeyed set of strings
target_offset[0, 0, 0]Array of numbers선택한 목표 위치에 더할 오프셋.
target_offset (Target Offset)not setTarget Offset (Target Offset) item
target_selection_methodnearestTarget Selection Method choices명세에 맞는 블록을 찾는 방식. 유효한 값은 "random"과 "nearest"다.
tick_interval20Integer number이 행동을 실행하려 시도하는 평균 간격(틱).

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_reach

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

Target Block Filters​

Target Block Filters Properties​

JSON path: target_block_filters

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

Target Offset (Target Offset)​

Target Offset Properties​

JSON path: target_offset

이름기본값유형설명
x0Decimal number
y0Decimal number
z0Decimal number

Target Selection Method choices​

값제목설명
nearestNearest
randomRandom

예시​

minecraft:behavior.move_to_land​

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

물속에 있을 때 육지로 돌아가게 한다.

Allows the mob to move back onto land when in water.

Entity Move To Land Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
goal_radius0.5Decimal number몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. 값은 0보다 커야 한다.Frog: 2
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Frog: 6
search_count10Integer number매 틱 탐색 범위와 높이 안에서 이동할 유효한 블록을 찾기 위해 무작위로 고르는 블록의 수.Frog: 80
search_height1Integer number몹이 이동할 육지를 찾는 높이(블록). 값은 0보다 커야 한다.Frog: 8
search_range0Integer number몹이 이동할 육지를 찾는 거리(블록). 값은 0보다 커야 한다.Frog: 30
speed_multiplier1Decimal number이 목표를 쓸 때의 몹 이동 속도 배율.

search_count​

The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Frog​
"minecraft:behavior.move_to_land": {
"goal_radius": 2,
"priority": 6,
"search_count": 80,
"search_height": 8,
"search_range": 30
}

minecraft:behavior.move_to_lava​

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

더 이상 쓰이지 않는(deprecated) 타입이다. 육지에서 용암으로 이동하게 한다. move_to_liquid로 대체되었다.

[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.

Allows the mob to move back into lava when on land. This behavior has been replaced by minecraft:behavior.move_to_liquid.

[!Note] This behavior was introduced in 1.16 but replaced by minecraft:behavior.move_to_liquid in 1.16.100 which supports any liquid type.

[!Note] This item no longer works after format versions of at least 1.16.100.

Entity Move To Lava Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
goal_radius0.5Decimal number몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. 값은 0보다 커야 한다.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
search_count10Integer number매 틱 탐색 범위와 높이 안에서 이동할 유효한 블록을 찾기 위해 무작위로 고르는 블록의 수.
search_height1Integer number몹이 이동할 용암을 찾는 높이(블록). 값은 0보다 커야 한다.
search_range0Integer number몹이 이동할 용암을 찾는 거리(블록). 값은 0보다 커야 한다.
speed_multiplier1Decimal number이 목표를 쓸 때의 몹 이동 속도 배율.

search_count​

The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

minecraft:behavior.move_to_liquid​

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

육지에 있을 때 액체로 이동하게 한다.

Allows the mob to move into a liquid when on land.

Entity Move To Liquid Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
goal_radius0.5Decimal number몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. 값은 0보다 커야 한다.Strider: 0.9
material_typeanyMaterial Type choices찾을 액체 블록의 재질 종류. 유효한 값은 "Any", "Water", "Lava"다.Strider: "Lava"
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Strider: 7
search_count10Integer number매 틱 탐색 범위와 높이 안에서 이동할 유효한 블록을 찾기 위해 무작위로 고르는 블록의 수.Strider: 30
search_height1Integer number몹이 이동할 액체 블록을 찾는 높이(블록). 값은 0보다 커야 한다.Strider: 10
search_range0Integer number몹이 이동할 액체 블록을 찾는 거리(블록). 값은 0보다 커야 한다.Strider: 16
speed_multiplier1Decimal number이 목표를 쓸 때의 몹 이동 속도 배율.

search_count​

The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Material Type choices​

값제목설명
AnyAny
LavaLava
WaterWater

예시​

Strider​
"minecraft:behavior.move_to_liquid": {
"priority": 7,
"search_range": 16,
"search_height": 10,
"goal_radius": 0.9,
"material_type": "Lava",
"search_count": 30
}

minecraft:behavior.move_to_poi​

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

가능하면 POI로 이동하게 한다.

Allows the mob to move to a POI if able to.

Entity Move To Poi Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
poi_typenullPoi Type choices목표가 찾아야 할 POI 종류를 알려 준다.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
speed_multiplier1Decimal number이 목표를 쓸 때의 몹 이동 속도 배율.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Poi Type choices​

값제목설명
bedBed
jobsiteJobsite
meeting_areaMeeting area

minecraft:behavior.move_to_random_block​

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

무작위 블록 쪽으로 이동하게 한다.

Allows mob to move towards a random block.

Entity Move To Random Block Behavior Properties​

이름기본값유형설명
block_distance16Decimal number이동할 블록을 고르는 몹으로부터의 거리(블록)를 정의한다.
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
speed_multiplier1Decimal number이 AI 목표를 쓸 때의 몹 이동 속도 배율.
within_radius0Decimal number이동이 끝나려면 몹이 블록에서 떨어져 있어야 하는 거리(블록)를 정의한다.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.move_to_village​

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

마을 안의 무작위 위치로 이동하게 한다.

Allows the mob to move into a random location within a village.

Entity Move To Village Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
cooldown_time8Decimal number목표를 다시 쓰기 전에 몹이 기다려야 하는 시간(초).
goal_radius1.5Decimal number몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
search_range0Integer number마을을 찾는 블록 거리. 0 이하이면 거리와 상관없이 가장 가까운 마을을 찾는다.
speed_multiplier1Decimal number이 목표를 쓸 때의 몹 이동 속도 배율.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.move_to_water​

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

육지에 있을 때 물로 돌아가게 한다. 아홀로틀, 돌고래, 임신한 개구리 같은 수중 몹이 쓴다.

Allows the mob to move back into water when on land.

[!Note] This behavior is used by aquatic and semi-aquatic mobs like axolotl, dolphin, and pregnant frogs. The entity will search for and move toward water blocks when on land.

Entity Move To Water Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
goal_radius0.5Decimal number몹이 목표에 도달했다고 보는 블록 거리. AI가 특정 지점에 닿으려 앞뒤로 흔들리는 것을 막는 '여유'다. 값은 0보다 커야 한다.Frog: 1.5
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Dolphin: 1, Frog: 3
search_count10Integer number매 틱 탐색 범위와 높이 안에서 이동할 유효한 블록을 찾기 위해 무작위로 고르는 블록의 수.
search_height1Integer number몹이 이동할 물을 찾는 높이(블록). 값은 0보다 커야 한다.Dolphin: 5
search_range0Integer number몹이 이동할 물을 찾는 거리(블록). 값은 0보다 커야 한다.Dolphin: 15, Frog: 20
speed_multiplier1Decimal number이 목표를 쓸 때의 몹 이동 속도 배율.

search_count​

The number of randomly selected blocks each tick that the mob will check within its search range and height for a valid block to move to. A value of 0 will have the mob check every block within range in one tick.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Dolphin​
"minecraft:behavior.move_to_water": {
"priority": 1,
"search_range": 15,
"search_height": 5
}
Frog​
"minecraft:behavior.move_to_water": {
"goal_radius": 1.5,
"priority": 3,
"search_height": 5,
"search_range": 20
}

minecraft:behavior.move_towards_dwelling_restriction​

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

dweller 컴포넌트를 가진 엔티티가 제한된 마을 구역으로 돌아가게 한다.

Allows entities with the "minecraft:dweller" component to move toward their village area that the entity should be restricted to.

[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON for this behavior.

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

  • Dweller (minecraft:dweller)

Entity Move Towards Dwelling Restriction Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Iron Golem: 4
speed_multiplier1Decimal number제한 구역으로 이동할 때 엔티티 속도에 곱하는 배율.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Iron Golem​
"minecraft:behavior.move_towards_dwelling_restriction": {
"priority": 4
}

minecraft:behavior.move_towards_home_restriction​

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

home 컴포넌트를 가진 엔티티가 집 위치로 돌아가게 한다.

Allows entities with a minecraft:home component to move towards their home position. If restriction_radius is set, entities will be able to run this behavior only if outside of it.

[!Note] In 1.26.0 the schema is stricter and rejects invalid JSON for this behavior.

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

  • Home (minecraft:home)

Entity Move Towards Home Restriction Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Elder Guardian: 5
speed_multiplier1Decimal number제한 구역으로 이동할 때 엔티티 속도에 곱하는 배율.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Elder Guardian​
"minecraft:behavior.move_towards_home_restriction": {
"priority": 5
}

minecraft:behavior.move_towards_restriction​

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

너무 멀리 벗어났을 때 지정된 집 구역으로 돌아가게 하는 AI 목표다. home 같은 컴포넌트로 제한 구역을 정한다.

AI goal that drives entities back toward their designated home area when they've wandered too far. Works with components like minecraft:home to define the restriction zone. Used for village-bound mobs, territorial creatures, or any entity that should patrol or return to a specific location.

Entity Move Towards Restriction Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
priority0Integer number
speed_multiplier1Decimal number제한 구역으로 이동할 때 엔티티 속도에 곱하는 배율.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

minecraft:behavior.move_towards_target​

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

현재 대상에게 다가가게 한다. 대상이 필요하다.

Allows mob to move towards its current target.

[!Note] Requires a target in order to work properly. Entities can generate targets via one of the following behaviors:

  • Nearest Attackable Target Behavior (minecraft:behavior.nearest_attackable_target)
  • Hurt By Target Behavior (minecraft:behavior.hurt_by_target)

Entity Move Towards Target Behavior Properties​

이름기본값유형설명예시 값
control_flags[]Control Flags choices
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.Iron Golem: 2
speed_multiplier1Decimal number이 AI 목표를 쓸 때의 몹 이동 속도 배율.Iron Golem: 0.9
within_radius0Decimal number몹이 대상에서 유지하려는 반경(블록)을 정의한다. 0이면 대상과 같은 블록을 차지하려 한다.Iron Golem: 32

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Iron Golem​
"minecraft:behavior.move_towards_target": {
"priority": 2,
"speed_multiplier": 0.9,
"within_radius": 32
}
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13