엔티티 컴포넌트 레퍼런스 (8/23)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 컴포넌트 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:genetics
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_genetics.md)
몹의 유전자와 대립유전자가 자손에게 전달되고 발현되는 방식을 정의한다.
Defines the way a mob's genes and alleles are passed on to its offspring, and how those traits manifest in the child. Compatible parent genes are crossed together, the alleles are handed down from the parents to the child, and any matching genetic variants fire off JSON events to modify the child and express the traits.
Genetics Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| genes | not set | Array of Genes items | 이 엔티티가 가졌고 번식할 때 짝과 교배하는 유전자 목록. | Goat: [{"name":"goat_variant","use_simplified_breeding":true,"allele_range":{"range_min":1,"range_max":100},"genetic_variants":[{"main_allele":{"range_min":1,"range_max":2},"birth_event":{"event":"minecraft:born_screamer","target":"self"}},{"main_allele":{"range_min":3,"range_max":100},"birth_event":{"event":"minecraft:born_default","target":"self"}}]}] |
| mutation_rate | 0.03125 | Decimal number | 출생 시 대립유전자가 부모의 것 대신 무작위 값으로 바뀔 확률. | Goat: 0.02 |
Genes
The list of genes that this entity has and will cross with a partner during breeding.
Genes Properties
JSON path: genes
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| allele_range | not set | Integer number | 이 유전자의 양의 정수 대립유전자 값 범위. |
| allele_range (as Object) | not set | Allele Range item | |
| genetic_variants | not set | Array of Genetic Variants items | 이 유전자의 유전 변이 목록. 특정 대립유전자 조합을 검사하고 모두 만족하면 이벤트를 발생시킨다. |
| mutation_rate | -1 | Decimal number | 이 값이 음수가 아니면, 출생 시 대립유전자가 부모의 것 대신 무작위로 바뀔 이 유전자의 확률을 덮어쓴다. |
| name | not set | String | 유전자의 이름. |
| use_simplified_breeding | not set | Boolean true/false | true이면 번식으로 스폰된 몹이 부모의 주 대립유전자에서 주 대립유전자를, 숨은 대립유전자에서 숨은 대립유전자를 항상 물려받는다. |
allele_range
The range of positive integer allele values for this gene. Spawned mobs will have a random number in this range assigned to them. Can be a single integer or an object with range_min and range_max properties.
mutation_rate
If this value is non-negative, overrides the chance for this gene that an allele will be replaced with a random one instead of the parent's allele during birth. Non-negative values greater than 1 will be the same as the value 1.
Allele Range
Allele Range Properties
JSON path: genes > allele_range
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| range_max | not set | Integer number | 대립유전자 값의 최대값. |
| range_min | not set | Integer number | 대립유전자 값의 최소값. |
Genetic Variants
The list of genetic variants for this gene. These check for particular allele combinations and fire events when all of them are satisfied.
Genetic Variants Properties
JSON path: genes > genetic_variants
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| birth_event | not set | Minecraft Event Trigger | 이 몹이 만들어지고 대립유전자 조건과 맞을 때 실행할 이벤트. |
| both_allele | -1 | Integer number | 이 값이 음수가 아니면, 몹의 주 대립유전자와 숨은 대립유전자가 모두 이 값과 일치하는지 비교한다. 정수 범위도 쓸 수 있다. |
| both_allele (as Object) | not set | Both Allele item | |
| either_allele | -1 | Integer number | 이 값이 음수가 아니면, 몹의 주 대립유전자와 숨은 대립유전자 중 어느 하나라도 이 값과 일치하는지 비교한다. 정수 범위도 쓸 수 있다. |
| either_allele (as Object) | not set | Either Allele item | |
| hidden_allele | -1 | Integer number | 이 값이 음수가 아니면, 몹의 숨은 대립유전자가 이 값과 일치하는지 비교한다. 정수 범위도 쓸 수 있다. |
| hidden_allele (as Object) | not set | Hidden Allele item | |
| main_allele | -1 | Integer number | 이 값이 음수가 아니면, 몹의 주 대립유전자가 이 값과 일치하는지 비교한다. 정수 범위도 쓸 수 있다. |
| main_allele (as Object) | not set | Main Allele item |
Both Allele
Both Allele Properties
JSON path: genes > genetic_variants > both_allele
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| range_max | not set | Integer number | 대립유전자 값의 최대값. |
| range_min | not set | Integer number | 대립유전자 값의 최소값. |
Either Allele
Same structure as Both Allele.
Hidden Allele
Same structure as Both Allele.
Main Allele
Same structure as Both Allele.
예시
Goat
"minecraft:genetics": {
"mutation_rate": 0.02,
"genes": [
{
"name": "goat_variant",
"use_simplified_breeding": true,
"allele_range": {
"range_min": 1,
"range_max": 100
},
"genetic_variants": [
{
"main_allele": {
"range_min": 1,
"range_max": 2
},
"birth_event": {
"event": "minecraft:born_screamer",
"target": "self"
}
},
{
"main_allele": {
"range_min": 3,
"range_max": 100
},
"birth_event": {
"event": "minecraft:born_default",
"target": "self"
}
}
]
}
]
}
minecraft:giveable
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_giveable.md)
엔티티에게 사용하면 이벤트를 일으키는 아이템 묶음을 정의한다. 아이템은 엔티티 인벤토리로 들어간다.
Defines sets of items that can be used to trigger events when used on this entity. The item will also be taken and placed in the entity's inventory.
Giveable Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| cooldown | 0 | Decimal number | 상호작용 남발을 막는 선택적 쿨다운(초). |
| items | not set | Array of strings | 엔티티에게 주어 인벤토리에 넣을 수 있는 아이템 목록. 배열이나 아이템 문자열 하나를 쓸 수 있다. |
| items (as String) | not set | String | |
| on_give | not set | Object | 올바른 아이템을 주었을 때 발생시킬 이벤트. event와 target 속성을 가진 객체 또는 단순한 이벤트 문자열을 쓸 수 있다. |
| on_give (as String) | not set | String |
예시
minecraft:ground_offset
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_ground_offset.md)
엔티티가 실제로 위치하는 지면 기준 오프셋을 정한다.
Sets the offset from the ground that the entity is actually at.
Ground Offset Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| value | 0 | Decimal number | 지형으로부터 엔티티의 오프셋 값(블록). |
minecraft:group_size
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_group_size.md)
주어진 반경 안의 엔티티 무리 크기를 추적한다.
Keeps track of entity group size in the given radius.
Group Size Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| filters | not set | Minecraft filter | 다른 엔티티가 무리 크기에 포함되기 위해 만족해야 하는 조건 목록. |
| radius | 16 | Decimal number | 엔티티 중심으로부터의 반경. |
예시
minecraft:grows_crop
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_grows_crop.md)
엔티티가 작물 위를 걸으면 작물 성장을 촉진할 수 있다.
Could increase crop growth when entity walks over crop.
Entity Grows Crop Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| chance | 0 | Decimal number | 0~1 사이의 값. 틱마다 성공할 확률. |
| charges | 10 | Integer number | 충전 횟수. |
예시
minecraft:healable
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_healable.md)
엔티티가 회복되는 방식을 정의한다.
How entities heal.
[!Note] From 1.21.130, each entry in
itemsaccepts an optionalresult_itemfield. On a successful heal, the consumed item is replaced in the player's inventory with the specified item.
Entity Healable Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | 이 아이템으로 엔티티를 회복시키는 조건을 정의하는 필터 그룹. | Parrot: {"operator":"!=","test":"is_riding","value":true} |
| filters (as Object) | not set | Object | ||
| force_use | false | Boolean true/false | 엔티티의 체력이 가득 차 있어도 아이템을 쓸 수 있는지 정한다. | Parrot: true |
| items | [] | Array of Items items | 이 엔티티를 회복시키는 데 쓸 수 있는 아이템 배열. | Llama: [{"item":"wheat","heal_amount":2},{"item":"hay_block","heal_amount":10}], Parrot: [{"effects":[{"amplifier":0,"chance":1,"duration":1000,"name":"fatal_poison"}],"heal_amount":0,"item":"cookie"}] |
Filters
Filters Properties
JSON path: filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Entity HealableComponentFeedItem
Entity HealableComponentFeedItem Properties
JSON path: items
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| effects | [] | Array of Effects items | 이 아이템으로 엔티티를 회복시킬 때 적용할 효과. |
| heal_amount | 1 | Integer number | 이 아이템을 먹였을 때 엔티티가 얻는 체력. |
| item | {} | String | 이 엔티티를 회복시키는 데 쓸 수 있는 아이템 식별자. |
| item (as Keyed set of strings) | not set | Keyed set of strings | |
| result_item | {} | String | 사용한 먹이 아이템이 상호작용에 성공하면 이 아이템으로 바뀐다. |
| result_item (as Keyed set of strings) | not set | Keyed set of strings |
Entity HealableComponentEffect
Entity HealableComponentEffect Properties
JSON path: items > effects
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| amplifier | 1 | Integer number | 효과의 증폭 수준. |
| chance | 1 | Decimal number | 효과가 적용될 확률. |
| duration | 0 | Object | 효과 지속 시간(초) 또는 "infinite". |
| name | String | 적용할 효과의 이름. |
예시
Llama
"minecraft:healable": {
"items": [
{
"item": "wheat",
"heal_amount": 2
},
{
"item": "hay_block",
"heal_amount": 10
}
]
}
Parrot
"minecraft:healable": {
"filters": {
"operator": "!=",
"test": "is_riding",
"value": true
},
"force_use": true,
"items": [
{
"effects": [
{
"amplifier": 0,
"chance": 1,
"duration": 1000,
"name": "fatal_poison"
}
],
"heal_amount": 0,
"item": "cookie"
}
]
}
Sniffer
"minecraft:healable": {
"items": [
{
"item": "torchflower_seeds",
"heal_amount": 2
}
]
}
minecraft:health
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_health.md)
엔티티의 체력을 체력 점수(1점 = 하트 반 칸)로 정의한다.
Defines the health pool for an entity, measured in health points (1 point = half a heart). Typical values: cow (10), zombie (20), iron golem (100), wither (600).
Health Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| max | 20 | Integer number | 엔티티가 가질 수 있는 최대 체력. 초기값보다 높게 해 초기 체력을 넘어서 회복하게 할 수 있다. |
| value | 20 | Integer number | 엔티티의 시작 체력(체력 점수, 1점 = 하트 반 칸). |
| value (as Object) | not set | Value item |
Value
Value Properties
JSON path: value
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| range_max | not set | Integer number | |
| range_min | not set | Integer number |
minecraft:heartbeat
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_heartbeat.md)
엔티티의 심장박동을 정의한다.
Defines the entity's heartbeat.
Heartbeat Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| interval | 1.00 | String | 심장박동 사이 간격(초)을 정의하는 Molang 식. 0 이하이면 심장박동이 없다. | Warden: "2.0 - math.clamp(query.anger_level / 80 * 1.5, 0, 1.5)" |
| sound_event | heartbeat | Minecraft Event Trigger | 심장박동 소리로 재생할 레벨 사운드 이벤트. |
예시
Warden
"minecraft:heartbeat": {
"interval": "2.0 - math.clamp(query.anger_level / 80 * 1.5, 0, 1.5)"
}
minecraft:hide
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_hide.md)
소유한 POI나 가장 가까운 POI로 이동해 숨는다.
Moves to and hides at their owned POI or the closest nearby.
예시
minecraft:home
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_home.md)
엔티티가 스폰될 때의 집 위치를 저장한다. 벌이 벌집으로 돌아가는 동작에 쓴다.
Saves a home position for when the entity is spawned. This component allows entities like bees to remember and return to a specific location such as a hive or nest.
Entity Home Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| home_block_list | [] | Array of strings | 유효한 집으로 볼 수 있는 블록의 선택적 목록. |
| restriction_radius | 0 | Integer number | 집을 기준으로 엔티티가 제한되는 선택적 반경. |
| restriction_type | none | Restriction Type choices | 엔티티가 집 위치에 제한되는 방식을 정의한다. |
home_block_list
Optional list of blocks that can be considered a valid home. If no such block longer exists at that position, the home restriction is removed. Example syntax: minecraft:sand. Not supported: minecraft:sand:1.
restriction_type
Defines how the entity will be restricted to its home position. Valid values are: 'none' (no restriction), 'random_movement' (restricts random wandering to be near home), and 'all_movement' (restricts all movement to be near home, though entities can always move closer to home if they are too far away). This item requires a format version of at least 1.21.40.
Restriction Type choices
| 값 | 제목 | 설명 |
|---|---|---|
| all_movement | All movement | |
| none | None | |
| random_movement | Random movement |
예시
minecraft:horse.jump_strength
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_horse.jump_strength.md)
말이나 당나귀 같은 엔티티의 점프 높이를 정한다.
Determines the jump height for a horse or similar entity, like a donkey.
Horse Jump Strength Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| value | not set | Value item | 스폰될 때 엔티티가 가지는 점프 강도 값. |
| value (as Decimal number) | not set | Decimal number |
Value
Describes the range of jump strength.
Value Properties
JSON path: value
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| range_max | not set | Decimal number | 최대 강도 수준을 정의한다. |
| range_min | not set | Decimal number | 최소 강도 수준을 정의한다. |
예시
minecraft:hurt_on_condition
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_hurt_on_condition.md)
엔티티가 피해를 입는 조건 묶음을 정의한다.
Defines a set of conditions under which an entity should take damage.
Hurt On Condition Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| damage_conditions | not set | Array of Damage Conditions items | 충족되면 엔티티에게 피해를 줄 수 있는 피해 조건 목록. | Allay: [{"cause":"lava","damage_per_tick":4,"filters":{"subject":"self","test":"in_lava"}}], Armor Stand: [{"cause":"lava","damage_per_tick":4,"filters":{"operator":"==","test":"in_lava","subject":"self","value":true}}] |
Damage Conditions
List of damage conditions that when met can cause damage to the entity.
Damage Conditions Properties
JSON path: damage_conditions
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| cause | not set | String | 엔티티에게 가해지는 피해의 종류. 여러 방어구와 주문이 이를 보고 엔티티가 면역인지 판단한다. |
| damage_per_tick | 1 | Integer number | 조건이 충족되는 동안 틱마다 주는 피해량. |
| filters | not set | Minecraft filter | 엔티티가 정의된 피해를 입기 전에 만족해야 하는 조건 집합. |
예시
Allay
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "lava",
"damage_per_tick": 4,
"filters": {
"subject": "self",
"test": "in_lava"
}
}
]
}
Armor Stand
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "lava",
"damage_per_tick": 4,
"filters": {
"operator": "==",
"test": "in_lava",
"subject": "self",
"value": true
}
}
]
}
Arrow
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "lava",
"damage_per_tick": 4,
"filters": {
"test": "in_lava"
}
}
]
}
Blaze
"minecraft:hurt_on_condition": {
"damage_conditions": [
{
"cause": "drowning",
"damage_per_tick": 1,
"filters": {
"test": "in_contact_with_water"
}
}
]
}
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |