엔티티 컴포넌트 레퍼런스 (2/23)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 컴포넌트 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:annotation.break_door
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_annotation_break_door.md)
엔티티가 문을 부술 수 있게 한다. 내비게이션의 can_break_doors가 true여야 한다.
Allows an entity to break doors, assuming that that flags set up for the component to use in navigation.
[!Note] Requires the entity's
navigationcomponent to have the parametercan_break_doorsset totrue.
Break doors annotation Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| break_time | 12 | Integer number | 문을 부수는 데 필요한 시간(초). |
| min_difficulty | hard | Min Difficulty choices | 이 엔티티가 문을 부수려면 월드가 가져야 하는 최소 난이도. |
Min Difficulty choices
| 값 | 제목 | 설명 |
|---|---|---|
| easy | Easy | |
| hard | Hard | |
| normal | Normal | |
| peaceful | Peaceful |
예시
Drowned
"minecraft:annotation.break_door": {}
minecraft:annotation.open_door
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_annotation_open_door.md)
엔티티가 문을 열 수 있게 한다. 내비게이션의 can_open_doors가 true여야 한다.
Allows the entity to open doors.
[!Note] Requires the entity's
navigationcomponent to have the parametercan_open_doorsset totrue.
예시
minecraft:apply_knockback_rules
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_apply_knockback_rules.md)
엔티티가 넉백을 가하는 방식을 정의한다.
Defines how an entity applies knockback.
[!Note] Released out of beta in format version 1.26.30. The preset field
extra_knockback_approachcontrols how knockback from enchantments, sprinting, and swimming combines with the preset's power (reapply_defaultpreserves the prior behavior;multiplymultiplies the preset's power by the extra-knockback factor).
[!Note] This item requires a format version of at least 1.26.30.
Entity Apply Knockback Rules Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| presets | [] | Array of Presets items | 엔티티에 넉백을 적용하는 방식을 정의하는 규칙 인스턴스의 배열. | Drowned: [{"horizontal_power":0.6,"vertical_power":-0.6,"vertical_velocity_cap":-0.4,"check_if_target_is_immersed_in_water":true}], Egg: [{"vertical_power":0.1,"vertical_velocity_cap":0.1}], Iron Golem: [{"horizontal_power":0.52,"vertical_power":0.39,"vertical_velocity_cap":0.8}] |
Entity Apply Knockback Rules Instance
Intance of rules definition.
Entity Apply Knockback Rules Instance Properties
JSON path: presets
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| check_if_target_is_immersed_in_water | false | Boolean true/false | 넉백 규칙이 적용되려면 대상이 완전히 물에 잠겨 있어야 하는지 여부. |
| extra_knockback_approach | reapply_default | Extra Knockback Approach choices | 인챈트나 달리기로 인한 추가 넉백을 합치는 방식을 정의한다. "reapply_default"는 기본 넉백 매개변수로 넉백을 다시 적용한다. |
| filter (Filter) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filter item | 이 넉백 규칙의 영향을 받을 엔티티 종류에 대한 필터. |
| filter (Alternate 1) | not set | Object | |
| horizontal_power | 1 | Decimal number | 대상을 뒤로 날려 보내는 힘. |
| knockback_mode | relative_horizontal | Knockback Mode choices | 대상에게 넉백을 적용하는 방식을 정의한다. "relative_horizontal"은 공격자에서 대상으로 향하는 수평 방향으로 넉백을 적용한다. |
| scale_with_damage | false | Boolean true/false | 피해량의 제곱에 반비례하여 넉백 크기에 적용하는 배율. |
| slowdown_scale | 0.5 | Decimal number | 넉백을 적용하기 전에 대상의 속도에 곱하는 배율. 값은 1 이하여야 한다. |
| vertical_power | 0.4000000059604645 | Decimal number | 대상을 위로 날려 보내는 힘. |
| vertical_velocity_cap | 0.4000000059604645 | Decimal number | 대상의 넉백 규칙을 평가한 뒤 허용되는 최대 Y 속도. |
extra_knockback_approach
Defines the approach for combining extra knockback from enchantments or sprinting: - "reapply_default": Reapplies knockback again with default knockback parameters, i.e. values not defined by this component. - "multiply_reduced": Multiplies the extra knockback with the base knockback and a reduction factor, and adds it to the base knockback.
knockback_mode
Defines how knockback is applied to the target: - "relative_horizontal": Applies knockback along the horizontal direction from the attacker to the target. - "hit_direction": Applies knockback based on the hit direction and the point of impact (e.g. hits to the bottom of the entity or from below push it upward, hits on the left side of the entity push it to the right).
Extra Knockback Approach choices
| 값 | 제목 | 설명 |
|---|---|---|
| multiply_reduced | Multiply reduced | |
| reapply_default | Reapply default |
Filter
Filter Properties
JSON path: presets > filter
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Knockback Mode choices
| 값 | 제목 | 설명 |
|---|---|---|
| hit_direction | Hit direction | |
| relative_horizontal | Relative horizontal |
예시
Drowned
"minecraft:apply_knockback_rules": {
"presets": [
{
"horizontal_power": 0.6,
"vertical_power": -0.6,
"vertical_velocity_cap": -0.4,
"check_if_target_is_immersed_in_water": true
}
]
}
Egg
"minecraft:apply_knockback_rules": {
"presets": [
{
"vertical_power": 0.1,
"vertical_velocity_cap": 0.1
}
]
}
Iron Golem
"minecraft:apply_knockback_rules": {
"presets": [
{
"horizontal_power": 0.52,
"vertical_power": 0.39,
"vertical_velocity_cap": 0.8
}
]
}
Player
"minecraft:apply_knockback_rules": {
"presets": [
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "bouncy"
},
"horizontal_power": 0.165,
"vertical_power": 0.105,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "regular"
},
"horizontal_power": 0.165,
"vertical_power": 0.105,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "slow_bouncy"
},
"horizontal_power": 0.165,
"vertical_power": 0.24,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "slow_flat"
},
"horizontal_power": 0.165,
"vertical_power": 0.105,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "fast_flat"
},
"horizontal_power": 0.365,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "light"
},
"horizontal_power": 0.165,
"vertical_power": 0.18,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "fast_sliding"
},
"horizontal_power": 0.265,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "slow_sliding"
},
"horizontal_power": 0.165,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "sticky"
},
"horizontal_power": 0.165,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "high_resistance"
},
"horizontal_power": 0.165,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "explosive"
},
"horizontal_power": 0.165,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "hot"
},
"horizontal_power": 0.165,
"vertical_power": 0.105,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
},
{
"filter": {
"test": "enum_property",
"subject": "other",
"domain": "minecraft:sulfur_cube_archetype",
"value": "cold"
},
"horizontal_power": 0.265,
"vertical_power": 0.09,
"vertical_velocity_cap": 8,
"slowdown_scale": 1,
"scale_with_damage": true,
"knockback_mode": "hit_direction",
"extra_knockback_approach": "multiply_reduced"
}
]
}
minecraft:apply_knockback_rules_instance
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_apply_knockback_rules_instance.md)
넉백 규칙 정의의 인스턴스다.
Intance of rules definition.
Entity Apply Knockback Rules Instance Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| check_if_target_is_immersed_in_water | false | Boolean true/false | 넉백 규칙이 적용되려면 대상이 완전히 물에 잠겨 있어야 하는지 여부. |
| extra_knockback_approach | reapply_default | Extra Knockback Approach choices | 인챈트나 달리기로 인한 추가 넉백을 합치는 방식을 정의한다. "reapply_default"는 기본 넉백 매개변수로 넉백을 다시 적용한다. |
| filter (Filter) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filter item | 이 넉백 규칙의 영향을 받을 엔티티 종류에 대한 필터. |
| filter (Alternate 1) | not set | Object | |
| horizontal_power | 1 | Decimal number | 대상을 뒤로 날려 보내는 힘. |
| knockback_mode | relative_horizontal | Knockback Mode choices | 대상에게 넉백을 적용하는 방식을 정의한다. "relative_horizontal"은 공격자에서 대상으로 향하는 수평 방향으로 넉백을 적용한다. |
| scale_with_damage | false | Boolean true/false | 피해량의 제곱에 반비례하여 넉백 크기에 적용하는 배율. |
| slowdown_scale | 0.5 | Decimal number | 넉백을 적용하기 전에 대상의 속도에 곱하는 배율. 값은 1 이하여야 한다. |
| vertical_power | 0.4000000059604645 | Decimal number | 대상을 위로 날려 보내는 힘. |
| vertical_velocity_cap | 0.4000000059604645 | Decimal number | 대상의 넉백 규칙을 평가한 뒤 허용되는 최대 Y 속도. |
extra_knockback_approach
Defines the approach for combining extra knockback from enchantments or sprinting: - "reapply_default": Reapplies knockback again with default knockback parameters, i.e. values not defined by this component. - "multiply_reduced": Multiplies the extra knockback with the base knockback and a reduction factor, and adds it to the base knockback.
knockback_mode
Defines how knockback is applied to the target: - "relative_horizontal": Applies knockback along the horizontal direction from the attacker to the target. - "hit_direction": Applies knockback based on the hit direction and the point of impact (e.g. hits to the bottom of the entity or from below push it upward, hits on the left side of the entity push it to the right).
Extra Knockback Approach choices
| 값 | 제목 | 설명 |
|---|---|---|
| multiply_reduced | Multiply reduced | |
| reapply_default | Reapply default |
Filter
Filter Properties
JSON path: filter
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Knockback Mode choices
| 값 | 제목 | 설명 |
|---|---|---|
| hit_direction | Hit direction | |
| relative_horizontal | Relative horizontal |
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |