본문으로 건너뛰기

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

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

minecraft:behavior.admire_item​

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

몹이 감상 대상으로 설정된 아이템을 감상하게 한다.

Enables the mob to admire items that have been configured as admirable.

[!Note] In format version 1.26.20, sound_interval must be specified as a Float Range object (an object with range_min / range_max). Legacy scalar or array forms no longer parse.

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

  • Admire Item (minecraft:admire_item)

Entity Admire Item Behavior Properties​

이름기본값유형설명
admire_item_soundString아이템을 감상할 때 재생할 소리 이벤트.
control_flags[]Control Flags choices
on_admire_item_start{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Admire Item Start item몹이 아이템 감상을 시작할 때 실행할 이벤트.
on_admire_item_stop{"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"}Admire Item Stop item몹이 아이템 감상을 멈출 때 실행할 이벤트.
priority0Integer number0에 가까울수록 우선순위가 높아진다. 우선순위가 높을수록 이 행동(목표)이 더 먼저 실행된다.
sound_interval (Legacy FloatRange)0Sound Interval item소리를 다시 재생하기 전에 무작위로 기다리는 시간 범위(초). 숫자 하나, [min, max] 배열, range_min과 range_max를 가진 객체를 쓸 수 있다.
sound_interval (as Array of objects)not setArray of Sound Interval items
sound_interval (as Object)not setSound Interval item

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_admire_item_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_admire_item_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

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: sound_interval

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

Sound Interval​

Sound Interval Properties​

JSON path: sound_interval

이름기본값유형설명
0not setInteger number
1not setInteger number

예시​

minecraft:behavior.aquatic_charge_attack​

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

수중 몹이 대상에게 넉백을 주며 돌진하게 한다. 오버슈트와 쿨다운 설정이 있다.

Enables an aquatic mob to dash at its target with knockback; includes overshoot and cooldown settings.

Entity Aquatic Charge Attack Behavior Properties​

이름기본값유형설명
attack_reach0.05000000074505806Decimal number적중으로 인정하기 위해 몹의 AABB 둘레에 더하는 수평 사거리.
charge_cooldown_time{"max":6,"min":2}Charge Cooldown Time item다음 돌진을 시작하기까지 기다리는 시간 범위(초). 범위에 부과된 제한(최소, 최대, 값 사이 최대 거리)을 지켜야 한다.
charge_overshoot_distance1.5Decimal number돌진하는 동안 몹이 겨냥하는 대상 너머의 거리.
charge_speed0.05999999865889549Decimal number돌진 공격 중 쓰는 절대 속도. 값은 0.05000000074505806 이상이어야 한다.
control_flags[]Control Flags choices
knockback_force2Decimal number적중 시 대상에게 가하는 넉백 힘.
max_charge_distance16Decimal number몹이 돌진을 시도하는 최대 거리.
priority0Integer number

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: charge_cooldown_time

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

Control Flags choices​

값제목설명
jumpJump
lookLook
moveMove

예시​

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