본문으로 건너뛰기

엔티티 컴포넌트 레퍼런스 (4/23)

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

minecraft:breathable​

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

엔티티가 숨 쉴 수 있는 블록을 정하고 질식하게 만든다.

Defines what blocks this entity can breathe in and gives them the ability to suffocate.

Breathable Properties​

이름기본값유형설명예시 값
breathe_blocksnot setArray of strings위에서 고른 항목 외에 이 엔티티가 숨 쉴 수 있는 블록 목록.
breathes_airtrueBoolean true/false설정하면 이 엔티티가 공기 중에서 숨 쉴 수 있다.
breathes_lavatrueBoolean true/false설정하면 이 엔티티가 용암 속에서 숨 쉴 수 있다.
breathes_solidsfalseBoolean true/false설정하면 이 엔티티가 고체 블록 속에서 숨 쉴 수 있다.
breathes_waterfalseBoolean true/false설정하면 이 엔티티가 물속에서 숨 쉴 수 있다.Bogged: true
can_dehydratefalseBoolean true/falsetrue이면 물에서만 숨 쉬는 엔티티(예: 물고기)가 물 밖에서 탈수 피해를 입는다. 형식 버전 1.21.130 이상이 필요하다.
generates_bubblestrueBoolean true/false설정하면 이 엔티티가 물속에서 기포가 보인다.
inhale_time0Decimal number숨을 최대치까지 회복하는 데 걸리는 시간(초).
non_breathe_blocksnot setArray of strings위에서 고른 항목 외에 이 엔티티가 숨 쉴 수 없는 블록 목록.
suffocate_time-20Integer number질식 피해 사이의 시간(초).
suffocateTimenot setDecimal number
total_supply15Integer number엔티티가 숨을 참을 수 있는 시간(초).Bat: 15
totalSupplynot setDecimal numberAllay: 15

예시​

Allay​
"minecraft:breathable": {
"suffocateTime": 0,
"totalSupply": 15
}
Bat​
"minecraft:breathable": {
"suffocate_time": 0,
"total_supply": 15
}
Bogged​
"minecraft:breathable": {
"breathes_water": true,
"suffocate_time": 0,
"total_supply": 15
}

minecraft:breedable​

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

엔티티가 번식용 사랑 상태에 들어가는 방법을 정한다. 보통 behavior.breed와 함께 쓴다.

Allows an entity to establish a way to get into the love state used for breeding.

[!Note] This component is commonly used in conjunction with the 'minecraft:behavior.breed' component.

[!Note] In 1.21.130 the transform_to_item field on each entry of breed_items was renamed to result_item. The new field is defined per-item, so different breed items can transform into different result items on use.

[!Note] In 1.26.0 the offspring-related fields were split out into the separate minecraft:offspring_data component. minecraft:breedable now contains only love-state, taming/health requirements, and pregnancy-flow data; the new minecraft:offspring_data component is required to actually spawn the child entity.

Breedable Properties​

이름기본값유형설명예시 값
allow_sittingfalseBoolean true/falsetrue이면 엔티티가 앉아 있는 동안에도 번식할 수 있다.
blend_attributestrueBoolean true/falsetrue이면 번식 후 새끼가 부모의 속성을 섞어 갖는다. 예를 들어 말은 체력, 이동 속도, jump_strength가 섞인다.
breed_cooldown60Decimal number엔티티가 다시 번식할 수 있기까지의 시간(초).
breed_itemsnot setArray of strings엔티티를 '사랑' 상태로 만들 수 있는 아이템 목록. 아이템 하나 또는 배열을 쓸 수 있다.Chicken: ["wheat_seeds","beetroot_seeds","melon_seeds","pumpkin_seeds","pitcher_pod","torchflower_seeds"], Cow: ["wheat"], Frog: ["slime_ball"]
breed_items (as String)not setString
breeds_withnot setArray of Breeds With items이 엔티티가 번식할 수 있는 엔티티 정의. 객체 하나 또는 배열을 쓸 수 있다.Chicken: {"minecraft:chicken":{}}, Cow: {"minecraft:cow":{}}, Frog: {"minecraft:frog":{"event":"become_pregnant","target":"self"}}
breeds_with (as Object)not setBreeds With (Breed With Single) item
causes_pregnancyfalseBoolean true/falsetrue이면 새끼를 바로 스폰하지 않고 엔티티가 임신한다.Frog: true
combine_parent_colorsfalseBoolean true/falsetrue이고 색 돌연변이가 일어나지 않으면 새끼의 minecraft:color가 부모 색의 혼합(염료 조합 규칙)으로 정해진다.
deny_parents_variantnot setDeny Parents Variant item같은 변종인 부모의 새끼가 그 변종을 거부하고 주어진 범위에서 무작위 변종을 택할 확률을 정한다.
environment_requirementsnot setArray of Environment Requirements items엔티티를 '사랑' 상태로 만들기 위해 근처에 필요한 블록 조건 목록.
extra_baby_chance0Percent Range새끼가 최대 16마리까지 스폰될 확률.
inherit_tamednot setBoolean true/falsetrue이면 부모가 길들여져 있을 때 새끼도 자동으로 길들여진다.
love_filtersnot setMinecraft filter사랑에 빠지려 할 때 실행할 필터.
mutation_factornot setMutation Factor item새끼가 부모의 변이 하나를 물려받지 않을 가능성을 정한다.
require_full_healthfalseBoolean true/falsetrue이면 번식하기 전에 엔티티의 체력이 가득 차 있어야 한다.
require_tametrueBoolean true/falsetrue이면 번식하기 전에 엔티티가 먼저 길들여져 있어야 한다.Llama: true

combine_parent_colors​

If true and no color mutation occurs, the baby's minecraft:color is set to a blend of the parents' colors (following DyeItem combination rules). If the parents' colors aren't compatible, the baby inherits one parent's color at random. This item requires a format version of at least 1.21.60.

Breeds With​

Breeds With Properties​

JSON path: breeds_with

이름기본값유형설명
baby_typenot setString이 엔티티의 새끼에 쓸 엔티티 정의.
breed_eventnot setString이 엔티티가 번식할 때 실행할 이벤트. 이벤트 이름 문자열이나 event와 선택적 filters를 가진 트리거 객체를 쓸 수 있다.
breed_event (as Object)not setObject
mate_typenot setString from a list of choices이 엔티티가 짝짓기할 수 있는 엔티티 정의.

Breeds With (Breed With Single)​

Same structure as Breeds With.

Deny Parents Variant​

Deny Parents Variant Properties​

JSON path: deny_parents_variant

이름기본값유형설명
chancenot setDecimal number부모의 변종을 거부할 확률(퍼센트).
max_variantnot setString변종 범위의 최대값(포함).
min_variantnot setString변종 범위의 최소값(포함).

Environment Requirements​

Environment Requirements Properties​

JSON path: environment_requirements

이름기본값유형설명
block_typesnot setArray of strings번식하려면 근처에 있어야 하는 블록 종류.
countnot setInteger number번식하려면 근처에 있어야 하는 해당 블록 종류의 수.
radiusnot setDecimal number필요한 블록을 찾을 때 몹 중심에서 검색하는 블록 반경. 0에서 16 사이로 제한된다.

Mutation Factor​

Mutation Factor Properties​

JSON path: mutation_factor

이름기본값유형설명
colornot setPercent Range부모의 변종을 거부할 확률(퍼센트).
color (as Decimal number)not setDecimal number
extra_variantnot setPercent Range엔티티의 추가 변종 유형에 돌연변이가 생길 확률(퍼센트).
extra_variant (as Decimal number)not setDecimal number
variantnot setPercent Range엔티티의 변종 유형에 돌연변이가 생길 확률(퍼센트).
variant (as Decimal number)not setDecimal number

예시​

Chicken​
"minecraft:breedable": {
"require_tame": false,
"breeds_with": {
"minecraft:chicken": {}
},
"breed_items": [
"wheat_seeds",
"beetroot_seeds",
"melon_seeds",
"pumpkin_seeds",
"pitcher_pod",
"torchflower_seeds"
]
}
Cow​
"minecraft:breedable": {
"require_tame": false,
"breed_items": [
"wheat"
],
"breeds_with": {
"minecraft:cow": {}
}
}
Frog​
"minecraft:breedable": {
"breed_items": [
"slime_ball"
],
"breeds_with": {
"minecraft:frog": {
"event": "become_pregnant",
"target": "self"
}
},
"causes_pregnancy": true,
"require_tame": false
}
Goat​
"minecraft:breedable": {
"require_tame": false,
"breed_items": [
"wheat"
],
"breeds_with": {
"minecraft:goat": {}
}
}
Llama​
"minecraft:breedable": {
"require_tame": true,
"breeds_with": {
"minecraft:llama": {}
},
"breed_items": [
"hay_block"
]
}

minecraft:bribeable​

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

엔티티가 '매수된' 상태가 되는 방법을 정의한다.

Defines the way an entity can get into the 'bribed' state.

Bribeable Properties​

이름기본값유형설명예시 값
bribe_cooldown2Decimal number엔티티가 다시 매수될 수 있기까지의 시간(초).
bribe_itemsnot setArray of strings엔티티를 매수할 수 있는 아이템 목록. 배열이나 아이템 문자열 하나를 쓸 수 있다.Dolphin: ["fish","salmon"]
bribe_items (as String)not setString

예시​

Dolphin​
"minecraft:bribeable": {
"bribe_items": [
"fish",
"salmon"
]
}

minecraft:buoyant​

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

엔티티가 지정한 액체 블록 위에 뜨게 한다.

Enables an entity to float on the specified liquid blocks.

[!Note] In 1.26.10 the simulate_waves boolean was replaced with the movement_type string field (waves / bobbing / none). big_wave_probability and big_wave_speed only apply when movement_type is waves.

Entity Buoyant Properties​

이름기본값유형설명예시 값
apply_gravitytrueBoolean true/false매 틱 중력을 적용한다. "movement_type"의 영향이 커지지만 액체 밖에서도 중력이 더 세게 적용된다.
base_buoyancy1Decimal number엔티티가 얼마나 뜰지 계산하는 데 쓰는 기본 부력.
big_wave_probability0.029999999329447746Decimal number엔티티에 큰 파도가 칠 확률. "movement_type"이 "waves"일 때만 쓴다.
big_wave_speed10Decimal number큰 파도를 만들 때 속도에 곱하는 배수. "big_wave_probability"에 따라 발생한다.
can_auto_step_from_liquidfalseBoolean true/false액체 블록에 밀착해 밀릴 때 인접한 고체 블록 위로 올라설 수 있는지 여부. 형식 버전 1.26.10 이상이 필요하다.
drag_down_on_buoyancy_removed0Decimal number컴포넌트가 제거될 때 엔티티가 아래로 끌려 내려가는 정도.
liquid_blocks (Liquid Blocks)[]Array of Liquid Blocks items이 엔티티가 뜰 수 있는 블록 목록. 액체 블록이어야 한다.Xp Orb: ["minecraft:flowing_water","minecraft:water"]
liquid_blocks (as String)not setString
liquid_blocks (as Object)not setObject
movement_typewavesMovement Type choices엔티티에 적용되는 수직 이동의 종류.

movement_type​

Type of vertical movement applied to the entity. waves simulates wave movement based on the entity's speed (default). bobbing moves the entity up and down at a constant pace. none disables wave movement. Replaces the previous simulate_waves boolean. This item requires a format version of at least 1.26.10.

Liquid Blocks​

Liquid Blocks Properties​

JSON path: liquid_blocks

이름기본값유형설명
nameString
states{}Integer number
states (as String)not setString
states (as Boolean true/false)not setBoolean true/false
tagsString

Movement Type choices​

값제목설명
bobbingBobbing
noneNone
wavesWaves

예시​

Xp Orb​
"minecraft:buoyant": {
"apply_gravity": false,
"liquid_blocks": [
"minecraft:flowing_water",
"minecraft:water"
]
}

minecraft:burns_in_daylight​

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

직사광선을 받으면 불 피해를 입게 한다. 좀비, 스켈레톤, 팬텀 같은 언데드가 쓴다.

Specifies that this entity takes fire damage when exposed to direct sunlight. This component is used by undead mobs like zombies, skeletons, and phantoms. The entity will catch fire when in sunlight unless it is wearing armor in the protection slot, standing in water, or in a shaded area.

Entity Burns In Daylight Properties​

이름기본값유형설명
protection_slotslot.armor.headProtection Slot choices햇빛에 타는 것을 막아 주는 장비 슬롯.

protection_slot​

The equipment slot that provides protection from burning in sunlight. If armor is equipped in this slot, the entity will not burn. Commonly set to 'slot.armor.head' for helmets or 'slot.armor.body' for horse armor. This item requires a format version of at least 1.21.130.

Protection Slot choices​

