본문으로 건너뛰기

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

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

minecraft:is_dyeable​

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

염료로 엔티티의 색을 바꿀 수 있게 한다.

Allows dyes to be used on this entity to change its color.

Is Dyeable Properties​

이름기본값유형설명예시 값
interact_textnot setString터치스크린 조작 시 염료로 이 엔티티와 상호작용할 때 표시할 텍스트.Sheep: "action.interact.dye"

예시​

Sheep​
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
}

minecraft:is_hidden_when_invisible​

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

투명한 동안 적대적인 몹에게서 숨을 수 있게 한다.

The entity can hide from hostile mobs while invisible.

예시​

Allay​
"minecraft:is_hidden_when_invisible": {}

minecraft:is_ignited​

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

엔티티가 불타는 중이라고 표시한다.

Sets that this entity is currently on fire.

예시​

Tnt Minecart​

At /minecraft:entity/component_groups/minecraft:instant_explode_tnt/minecraft:is_ignited/:

"minecraft:is_ignited": {}

minecraft:is_illager_captain​

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

엔티티를 일러저 대장으로 표시한다.

Sets that this entity is an Illager Captain.

예시​

minecraft:is_pregnant​

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

엔티티가 임신 중이라고 표시한다.

Sets that this entity is currently pregnant.

예시​

Sniffer​
"minecraft:is_pregnant": {}

minecraft:is_saddled​

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

엔티티에 안장이 얹혀 있다고 표시한다.

Sets that this entity is currently saddled.

예시​

Pig​
"minecraft:is_saddled": {}

minecraft:is_shaking​

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

엔티티가 떨고 있다고 표시한다.

Sets that this entity is currently shaking.

예시​

Drowned​

At /minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:is_shaking/:

"minecraft:is_shaking": {}

minecraft:is_sheared​

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

엔티티의 털이 깎인 상태라고 표시한다.

Sets that this entity is currently sheared.

예시​

Bogged​
"minecraft:is_sheared": {}

minecraft:is_stackable​

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

같은 엔티티끼리 수직·수평으로 충돌할 수 있게 한다. 양쪽 모두 collision_box가 필요하다.

Allows instances of this entity to have vertical and horizontal collisions with each other. For a collision to occur, both instances must have a "minecraft:collision_box" component. Stackable behavior is closely related to collidable behavior. While the "minecraft:is_stackable" component describes how an entity interacts with others of its own kind, the "minecraft:is_collidable" component governs how other mobs interact with the component's owner.

Is Stackable Properties​

이름기본값유형설명
valuetrueBoolean true/false이 엔티티가 쌓일 수 있는지 여부.

예시​

Boat​
"minecraft:is_stackable": {}

minecraft:is_stunned​

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

엔티티가 기절 상태라고 표시한다.

Sets that this entity is currently stunned.

예시​

minecraft:is_tamed​

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

엔티티가 길들여진 상태라고 표시한다.

Sets that this entity is currently tamed.

예시​

Llama​
"minecraft:is_tamed": {}

minecraft:item_controllable​

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

탑승 중인 엔티티를 조종할 수 있는 아이템을 정의한다.

Defines what items can be used to control this entity while ridden.

Item Controllable Properties​

이름기본값유형설명예시 값
control_itemsnot setArray of strings탑승 중 이 엔티티를 조종할 수 있는 아이템 목록. 문자열 하나 또는 문자열 배열을 쓸 수 있다.Pig: "carrotOnAStick", Strider: "warped_fungus_on_a_stick"
control_items (as String)not setString

예시​

Pig​
"minecraft:item_controllable": {
"control_items": "carrotOnAStick"
}
Strider​
"minecraft:item_controllable": {
"control_items": "warped_fungus_on_a_stick"
}

minecraft:item_hopper​

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

엔티티가 아이템 호퍼임을 나타낸다.

Determines that this entity is an item hopper.

예시​

Hopper Minecart​
"minecraft:item_hopper": {}

minecraft:jump.dynamic​

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

몹의 속도 보정값에 따라 점프 속성이 바뀌는 동적 점프 제어를 정의한다. movement.skip이 필요하다.

Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.Requires minecraft:movement.skip to be used.

Entity Dynamic Jump Properties​

이름기본값유형설명
fast_skip_data{"animation_duration":1,"distance_scale":1,"height":0.10000000149011612,"jump_delay":30}Fast Skip Data item스킵 이동으로 빠르게 이동할 때 쓰는 점프 데이터. regular_skip_data와 같은 형태의 객체다. 형식 버전 1.26.0 이상이 필요하다.
regular_skip_data{"animation_duration":1,"distance_scale":1,"height":0.10000000149011612,"jump_delay":30}Regular Skip Data item일반 스킵 이동에 쓰는 점프 데이터.

regular_skip_data​

Jump data used during normal skip movement. Object with optional distance_scale (horizontal velocity multiplier), height (vertical force), jump_delay (ticks between jumps), and animation_duration (jump animation length). This item requires a format version of at least 1.26.0.

Entity JumpDataDefinition​

Entity JumpDataDefinition Properties​

JSON path: fast_skip_data

이름기본값유형설명
animation_duration1Integer number점프 애니메이션의 지속 시간.
distance_scale1Decimal number점프할 때 수평 속도에 곱하는 배수.
height0.10000000149011612Decimal number점프할 때 수직으로 가해지는 힘.
jump_delay30Integer number연속된 점프 사이의 틱 수.

예시​

minecraft:jump.static​

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

엔티티가 점프할 수 있게 한다.

Gives the entity the ability to jump.

Entity Static Jump Properties​

이름기본값유형설명
jump_power0.41999998688697815Decimal number점프의 초기 수직 속도.

예시​

Allay​
"minecraft:jump.static": {}

minecraft:knockback_resistance​

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

근접 공격의 넉백에 대한 저항을 정한다. 0.0은 저항 없음, 1.0은 완전 면역이다.

Determines an entity's resistance to knockback from melee attacks. A value of 0.0 means no resistance, while 1.0 provides full immunity to knockback (like iron golems).

[!Note] In format version 1.26.20, value now accepts negative numbers down to a minimum of -2. Negative values amplify knockback applied to the entity instead of diminishing it.

Alternate Simple Representations​

This item can also be represented as a Decimal number.

Knockback Resistance Properties​

이름기본값유형설명예시 값
maxnot setDecimal number이 엔티티가 가질 수 있는 최대 넉백 저항.Ender Dragon: 100
valuenot setDecimal number넉백 저항의 양. 0.0(없음)에서 1.0(완전 면역)까지.Armor Stand: 1, Ender Dragon: 100

예시​

Armor Stand​
"minecraft:knockback_resistance": {
"value": 1
}
Breeze​
"minecraft:knockback_resistance": {
"value": 0
}
Ender Dragon​
"minecraft:knockback_resistance": {
"max": 100,
"value": 100
}

minecraft:lava_movement​

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

용암 위에서 쓸 이동 속도를 따로 정한다.

Allows a custom movement speed across lava blocks.

Lava Movement Properties​

이름기본값유형설명예시 값
valuenot setDecimal number몹이 용암 블록 위를 이동하는 속도.Strider: 0.32

예시​

Strider​
"minecraft:lava_movement": {
"value": 0.32
}

minecraft:leashable​

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

이 몹을 다른 대상에 끈으로 묶는 방식을 설명한다.

Describes how this mob can be leashed to other items.

[!Note] In 1.21.90, the can_be_cut root field and the spring_type and rotation_adjustment fields within presets were added.

[!Note] From 1.21.80 onward, supports multiple presets via the presets array. Each preset has its own filter, hard_distance, soft_distance, and max_distance — replacing the flat root fields previously used.

Leashable Properties​

이름기본값유형설명예시 값
can_be_cuttrueBoolean true/falsetrue이면 플레이어가 엔티티에 가위를 사용해 들어오는 끈과 나가는 끈을 모두 끊을 수 있다. 형식 버전 1.21.90 이상이 필요하다.
can_be_stolenfalseBoolean true/falsetrue이면 이미 다른 엔티티에 묶여 있어도 플레이어가 이 엔티티를 묶을 수 있다.
hard_distance6Integer number끈이 팽팽해져 움직임을 제한하는 블록 거리.
max_distance0Integer number끈이 끊어지는 블록 거리.
on_leashnot setObject이 엔티티가 묶였을 때 호출할 이벤트. event와 target 속성을 가진 객체 또는 단순한 이벤트 문자열을 쓸 수 있다.
on_leash (as String)not setString
on_unleashnot setObject이 엔티티의 끈이 풀렸을 때 호출할 이벤트. event와 target 속성을 가진 객체 또는 단순한 이벤트 문자열을 쓸 수 있다.
on_unleash (as String)not setString
on_unleash_interact_onlyfalseBoolean true/falsetrue이면 플레이어가 직접 상호작용한 경우가 아닌 이유로 엔티티의 끈이 풀릴 때 "on_unleash"가 발생하지 않는다.
presetsnot setArray of Presets items다른 엔티티에 묶였을 때 이 엔티티의 동작을 정의한다. "filter" 조건을 만족하는 첫 프리셋이 적용되며, 맞는 것이 없으면 기본 설정이 쓰인다.Boat: [{"filter":{"subject":"other","test":"is_family","value":"happy_ghast"},"rotation_adjustment":90,"spring_type":"quad_dampened"},{"hard_distance":4,"rotation_adjustment":90,"soft_distance":2}]
soft_distance4Integer number이 엔티티를 묶은 엔티티 가까이 두려는 '스프링' 효과가 작동하기 시작하는 블록 거리.
unleash_on_removaltrueBoolean true/falsetrue이면 이 컴포넌트가 제거될 때 엔티티의 끈이 풀린다. 기본값은 true다. 형식 버전 1.26.30 이상이 필요하다.

Presets​

Defines how this entity behaves when leashed to another entity. The first preset which "filter" conditions are met will be applied; if none match, a default configuration is used instead.

Presets Properties​

JSON path: presets

이름기본값유형설명
filternot setMinecraft filter이 프리셋이 적용되기 위해 충족해야 하는 조건.
hard_distance7Decimal number엔티티가 스프링 같은 힘으로 끈 주인 쪽으로 당겨지기 시작하는 거리(블록).
max_distance12Decimal number끈이 끊어지는 블록 거리.
rotation_adjustment0Decimal number"spring_type"이 "dampened"나 "quad_dampened"일 때 엔티티가 평형에 이르는 회전을 조정한다.
soft_distance4Decimal number엔티티가 가능하면 끈 주인 쪽으로 경로 탐색을 시작하는 거리(블록).
spring_typedampenedString엔티티를 끈 주인 쪽으로 당기는 스프링 같은 힘의 종류를 정의한다. "bouncy"는 매우 탄성이 큰 스프링을 흉내 내며, 묶인 엔티티가 공중에 떠 있으면 평형에 이르지 않는다.
hard_distance​

Distance (in blocks) over which the entity starts being pulled towards the leash holder with a spring-like force. Entities can enter and stay in vehicles if the leash is stretched under this distance, but will dismount once it exceeds it.

spring_type​

Defines the type of spring-like force that pulls the entity towards its leash holder: - "bouncy": Simulates a highly elastic spring that never reaches an equilibrium if the leashed entity is suspended mid-air. - "dampened": Simulates a dampened spring attached to the front of the leashed entity's collision. It reaches an equilibrium if the entity is suspended mid-air and aligns with the movement direction. - "quad_dampened": Simulates four dampened springs connected to the center of each side of the entities' collisions. It reaches an equilibrium if the entity is suspended mid-air and gradually aligns with the leash holder over time.

예시​

Allay​
"minecraft:leashable": {}
Boat​
"minecraft:leashable": {
"presets": [
{
"filter": {
"subject": "other",
"test": "is_family",
"value": "happy_ghast"
},
"rotation_adjustment": 90,
"spring_type": "quad_dampened"
},
{
"hard_distance": 4,
"rotation_adjustment": 90,
"soft_distance": 2
}
]
}
Chicken​
"minecraft:leashable": {
"unleash_on_removal": false
}

minecraft:leashable_to​

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

플레이어가 다른 엔티티를 이 엔티티에 묶거나 풀거나 가위로 끊게 한다.

Allows players to leash entities to this entity, retrieve entities already leashed to it, or free them using shears. For the last interaction to work, the leashed entities must have "can_be_cut" set to true in their "minecraft:leashable" component.

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

Leashable To Properties​

이름기본값유형설명
can_retrieve_fromfalseBoolean true/false플레이어가 이 엔티티에 묶인 엔티티를 되찾을 수 있게 한다.
unleash_on_removaltrueBoolean true/falsetrue이면 이 컴포넌트가 제거될 때 이 엔티티에 묶인 모든 엔티티의 끈이 자동으로 풀린다. 기본값은 true다. 형식 버전 1.26.30 이상이 필요하다.

예시​

Allay​
"minecraft:leashable_to": {}
Chicken​
"minecraft:leashable_to": {
"unleash_on_removal": false
}

minecraft:looked_at​

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

다른 엔티티가 소유 엔티티를 쳐다볼 때의 동작을 정의한다.

Defines the behavior when another entity looks at the owner entity.

Looked At Properties​

이름기본값유형설명
field_of_view26Decimal number소유 엔티티를 바라보는 엔티티를 감지하는 시야각의 너비(도)를 정의한다.
filtersnot setMinecraft filter소유 엔티티를 바라보는 엔티티를 찾을 때 고려할 엔티티를 정의한다.
find_players_onlyfalseBoolean true/false근처의 모든 엔티티가 아니라 지정한 "filters"를 만족하는 가장 가까운 플레이어로만 검색을 제한한다.
line_of_sight_obstruction_typecollisionString시선 차단을 확인할 때 쓰는 블록 모양의 종류를 정의한다. 유효한 값: "outline", "collision", "collision_for_camera".
look_at_locationsnot setArray of strings소유 엔티티에서 시선 검사를 하는 위치 목록. 바라보는 것으로 인정되려면 적어도 한 위치는 가려지지 않아야 한다.
looked_at_cooldownnot setRange of integers소유 엔티티를 바라보는 엔티티를 감지한 뒤, 다시 확인하기 전에 지나야 하는 무작위 시간(초)의 범위.
looked_at_eventnot setMinecraft Event Trigger소유 엔티티를 바라보는 엔티티가 감지되었을 때 발생시킬 이벤트를 정의한다.
min_looked_at_duration0Decimal number소유 엔티티가 바라보는 것으로 인정되기 위해 계속 쳐다봐져야 하는 최소 시간. 명시하지 않으면 0이다.
not_looked_at_eventnot setMinecraft Event Trigger소유 엔티티를 바라보는 엔티티가 없을 때 발생시킬 이벤트를 정의한다.
scale_fov_by_distancetrueBoolean true/falsetrue이면 소유 엔티티와 바라보는 엔티티 사이 거리가 멀어질수록 시야각이 좁아진다.
search_radius10Decimal number소유 엔티티가 자신을 바라보는 엔티티를 찾는 최대 거리.
set_targetfalseSet Target choices소유 엔티티가 자신을 바라보는 엔티티를 전투 대상으로 삼는 방식을 정의한다. 유효한 값: 'never', 'once_and_stop_scanning', 'once_and_keep_scanning'.
set_target (as Integer number from a list of choices)not setInteger number from a list of choices레거시 불리언 대상 지정 동작을 쓰려면 true/false로 설정한다.

field_of_view​

Defines, in degrees, the width of the field of view for entities looking at the owner entity. If "scale_fov_by_distance" is set to true, this value corresponds to the field of view at a distance of one block between the entities.

scale_fov_by_distance​

When true, the field of view narrows as the distance between the owner entity and the entity looking at it increases. This ensures that the width of the view cone remains somewhat constant towards the owner entity position, regardless of distance.

Set Target choices​

값제목설명
neverNever
once_and_stop_scanningOnce And Stop Scanning
once_and_keep_scanningOnce And Keep Scanning

예시​

minecraft:loot​

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

엔티티가 죽을 때 떨어뜨릴 아이템을 정하는 루트 테이블을 지정한다. 경로는 비헤이비어 팩 루트 기준이다.

Specifies the loot table that determines what items this entity drops upon death. The table path is relative to the behavior pack's root folder.

[!Note] Requires a loot table to be used when dropping items upon death.

Loot Properties​

이름기본값유형설명
tablenot setString비헤이비어 팩 루트 기준 루트 테이블 JSON 파일 경로(예: 'loot_tables/entities/zombie.json').

예시​

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