본문으로 건너뛰기

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

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

minecraft:rideable​

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

엔티티를 탈 수 있게 한다.

This entity can be ridden.

Entity Rideable Properties​

이름기본값유형설명예시 값
controlling_seat0Integer number엔티티의 운전자를 지정하는 좌석. "minecraft:behavior.controlled_by_player" 목표를 가진 엔티티는 이 필드를 무시하고 어느 좌석에 앉은 플레이어에게든 제어권을 준다.
crouching_skip_interacttrueBoolean true/falsetrue이면 상호작용하는 엔티티가 웅크리고 있을 때 이 엔티티와 상호작용할 수 없다.Llama: true
dismount_modedefaultDismount Mode choices이 엔티티에서 내릴 때 탑승자가 놓이는 위치를 정의한다. "default"는 엔티티 주변의 유효한 지면 위치에 놓이고, 없으면 엔티티 충돌 상자 중앙에 놓인다.Cushion: "on_top_center"
family_types[]Array of strings이 엔티티를 탈 수 있는 엔티티 목록.Chicken: ["baby_undead"], Llama: ["player"]
interact_textString터치스크린 조작 시 플레이어가 엔티티와 상호작용할 수 있을 때 표시할 텍스트.Cushion: "action.interact.ride.cushion", Llama: "action.interact.mount", "action.interact.ride.horse"
on_rider_enter_eventMinecraft Event Reference엔티티가 탑승하기 시작할 때 소유 엔티티에서 실행할 이벤트. 형식 버전 1.21.80 이상이 필요하다.
on_rider_exit_eventMinecraft Event Reference엔티티가 탑승을 멈출 때 소유 엔티티에서 실행할 이벤트. 형식 버전 1.21.80 이상이 필요하다.
passenger_max_width0Decimal number탑승자가 될 수 있는 몹의 최대 너비. 0이면 이 매개변수를 무시한다.
prioritynot setInteger number이 필드는 오래된 데이터에 있을 수 있으나 "minecraft:rideable"에서는 쓰이지 않는다.
pull_in_entitiesfalseBoolean true/falsetrue이면 이 엔티티가 지정한 "family_types"에 맞는 엔티티를 빈 좌석으로 끌어들인다.Minecart: true
rider_can_interactfalseBoolean true/falsetrue이면 탑승자가 바라볼 때 이 엔티티가 선택된다.
seat_count1Integer number이 엔티티에 동시에 탈 수 있는 엔티티 수.Chicken: 1
seats (Entity SeatDescription)[]Array of Seats items이 엔티티에 타는 엔티티의 위치 목록과 위치별 탑승자 수.Chicken: {"position":[0,0.48,0]}, Cow: {"position":[0,1,0]}, {"position":[0,1.15,0]}
seats (as Object)not setObject
pulls_in_entitiesnot setBoolean true/false

dismount_mode​

Defines where riders are placed when dismounting this entity: - "default", riders are placed on a valid ground position around the entity, or at the center of the entity's collision box if none is found. - "on_top_center", riders are placed at the center of the top of the entity's collision box. - "look_direction", riders are placed at the center of the top neighboring block in the riders look direction on a block that is not lava. This item requires a format version of at least 1.21.80.

pull_in_entities​

If true, this entity will pull entities matching the specified "family_types" into any available seats. Entities that are leashed will only be pulled in if their distance to their leash holder is less than the "hard_distance" defined in their own "minecraft:leashable" component.

Dismount Mode choices​

값제목설명
defaultDefault
on_top_centerOn Top Center
look_directionLook direction

Entity SeatDescription​

Entity SeatDescription Properties​

JSON path: seats

이름기본값유형설명
camera_relax_distance_smoothingnot setDecimal number장애물에 밀린 뒤 카메라가 전체 거리로 다시 이완할 때 이 값으로 기본 움직임을 덮어쓸 수 있다.
lock_rider_rotation181Decimal number이 엔티티에 타는 동안 탑승자가 돌릴 수 있는 각도(도). 제한이 없으면 이 속성을 생략한다.
max_rider_countnot setInteger number이 좌석이 유효하기 위해 이 엔티티에 탈 수 있는 최대 탑승자 수를 정의한다.
min_rider_count0Integer number이 좌석을 쓰기 위해 이 엔티티에 타 있어야 하는 최소 탑승자 수를 정의한다.
position[0, 0, 0]Array of numbers이 엔티티 위치 기준 이 좌석의 위치.
position (Position)not setPosition (Position) item
rotate_rider_by0Keyed set of strings탑승자를 회전시킬 오프셋.
rotate_rider_by (as Named set of objects)not setKey/item pairs of Rotate Rider By (Legacy Molang Expression) items
rotate_rider_by (as Decimal number)not setDecimal number
third_person_camera_radiusnot setDecimal number이 좌석에 앉은 플레이어에게 third_person과 third_person_front 카메라가 쓸 별도 반경. 음수는 무시한다. 값은 1 이상 64 이하여야 한다.
camera_relax_distance_smoothing​

