본문으로 건너뛰기

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

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

minecraft:managed_wandering_trader​

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

엔티티의 거래 능력을 관리한다. 떠돌이 상인(minecraft:wandering_trader)에만 쓸 수 있다.

Manages the entity's ability to trade.

[!Note] Can only be used on the following type of entity:

  • Wandering Trader (minecraft:wandering_trader)

예시​

minecraft:mark_variant​

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

variant와 별개로 같은 몹의 다른 외형을 나타내는 추가 방법이다.

Mark Variant is typically used as an additional per-type way (besides variant) to express a different visual form of the same mob.

Mark Variant Properties​

이름기본값유형설명예시 값
value0Integer numbermark_variant의 ID. 관례상 0이 기본 엔티티의 ID다.Trader Llama: 1

예시​

Llama​
"minecraft:mark_variant": {
"value": 0
}
Trader Llama​
"minecraft:mark_variant": {
"value": 1
}

minecraft:mob_effect​

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

범위 안에 들어온 엔티티에게 몹 효과를 적용하는 컴포넌트다.

A component that applies a mob effect to entities that get within range.

Mob Effect Properties​

이름기본값유형설명
ambientfalseBoolean true/falsetrue이면 효과가 (신호기나 컨듀잇처럼) 주변 효과 배경으로 렌더링되고 만료가 가까워져도 깜박이지 않는다. 형식 버전 1.21.130 이상이 필요하다.
cooldown_time0Integer number효과를 적용하는 간격(초).
effect_range0.2Decimal number몹 효과가 적용되려면 적대적인 엔티티가 얼마나 가까이 있어야 하는지.
effect_time10Integer number적용된 몹 효과가 지속되는 시간(초). "infinite"로도 설정할 수 있다.
entity_filternot setMinecraft filter몹 효과를 적용할 수 있는 유효한 엔티티 집합.
mob_effectnot setString이 엔티티의 효과 범위에 들어온 엔티티에게 적용되는 몹 효과.

예시​

minecraft:mob_effect_immunity​

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

지정한 몹 효과에 면역을 갖게 한다.

Entities with this component will have an immunity to the provided mob effects.

Mob Effect Immunity Properties​

이름기본값유형설명예시 값
mob_effectsnot setArray of strings엔티티가 면역인 효과 이름 목록.Parched: ["weakness"], Polar Bear: ["freezing"], Silverfish: ["infested"]

예시​

Parched​
"minecraft:mob_effect_immunity": {
"mob_effects": [
"weakness"
]
}
Polar Bear​
"minecraft:mob_effect_immunity": {
"mob_effects": [
"freezing"
]
}
Silverfish​
"minecraft:mob_effect_immunity": {
"mob_effects": [
"infested"
]
}
Slime​
"minecraft:mob_effect_immunity": {
"mob_effects": [
"oozing"
]
}

minecraft:movement​

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

엔티티의 기본 이동 속도를 정의한다.

Defines the base movement speed of an entity. Typical values: creeper (0.2), cow (0.25), zombie baby (0.35).

Movement Properties​

이름기본값유형설명
maxnot setDecimal number이 엔티티가 가질 수 있는 최대 이동 속도.
valuenot setDecimal number기본 이동 속도 값. 높을수록 빠르게 움직인다. 숫자 하나 또는 range_min과 range_max를 가진 범위 객체를 쓸 수 있다.
value (as Object)not setValue item

Value​

Value Properties​

JSON path: value

이름기본값유형설명
range_maxnot setDecimal number최대 이동 속도.
range_minnot setDecimal number최소 이동 속도.

예시​

minecraft:movement.amphibious​

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

물에서는 헤엄치고 땅에서는 걷는 이동 제어다.

This move control allows the mob to swim in water and walk on land.

Entity Amphibious Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).

예시​

Frog​
"minecraft:movement.amphibious": {}

minecraft:movement.basic​

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

엔티티의 기본 이동을 담당하는 컴포넌트다.

This component accents the movement of an entity.

Entity Basic Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).

예시​

Bat​
"minecraft:movement.basic": {}

minecraft:movement.dolphin​

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

돌고래처럼 움직이게 하는 이동 제어다. 현재 게임에서 쓰이지 않는다.

This component can control how dolphins move, in a dolphin-esque style.

[!Note] This movement is not currently being used in game.

minecraft:movement.fly​

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

몹이 날아서 움직이게 하는 이동 제어다.

This move control causes the mob to fly.

Entity Fly Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).
speed_when_turning0.2Decimal number급하게 방향을 틀어야 할 때 몹이 맞추는 속도.
start_speed0.1Decimal number몹이 활공을 시작할 때의 초기 속도.

예시​

Parrot​
"minecraft:movement.fly": {}

minecraft:movement.generic​

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

몹이 날고, 헤엄치고, 오르는 등 다양하게 움직이게 하는 이동 제어다.

This move control allows a mob to fly, swim, climb, etc.

Entity Generic Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).

예시​

Drowned​
"minecraft:movement.generic": {}

minecraft:movement.glide​

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

활공하며 나는 몹의 이동 제어다.

Move control for a flying mob that has a gliding movement.

Entity Glide Movement Properties​

이름기본값유형설명예시 값
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).
speed_when_turning0.2Decimal number급하게 방향을 틀어야 할 때 몹이 맞추는 속도.Phantom: 0.2
start_speed0.10000000149011612Decimal number몹이 활공을 시작할 때의 초기 속도.Phantom: 0.1

예시​

Phantom​
"minecraft:movement.glide": {
"speed_when_turning": 0.2,
"start_speed": 0.1
}

minecraft:movement.hover​

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

몹이 공중에 떠 있게 하는 이동 제어다.

This move control causes the mob to hover.

Entity Hover Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).

예시​

Allay​
"minecraft:movement.hover": {}

minecraft:movement.jump​

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

몹이 점프 사이에 지연을 두고 뛰며 움직이게 하는 이동 제어다.

Move control that causes the mob to jump as it moves with a specified delay between jumps.

[!Note] In order to follow targets, this entity must have the minecraft:behavior.slime_attack component, otherwise the entity will jump in the direction it's looking in.

Entity Jump Movement Properties​

이름기본값유형설명
jump_delay{"max":0,"min":0}Jump Delay item슬라임 이동 제어를 쓸 때 착지 후 지연 시간(초). 숫자 하나, [min, max] 배열, range_min과 range_max를 가진 객체를 쓸 수 있다.
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).

Legacy FloatRange​

Legacy FloatRange Properties​

JSON path: jump_delay

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

예시​

minecraft:movement.skip​

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

몹이 깡충깡충 뛰며 움직이게 하는 이동 제어다.

This move control causes the mob to hop as it moves.

Entity Skip Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).

예시​

minecraft:movement.sound_distance_offset​

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

이동 소리를 낼 다음 걸음 거리를 정하는 오프셋을 설정한다.

Sets the offset used to determine the next step distance for playing a movement sound.

Movement Sound Distance Offset Properties​

이름기본값유형설명
value1Decimal number값이 클수록 이동 소리가 덜 자주 재생된다.

minecraft:movement.sway​

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

몹이 좌우로 흔들리며 헤엄치는 듯 움직이게 하는 이동 제어다.

This move control causes the mob to sway side to side giving the impression it is swimming.

Entity Sway Movement Properties​

이름기본값유형설명
max_turn30Decimal number틱당 몹이 돌 수 있는 최대 각도(도).
sway_amplitude0.05000000074505806Decimal number흔들림 이동의 세기.
sway_frequency0.5Decimal number흔들림 이동의 빈도에 곱하는 배수.

예시​

Elder Guardian​
"minecraft:movement.sway": {}

minecraft:nameable​

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

이름표 등으로 엔티티에 이름을 붙일 수 있게 한다.

Allows this entity to be named (e.g. using a name tag).

Nameable Properties​

이름기본값유형설명
allow_name_tag_renamingtrueBoolean true/falsetrue이면 이름표로 이 엔티티의 이름을 바꿀 수 있다.
always_showfalseBoolean true/falsetrue이면 이름이 항상 표시된다.
default_triggernot setString엔티티가 이름을 얻을 때 실행할 트리거.
name_actionsnot setArray of Name Actions items이 엔티티의 특별한 이름과, 엔티티가 그 이름을 얻었을 때 호출할 이벤트를 설명한다.

Name Actions​

Describes the special names for this entity and the events to call when the entity acquires those names.

Name Actions Properties​

JSON path: name_actions

이름기본값유형설명
name_filternot setString'on_named'에 정의한 이벤트를 발생시키는 특별한 이름 목록.
on_namednot setMinecraft Event Trigger엔티티가 'name_filter'에 지정한 이름을 얻었을 때 호출할 이벤트.

예시​

Allay​
"minecraft:nameable": {}

minecraft:navigation.climb​

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

거미처럼 수직 벽을 포함한 경로를 만들게 한다.

Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.

Climb Navigation Properties​

이름기본값유형설명예시 값
avoid_damage_blocksfalseBoolean true/false경로를 찾을 때 피해를 주는 블록을 피하도록 길 찾기에 알린다.
avoid_portalsfalseBoolean true/false경로를 찾을 때 (네더 포털 같은) 포털을 피하도록 길 찾기에 알린다.
avoid_sunfalseBoolean true/false경로를 만들 때 햇빛에 노출된 칸을 피할지 정한다.
avoid_waterfalseBoolean true/false경로를 만들 때 물을 피하도록 길 찾기에 알린다.
blocks_to_avoidnot setArray of strings경로를 만들 때 피할 블록을 길 찾기에 알린다.
can_breachfalseBoolean true/false(돌고래처럼) 물 밖으로 뛰어오를 수 있는지 길 찾기에 알린다.
can_break_doorsfalseBoolean true/false닫힌 문을 부수고 지나가는 경로를 만들 수 있다고 길 찾기에 알린다.
can_jumptrueBoolean true/false블록 위로 뛰어오를 수 있는지 길 찾기에 알린다.
can_open_doorsfalseBoolean true/falseAI가 문을 열 것이라 가정하고 닫힌 문을 지나는 경로를 만들 수 있다고 길 찾기에 알린다.
can_open_iron_doorsfalseBoolean true/falseAI가 문을 열 것이라 가정하고 닫힌 철문을 지나는 경로를 만들 수 있다고 길 찾기에 알린다.
can_pass_doorstrueBoolean true/false문을 지나는 경로를 만들 수 있는지 여부.
can_path_from_airfalseBoolean true/false공중에 있을 때도 경로 탐색을 시작할 수 있다고 길 찾기에 알린다.
can_path_over_lavafalseBoolean true/false용암 표면 위를 이동할 수 있는지 길 찾기에 알린다.
can_path_over_waterfalseBoolean true/false물 표면 위를 이동할 수 있는지 길 찾기에 알린다.Cave Spider: true
can_sinktrueBoolean true/false물속에서 중력에 끌려 내려가는지 길 찾기에 알린다.
can_swimfalseBoolean true/false물속 어디든 경로를 만들 수 있는지, 그 경로에서 수영 애니메이션을 재생하는지 길 찾기에 알린다.
can_walktrueBoolean true/false물 밖 지면 위를 걸을 수 있는지 길 찾기에 알린다.
can_walk_in_lavafalseBoolean true/false지면을 걷듯 용암 속을 이동할 수 있는지 길 찾기에 알린다.
is_amphibiousfalseBoolean true/false물속 바닥 위를 걸을 수 있는지 길 찾기에 알린다.

예시​

Cave Spider​
"minecraft:navigation.climb": {
"can_path_over_water": true
}

minecraft:navigation.float​

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

가스트처럼 공중을 떠다니며 경로를 만들게 한다.

Allows this entity to generate paths by flying around the air like the regular Ghast.

Float Navigation Properties​