값제목설명
slot.armor.bodySlot.armor.body
slot.armor.chestSlot.armor.chest
slot.armor.feetSlot.armor.feet
slot.armor.headSlot.armor.head
slot.armor.legsSlot.armor.legs
slot.weapon.mainhandSlot.weapon.mainhand
slot.weapon.offhandSlot.weapon.offhand

예시​

Bogged​
"minecraft:burns_in_daylight": {}

minecraft:can_climb​

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

엔티티가 사다리를 오를 수 있게 한다.

Allows an entity to climb ladders.

예시​

Blaze​
"minecraft:can_climb": {}

minecraft:can_fly​

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

엔티티가 날 수 있다고 표시한다. 경로 탐색이 아래에 단단한 블록이 있는 경로로 제한되지 않는다.

Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.

예시​

Allay​
"minecraft:can_fly": {}

minecraft:can_join_raid​

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

엔티티가 습격에 참여할 수 있는지 정한다.

Specifies if an entity can join a raid.

예시​

minecraft:can_power_jump​

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

바닐라 말처럼 파워 점프를 할 수 있게 한다.

Allows the entity to power jump like the Horse does in Vanilla.

예시​

minecraft:cannot_be_attacked​

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

ignore_cannot_be_attacked가 없는 엔티티는 이 엔티티를 공격하지 못하게 한다.

When set, blocks entities from attacking the owner entity unless they have the "minecraft:ignore_cannot_be_attacked" component.

[!Note] This item requires a format version of at least 1.21.50.

예시​

minecraft:celebrate_hunt​

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

사냥 성공 축하 동작을 지정한다.

Specifies hunt celebration behaviour.

Celebrate Hunt Properties​

이름기본값유형설명
broadcasttrueBoolean true/falsetrue이면 축하가 반경 안의 다른 엔티티에게 전파된다.
celeberation_targetsnot setMinecraft filter사냥 대상이 축하를 시작하기 위해 만족해야 하는 조건 목록.
celebrate_soundnot setString몹이 축하할 때 재생할 소리 이벤트.
duration4Integer number축하 지속 시간(초).
radius16Decimal number브로드캐스트가 켜져 있을 때 축하를 알릴 반경.
sound_interval0Range of integers소리를 다시 재생하기 전에 무작위로 기다리는 시간 범위(초).

예시​

minecraft:collision_box​

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

엔티티 충돌 상자의 너비와 높이를 정한다.

Sets the width and height of the Entity's collision box.

Entity Collision Box Properties​

이름기본값유형설명예시 값
height1.7999999523162842Decimal number충돌 상자의 높이(블록). 음수는 0으로 간주한다. 값은 -100000000 이상 100000000 이하여야 한다.Allay: 0.6, Armor Stand: 1.975, Arrow: 0.25
width0.6000000238418579Decimal number충돌 상자의 너비와 깊이(블록). 음수는 0으로 간주한다. 값은 -100000000 이상 100000000 이하여야 한다.Allay: 0.35, Armor Stand: 0.5, Arrow: 0.25

예시​

Allay​
"minecraft:collision_box": {
"height": 0.6,
"width": 0.35
}
Armor Stand​
"minecraft:collision_box": {
"height": 1.975,
"width": 0.5
}
Arrow​
"minecraft:collision_box": {
"height": 0.25,
"width": 0.25
}
Bat​
"minecraft:collision_box": {
"height": 0.9,
"width": 0.5
}
Blaze​
"minecraft:collision_box": {
"height": 1.8,
"width": 0.5
}

minecraft:color​

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

엔티티의 기본 색을 정의한다. 양, 라마, 셜커처럼 색이 미리 정해진 바닐라 엔티티에서만 동작한다.

Defines the entity's main color.

[!Note] This attribute only works on vanilla entities that have predefined color values (sheep, llama, shulker).

Color Properties​

이름기본값유형설명
value0Integer number엔티티의 팔레트 색상 값.

예시​

minecraft:color2​

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

엔티티의 두 번째 텍스처 색을 정의한다. 열대어처럼 두 번째 색이 있는 바닐라 엔티티에서만 동작한다.

Defines the entity's second texture color.

[!Note] Only works on vanilla entities that have a second predefined color values (tropical fish).

Color2 Properties​

이름기본값유형설명
value0Integer number엔티티의 두 번째 팔레트 색상 값.

예시​

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