본문으로 건너뛰기

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

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

minecraft:experience_reward​

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

원문에 설명이 없다. 속성 표를 본다.

.

Entity Experience Reward Properties​

이름기본값유형설명예시 값
on_bredMolang이 엔티티가 번식에 성공했을 때 주는 경험치를 정의하는 Molang 식.Breeze: "Math.Random(1,7)"
on_bred (as Named set of objects)not setKey/item pairs of Bred (Legacy Molang Expression) items
on_bred (as Decimal number)not setDecimal number
on_deathMolang이 엔티티가 죽을 때 주는 경험치를 정의하는 Molang 식.Blaze: "query.last_hit_by_player ? 10 : 0", Bogged: "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0", Cave Spider: "query.last_hit_by_player ? 5 : 0"
on_death (as Named set of objects)not setKey/item pairs of Death (Legacy Molang Expression) items
on_death (as Decimal number)not setDecimal number

Legacy Molang Expression​

Legacy Molang Expression Properties​

JSON path: on_bred

이름기본값유형설명
expressionnot setString
versionnot setInteger number

예시​

Blaze​
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 10 : 0"
}
Bogged​
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
}
Breeze​
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? 10 : 0"
}
Cave Spider​
"minecraft:experience_reward": {
"on_death": "query.last_hit_by_player ? 5 : 0"
}
Chicken​
"minecraft:experience_reward": {
"on_bred": "Math.Random(1,7)",
"on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0"
}

minecraft:explode​

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

엔티티가 폭발하는 방식을 정의한다.

Defines how the entity explodes.

Explode Properties​

이름기본값유형설명예시 값
addnot setAdd itemFireball: {"component_groups":["minecraft:exploding"]}
allow_underwaterfalseBoolean true/falsetrue이면 폭발이 물속의 블록과 엔티티에도 영향을 준다. 형식 버전 1.21.40 이상이 필요하다.Breeze Wind Charge Projectile: true
breaks_blockstrueBoolean true/falsetrue이면 폭발 반경 안의 블록이 파괴된다.
causes_firefalseBoolean true/falsetrue이면 폭발 반경 안의 블록에 불이 붙는다.Fireball: true
damage_scaling1Decimal number폭발이 엔티티에게 주는 피해에 적용하는 배율.
destroy_affected_by_griefingfalseBoolean true/falsetrue이면 폭발이 블록을 부수는지가 몹 그리핑 게임 규칙의 영향을 받는다.Ender Crystal: true
fire_affected_by_griefingfalseBoolean true/falsetrue이면 폭발이 불을 내는지가 몹 그리핑 게임 규칙의 영향을 받는다.Fireball: true
fuse_lengthnot setRange of integers폭발하기 전에 도화선에 불이 붙어 있는 무작위 시간 범위. 음수이면 즉시 폭발한다.Tnt Minecart: 4
fuse_litfalseBoolean true/falsetrue이면 이 컴포넌트가 엔티티에 추가될 때 이미 도화선에 불이 붙어 있다.Ender Crystal: true
knockback_scaling1Decimal number폭발이 일으키는 넉백 힘에 적용하는 배율. 형식 버전 1.21.40 이상이 필요하다.Breeze Wind Charge Projectile: 0.6, Wind Charge Projectile: 1.22
max_resistance3.40282e+38Decimal number폭발이 일어날 때 블록의 폭발 저항이 이 값으로 제한된다.
negates_fall_damagefalseBoolean true/false충돌 지점 위의 플레이어에게 낙하 피해 무효화를 적용할지 정의한다. 형식 버전 1.21.40 이상이 필요하다.Wind Charge Projectile: true
particle_effectexplosionString사용할 파티클 효과 이름. 허용되는 문자열은 'explosion', 'wind_burst', 'breeze_wind_burst'다. 형식 버전 1.21.40 이상이 필요하다.Breeze Wind Charge Projectile: "breeze_wind_burst", Wind Charge Projectile: "wind_burst"
power3Decimal number폭발 반경(블록)과 폭발이 주는 피해량.Breeze Wind Charge Projectile: 3, Ender Crystal: 6, Fireball: 1
sound_effectexplodeString폭발이 일어날 때 재생할 효과음 이름. 형식 버전 1.21.40 이상이 필요하다.Breeze Wind Charge Projectile: "breeze_wind_charge.burst", Wind Charge Projectile: "wind_charge.burst"
toggles_blocksfalseBoolean true/falsetrue이면 폭발 반경 안의 블록을 토글한다. 형식 버전 1.21.40 이상이 필요하다.Breeze Wind Charge Projectile: true

damage_scaling​