When the camera relaxes to the full distance after being pushed by an obstacle, this value can override the default movement. This value describes the stiffness of the spring that pushes the camera back out. Negative values are ignored. Value must be >= 1. Value must be <= 32.

Position (Position)​
Position Properties​

JSON path: seats > position

이름기본값유형설명
x0Decimal number
y0Decimal number
z0Decimal number
Legacy Molang Expression​
Legacy Molang Expression Properties​

JSON path: seats > rotate_rider_by

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

예시​

Chicken​
"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"baby_undead"
],
"seats": {
"position": [
0,
0.48,
0
]
}
}
Cow​

At /minecraft:entity/component_groups/minecraft:cow_baby/minecraft:rideable/:

"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"baby_undead"
],
"seats": {
"position": [
0,
1,
0
]
}
}

At /minecraft:entity/component_groups/minecraft:cow_adult/minecraft:rideable/:

"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"baby_undead"
],
"seats": {
"position": [
0,
1.15,
0
]
}
}
Cushion​
"minecraft:rideable": {
"seat_count": 1,
"interact_text": "action.interact.ride.cushion",
"dismount_mode": "on_top_center",
"seats": [
{
"position": [
0,
0.0625,
0
],
"rotate_rider_by": -90
}
]
}
Llama​

At /minecraft:entity/component_groups/minecraft:llama_wild/minecraft:rideable/:

"minecraft:rideable": {
"seat_count": 1,
"family_types": [
"player"
],
"interact_text": "action.interact.mount",
"seats": [
{
"position": [
0,
1.17,
-0.3
]
}
]
}

At /minecraft:entity/component_groups/minecraft:llama_tamed/minecraft:rideable/:

"minecraft:rideable": {
"seat_count": 1,
"crouching_skip_interact": true,
"family_types": [
"player"
],
"interact_text": "action.interact.ride.horse",
"seats": [
{
"position": [
0,
1.17,
-0.3
]
}
]
}
Minecart​
"minecraft:rideable": {
"interact_text": "action.interact.ride.minecart",
"pull_in_entities": true,
"seat_count": 1,
"seats": {
"position": [
0,
-0.2,
0
]
}
}

minecraft:rotation_axis_aligned​

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

엔티티가 현재 방향에서 가장 가까운 기준 방향에 맞게 자동으로 회전하게 한다.

Causes the entity to automatically rotate to align with the nearest cardinal direction based on its current facing direction. Combining this with the "minecraft:body_rotation_blocked" component will cause the entity's body to align with the nearest cardinal direction and remain fixed in that orientation, regardless of changes in its facing direction.

예시​

minecraft:rotation_locked_to_vehicle​

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

엔티티의 회전을 탈것이 향한 방향에 맞춘다. 1.21.130에서 도입되었다.

Causes the entity's rotation to match their vehicle's facing direction.

[!Note] Introduced in 1.21.130 as a rename of minecraft:body_rotation_locked_to_vehicle. Locks both the entity's body rotation and overall rotation to its mounted vehicle's facing direction.

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

예시​

Drowned​
"minecraft:rotation_locked_to_vehicle": {}

minecraft:scaffolding_climber​

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

더 이상 쓰이지 않는(deprecated) 타입이다. 플레이어가 비계 블록을 감지하고 움직이게 한다.

[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.

Allows the player to detect and manuever on the scaffolding block.

[!Note] minecraft:scaffolding_climber has been deprecated and replaced for minecraft:block_climber.

minecraft:scale​

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

엔티티의 시각적 크기 배율을 정한다. 1.0이 기본 크기다.

Sets the entity's visual size multiplier. A value of 1.0 means normal size, 0.5 is half size (commonly used for baby mobs), and values above 1.0 make the entity larger.

Scale Properties​

이름기본값유형설명
value1Decimal number시각적 크기 배율. 1.0 = 보통, 0.5 = 절반(새끼), 2.0 = 두 배.

예시​

minecraft:scale_by_age​

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

엔티티의 나이에 따른 크기 보간을 정의한다.

Defines the entity's size interpolation based on the entity's age.

Entity Scale By Age Properties​

이름기본값유형설명
end_scale1Decimal number완전히 자랐을 때 엔티티의 최종 크기 배율.
start_scale1Decimal number갓 태어난 엔티티의 초기 크기 배율.

minecraft:scheduler​

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

하루 중 특정 시각에 몹 이벤트를 예약 실행한다.

Fires off scheduled mob events at time of day events.

Scheduler Properties​

이름기본값유형설명
max_delay_secsnot setDecimal number
min_delay_secsnot setDecimal number
scheduled_eventsnot setArray of objects조건이 필터 기준과 맞을 때 실행되는 트리거 목록. 이벤트 객체의 배열이나 하나의 이벤트 객체를 쓸 수 있다.
scheduled_events (as Object)not setObject

예시​

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