본문으로 건너뛰기

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

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

minecraft:behavior.barter​

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

몹이 물물교환 화폐로 설정된 아이템으로 거래하게 한다. barter 컴포넌트와 함께 쓴다.

Enables the mob to barter for items that have been configured as barter currency. Must be used in combination with the barter component.

[!Note] Requires the minecraft:barter component and barter_table loot table in order to work properly.

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

  • Barter (minecraft:barter)

Entity Barter Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

minecraft:behavior.beg​

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

몹이 좋아하는 먹이를 든 플레이어를 바라보고 따라가게 한다.

Allows this mob to look at and follow the player that holds food they like.

Entity Beg Behavior Properties​

이름기본값유형설명
control_flags[]Control Flags choices
items[]String이 몹이 좋아하는 아이템 목록.
items (as Keyed set of strings)not setKeyed set of strings
look_distance8Decimal number몹이 구걸하는 블록 거리.
look_time{"max":4,"min":2}Look Time item이 몹이 좋아하는 음식을 든 플레이어를 보며 구걸하는 시간 범위(초).
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

Block IntRange​

Block IntRange Properties​

JSON path: look_time

이름기본값유형설명
max0Integer number
min0Integer number

예시​

minecraft:behavior.break_door​

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

몹이 문을 부수게 한다. 현재 쓰이지 않으며 내비게이션의 can_break_doors로 대체되었다.

Allows this mob to break doors.

[!Note] Not currently used by any entities within Minecraft: Bedrock Edition. In its place, the parameter can_break_doors has been added to the minecraft:navigation component to allow entities to break down doors.

Entity Break Door Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

minecraft:behavior.breed​

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

몹이 다른 몹과 번식하게 한다. breedable 컴포넌트가 필요하다.

Allows this mob to breed with other mobs.

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

  • Breedable (minecraft:breedable)

Entity Breed Behavior Properties​

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

Chicken​
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 1
}
Frog​
"minecraft:behavior.breed": {
"priority": 4
}
Goat​
"minecraft:behavior.breed": {
"priority": 3,
"speed_multiplier": 0.6
}
Llama​
"minecraft:behavior.breed": {
"priority": 4,
"speed_multiplier": 1
}
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13