A scale factor applied to the explosion's damage to entities. A value of 0 prevents the explosion from dealing any damage. Negative values cause the explosion to heal entities instead. This item requires a format version of at least 1.21.40.

Add​

Add Properties​

JSON path: add

이름기본값유형설명예시 값
component_groupsnot setStringFireball: ["minecraft:exploding"]

예시​

Breeze Wind Charge Projectile​
"minecraft:explode": {
"knockback_scaling": 0.6,
"damage_scaling": 0,
"allow_underwater": true,
"breaks_blocks": false,
"causes_fire": false,
"max_resistance": 0,
"negates_fall_damage": false,
"particle_effect": "breeze_wind_burst",
"toggles_blocks": true,
"power": 3,
"sound_effect": "breeze_wind_charge.burst"
}
Ender Crystal​
"minecraft:explode": {
"causes_fire": false,
"fuse_lit": true,
"power": 6,
"destroy_affected_by_griefing": true,
"fuse_length": 0
}
Fireball​

At /minecraft:entity/component_groups/minecraft:exploding/minecraft:explode/:

"minecraft:explode": {
"causes_fire": true,
"fire_affected_by_griefing": true,
"fuse_lit": true,
"power": 1,
"destroy_affected_by_griefing": true,
"fuse_length": 0
}

At /minecraft:entity/events/minecraft:explode/:

"minecraft:explode": {
"add": {
"component_groups": [
"minecraft:exploding"
]
}
}
Tnt Minecart​

At /minecraft:entity/component_groups/minecraft:instant_explode_tnt/minecraft:explode/:

"minecraft:explode": {
"causes_fire": false,
"fuse_lit": true,
"power": 3,
"fuse_length": 0
}

At /minecraft:entity/component_groups/minecraft:primed_tnt/minecraft:explode/:

"minecraft:explode": {
"causes_fire": false,
"fuse_lit": true,
"power": 3,
"fuse_length": 4
}
Wind Charge Projectile​
"minecraft:explode": {
"knockback_scaling": 1.22,
"damage_scaling": 0,
"allow_underwater": true,
"breaks_blocks": false,
"causes_fire": false,
"max_resistance": 0,
"negates_fall_damage": true,
"particle_effect": "wind_burst",
"toggles_blocks": true,
"power": 1.2,
"sound_effect": "wind_charge.burst"
}

minecraft:fire_immune​

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

엔티티가 불로 피해를 입지 않게 한다.

Sets that this entity doesn't take damage from fire.

예시​

Blaze​
"minecraft:fire_immune": {}

minecraft:floats_in_liquid​

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

엔티티가 액체 블록 위에 뜰 수 있게 한다.

Sets that this entity can float in liquid blocks.

minecraft:flocking​

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

엔티티가 물속 또는 지상에서 무리를 지어 움직이게 한다.

Allows entities to flock in groups in water or not.

Entity Flocking Properties​

이름기본값유형설명예시 값
block_distance0Decimal number엔티티가 밀려나기 위해 바라보는 블록 거리.Dolphin: 1
block_weight0Decimal number블록에서 밀어내는 힘의 가중치.
breach_influence0Decimal number물 밖으로 솟구친 무리 개체에게 주는 밀어내는 힘의 양.
cohesion_threshold1Decimal number응집을 적용하기 시작하는 임계값.Dolphin: 6.5
cohesion_weight1Decimal number무리의 응집 조종에 적용하는 가중치.Dolphin: 1.85
goal_weight0Decimal number목표 출력에 적용할 가중치.Dolphin: 2
high_flock_limit0Integer number무리에 허용되는 엔티티 수의 상한.Dolphin: 8
in_waterfalseBoolean true/false엔티티가 물속에 있는지 무리 지음 컴포넌트에 알린다.
influence_radius0Decimal number다른 개체를 무리에 추가할 수 있는 엔티티 주변 영역.Dolphin: 6
innner_cohesion_threshold0Decimal number무리 개체가 응집 적용을 멈추는 거리.Dolphin: 3.5
loner_chance0Decimal number물고기가 스폰될 때 무리에 합류하지 않으려 할 확률(0~1). 잘못된 값은 양 끝 값으로 제한된다.Dolphin: 0.1
low_flock_limit0Integer number무리에 허용되는 엔티티 수의 하한.Dolphin: 4
match_variantsfalseBoolean true/false무리 개체가 변종, 마크 변종, 색상 데이터가 일치하는 비슷한 엔티티끼리만 맞추게 한다.
max_height0Decimal number공중이나 물속에서 허용되는 최대 높이.Dolphin: 4
min_height0Decimal number공중이나 물속에서 허용되는 최소 높이.Dolphin: 4
separation_threshold2Decimal number다른 무리 개체와 너무 가까워 분리를 적용하기 시작하는 거리.Dolphin: 3
separation_weight1Decimal number무리 분리에 적용하는 가중치.Dolphin: 1.75
use_center_of_massfalseBoolean true/false무리 개체가 질량 중심을 기준으로 무리를 따르게 한다.