이름기본값유형설명예시 값
avoid_damage_blocksfalseBoolean true/false경로를 찾을 때 피해를 주는 블록을 피하도록 길 찾기에 알린다.
avoid_portalsfalseBoolean true/false경로를 찾을 때 (네더 포털 같은) 포털을 피하도록 길 찾기에 알린다.
avoid_sunfalseBoolean true/false경로를 만들 때 햇빛에 노출된 칸을 피할지 정한다.
avoid_waterfalseBoolean true/false경로를 만들 때 물을 피하도록 길 찾기에 알린다.
blocks_to_avoidnot setArray of strings경로를 만들 때 피할 블록을 길 찾기에 알린다.
can_breachfalseBoolean true/false(돌고래처럼) 물 밖으로 뛰어오를 수 있는지 길 찾기에 알린다.
can_break_doorsfalseBoolean true/false닫힌 문을 부수고 지나가는 경로를 만들 수 있다고 길 찾기에 알린다.
can_jumptrueBoolean true/false블록 위로 뛰어오를 수 있는지 길 찾기에 알린다.
can_open_doorsfalseBoolean true/falseAI가 문을 열 것이라 가정하고 닫힌 문을 지나는 경로를 만들 수 있다고 길 찾기에 알린다.
can_open_iron_doorsfalseBoolean true/falseAI가 문을 열 것이라 가정하고 닫힌 철문을 지나는 경로를 만들 수 있다고 길 찾기에 알린다.
can_pass_doorstrueBoolean true/false문을 지나는 경로를 만들 수 있는지 여부.
can_path_from_airfalseBoolean true/false공중에 있을 때도 경로 탐색을 시작할 수 있다고 길 찾기에 알린다.
can_path_over_lavafalseBoolean true/false용암 표면 위를 이동할 수 있는지 길 찾기에 알린다.
can_path_over_waterfalseBoolean true/false물 표면 위를 이동할 수 있는지 길 찾기에 알린다.Bat: true
can_sinktrueBoolean true/false물속에서 중력에 끌려 내려가는지 길 찾기에 알린다.
can_swimfalseBoolean true/false물속 어디든 경로를 만들 수 있는지, 그 경로에서 수영 애니메이션을 재생하는지 길 찾기에 알린다.
can_walktrueBoolean true/false물 밖 지면 위를 걸을 수 있는지 길 찾기에 알린다.
can_walk_in_lavafalseBoolean true/false지면을 걷듯 용암 속을 이동할 수 있는지 길 찾기에 알린다.
is_amphibiousfalseBoolean true/false물속 바닥 위를 걸을 수 있는지 길 찾기에 알린다.
using_door_annotationnot setStringBat: true

예시​

Bat​
"minecraft:navigation.float": {
"can_path_over_water": true,
"using_door_annotation": true
}

minecraft:navigation.fly​

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

앵무새처럼 공중에서 경로를 만들게 한다.

Allows this entity to generate paths in the air like the vanilla Parrots do.

Fly Navigation Properties​

이름기본값유형설명예시 값
avoid_damage_blocksfalseBoolean true/false경로를 찾을 때 피해를 주는 블록을 피하도록 길 찾기에 알린다.
avoid_portalsfalseBoolean true/false경로를 찾을 때 (네더 포털 같은) 포털을 피하도록 길 찾기에 알린다.
avoid_sunfalseBoolean true/false경로를 만들 때 햇빛에 노출된 칸을 피할지 정한다.
avoid_waterfalseBoolean true/false경로를 만들 때 물을 피하도록 길 찾기에 알린다.
blocks_to_avoidnot setArray of strings경로를 만들 때 피할 블록을 길 찾기에 알린다.
can_breachfalseBoolean true/false(돌고래처럼) 물 밖으로 뛰어오를 수 있는지 길 찾기에 알린다.
can_break_doorsfalseBoolean true/false닫힌 문을 부수고 지나가는 경로를 만들 수 있다고 길 찾기에 알린다.
can_jumptrueBoolean true/false블록 위로 뛰어오를 수 있는지 길 찾기에 알린다.
can_open_doorsfalseBoolean true/falseAI가 문을 열 것이라 가정하고 닫힌 문을 지나는 경로를 만들 수 있다고 길 찾기에 알린다.
can_open_iron_doorsfalseBoolean true/falseAI가 문을 열 것이라 가정하고 닫힌 철문을 지나는 경로를 만들 수 있다고 길 찾기에 알린다.
can_pass_doorstrueBoolean true/false문을 지나는 경로를 만들 수 있는지 여부.
can_path_from_airfalseBoolean true/false공중에 있을 때도 경로 탐색을 시작할 수 있다고 길 찾기에 알린다.Parrot: true
can_path_over_lavafalseBoolean true/false용암 표면 위를 이동할 수 있는지 길 찾기에 알린다.
can_path_over_waterfalseBoolean true/false물 표면 위를 이동할 수 있는지 길 찾기에 알린다.Parrot: true
can_sinktrueBoolean true/false물속에서 중력에 끌려 내려가는지 길 찾기에 알린다.
can_swimfalseBoolean true/false물속 어디든 경로를 만들 수 있는지, 그 경로에서 수영 애니메이션을 재생하는지 길 찾기에 알린다.
can_walktrueBoolean true/false물 밖 지면 위를 걸을 수 있는지 길 찾기에 알린다.
can_walk_in_lavafalseBoolean true/false지면을 걷듯 용암 속을 이동할 수 있는지 길 찾기에 알린다.
is_amphibiousfalseBoolean true/false물속 바닥 위를 걸을 수 있는지 길 찾기에 알린다.

예시​

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