예시​

Dolphin​
"minecraft:flocking": {
"in_water": false,
"match_variants": false,
"use_center_of_mass": false,
"low_flock_limit": 4,
"high_flock_limit": 8,
"goal_weight": 2,
"loner_chance": 0.1,
"influence_radius": 6,
"breach_influence": 0,
"separation_weight": 1.75,
"separation_threshold": 3,
"cohesion_weight": 1.85,
"cohesion_threshold": 6.5,
"innner_cohesion_threshold": 3.5,
"min_height": 4,
"max_height": 4,
"block_distance": 1,
"block_weight": 0
}

minecraft:flying_speed​

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

엔티티가 나는 속도를 블록 단위로 정한다.

Speed in Blocks that this entity flies at.

Flying Speed Properties​

이름기본값유형설명예시 값
value0.02Decimal number비행 속도(블록/틱).Allay: 0.1, Ender Dragon: 0.6

예시​

Allay​
"minecraft:flying_speed": {
"value": 0.1
}
Ender Dragon​
"minecraft:flying_speed": {
"value": 0.6
}

minecraft:follow_range​

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

몹이 대상을 쫓는 최대 거리를 블록 단위로 정의한다.

Defines the maximum range, in blocks, that a mob will pursue a target. This affects AI behaviors like chasing players or attacking.

Follow Range Properties​

이름기본값유형설명예시 값
maxnot setInteger number최대 추적 거리(블록). 엔티티는 이 범위를 넘는 대상은 쫓지 않는다.Blaze: 48, Elder Guardian: 16
valuenot setInteger number기본 추적 범위(블록). 엔티티는 대상 주위 이 반경 안에 머물려 한다.Allay: 1024, Blaze: 48, Breeze: 32

예시​

Allay​
"minecraft:follow_range": {
"value": 1024
}
Blaze​
"minecraft:follow_range": {
"max": 48,
"value": 48
}
Breeze​
"minecraft:follow_range": {
"value": 32
}
Dolphin​
"minecraft:follow_range": {
"value": 48,
"max": 48
}
Elder Guardian​
"minecraft:follow_range": {
"max": 16,
"value": 16
}

minecraft:free_camera_controlled​

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

탑승 가능한 엔티티를 WASD와 마우스로 3차원에서 조종하게 한다.

When configured as a rideable entity, the entity will be controlled using WASD controls and mouse to move in three dimensions.

Free Camera Controlled Properties​

이름기본값유형설명
backwards_movement_modifier0.5Decimal number뒤로 갈 때의 속도를 조정한다.
strafe_speed_modifier0.4Decimal number옆걸음(스트레이프) 속도를 조정한다.

예시​

minecraft:friction_modifier​

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

마찰이 엔티티에 미치는 정도를 정의한다.

Defines how much friction affects this entity.

[!Note] In format version 1.26.20, the component's behavior was corrected to match its description: higher values cause more friction (0.0 = no friction, 1.0 = regular, 2.0 = double). It now affects ground friction only (no longer partially affecting air or liquid drag) and works correctly on players and other client-predicted entities. Add minecraft:uses_legacy_friction to opt back into the legacy behavior; entities authored against format versions older than 1.26.20 receive it automatically.

Friction Modifier Properties​

이름기본값유형설명
value1Decimal number값이 클수록 마찰의 영향이 커진다. 1.0은 보통 마찰, 2.0은 두 배다.

minecraft:game_event_movement_tracking​

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

이동 중인 블록에 따라 entityMove, swim, flap 게임 이벤트를 내보내게 한다. 모든 몹에 기본 적용된다.

Allows an entity to emit entityMove, swim and flap game events, depending on the block the entity is moving through. It is added by default to every mob. Add it again to override its behavior.

Entity Game Event Movement Tracking Properties​

이름기본값유형설명예시 값
emit_flapfalseBoolean true/falsetrue이면 엔티티가 공중을 이동할 때 flap 게임 이벤트를 내보낸다.Allay: true
emit_movetrueBoolean true/falsetrue이면 엔티티가 지면이나 고체 속을 이동할 때 entityMove 게임 이벤트를 내보낸다.
emit_swimtrueBoolean true/falsetrue이면 엔티티가 액체 속을 이동할 때 swim 게임 이벤트를 내보낸다.

예시​

Allay​
"minecraft:game_event_movement_tracking": {
"emit_flap": true
}
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13