엔티티 컴포넌트 레퍼런스 (9/23)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 컴포넌트 문서를 옮긴 쪽이다. 설명은 한국어로 옮기고 ID, 속성 이름, 유형, 기본값, JSON은 원문 그대로 두었다. 전체 목록은 색인에 있다.
minecraft:ignore_cannot_be_attacked
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_ignore_cannot_be_attacked.md)
cannot_be_attacked를 가진 엔티티 중 필터를 만족하는 것에는 그 효과를 무시하게 한다.
Allows the owner entity to ignore the "minecraft:cannot_be_attacked" component on entities that fulfill the filter.
[!Note] This item requires a format version of at least 1.21.50.
Entity Ignore Cannot Be Attacked Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | 소유 엔티티가 공격할 수 있는 예외 엔티티를 정의한다. 공격 대상이 될 엔티티는 subject "other"다. |
| filters (Alternate 1) | not set | Object |
filters
Defines which entities are exceptions and are allowed to be attacked by the owner entity, potentially attacked entity is subject "other". If this is not specified then all attacks by the owner are allowed.
Filters
Filters Properties
JSON path: filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
minecraft:input_air_controlled
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_input_air_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.
[!Note] This item requires a format version of at least 1.21.90.
Input Air Controlled Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| backwards_movement_modifier | 0.5 | Decimal number | 뒤로 갈 때의 속도를 조정한다. | Happy Ghast: 0.5 |
| strafe_speed_modifier | 0.4 | Decimal number | 옆걸음(스트레이프) 속도를 조정한다. | Happy Ghast: 1 |
예시
Happy Ghast
"minecraft:input_air_controlled": {
"strafe_speed_modifier": 1,
"backwards_movement_modifier": 0.5
}
minecraft:input_ground_controlled
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_input_ground_controlled.md)
탑승 가능한 엔티티를 WASD로 조종하게 한다.
When configured as a rideable entity, the entity will be controlled using WASD controls. Beginning with 1.19.50 the default auto step height for rideable entities is half a block. Consider adding the "minecraft:variable_max_auto_step" component to increase it.
예시
minecraft:inside_block_notifier
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_inside_block_notifier.md)
엔티티가 나열한 블록 안에 있는지 확인한다.
Verifies whether the entity is inside any of the listed blocks.
Inside Block Notifier Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| block_list | not set | Array of Block List items | 엔티티가 그 안에 있는지 감시할, 특정 블록 상태를 가진 블록 목록. | Boat: [{"block":{"name":"minecraft:bubble_column","states":{"drag_down":true}},"entered_block_event":{"event":"minecraft:entered_bubble_column_down","target":"self"},"exited_block_event":{"event":"minecraft:exited_bubble_column","target":"self"}},{"block":{"name":"minecraft:bubble_column","states":{"drag_down":false}},"entered_block_event":{"event":"minecraft:entered_bubble_column_up","target":"self"},"exited_block_event":{"event":"minecraft:exited_bubble_column","target":"self"}}] |
Block List
Block Entry Properties
JSON path: block_list
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| block | not set | Block item | 감시할 블록. 이름과 선택적 상태를 포함한다. |
| entered_block_event | not set | Minecraft Event Trigger | 엔티티가 블록 안으로 들어갈 때 발생시킬 이벤트. |
| exited_block_event | not set | Minecraft Event Trigger | 엔티티가 블록에서 나갈 때 발생시킬 이벤트. |
Block
Block Descriptor Properties
JSON path: block_list > block
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| name | not set | String | 블록 식별자. |
| states | not set | Keyed collection of boolean values | 일치시킬 블록 상태. |
예시
Boat
"minecraft:inside_block_notifier": {
"block_list": [
{
"block": {
"name": "minecraft:bubble_column",
"states": {
"drag_down": true
}
},
"entered_block_event": {
"event": "minecraft:entered_bubble_column_down",
"target": "self"
},
"exited_block_event": {
"event": "minecraft:exited_bubble_column",
"target": "self"
}
},
{
"block": {
"name": "minecraft:bubble_column",
"states": {
"drag_down": false
}
},
"entered_block_event": {
"event": "minecraft:entered_bubble_column_up",
"target": "self"
},
"exited_block_event": {
"event": "minecraft:exited_bubble_column",
"target": "self"
}
}
]
}
minecraft:insomnia
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_insomnia.md)
마지막으로 쉰 뒤의 시간을 재서 팬텀이 스폰될지 판단한다.
Adds a timer since last rested to see if phantoms should spawn.
Entity Insomnia Properties
| 이름 | 기본값 | 유형 | 설명 | 예시 값 |
|---|---|---|---|---|
| days_until_insomnia | 3 | Decimal number | 불면 효과가 시작되기 전까지 몹이 깨어 있어야 하는 일수. | Player: 3 |
예시
Player
"minecraft:insomnia": {
"days_until_insomnia": 3
}
minecraft:instant_despawn
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_instant_despawn.md)
엔티티를 즉시 디스폰한다.
Despawns the Actor immediately.
Entity Instant Despawn Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| remove_child_entities | false | Boolean true/false | true이면 이 엔티티와 자식 관계(예: 끈으로 묶임)로 연결된 모든 엔티티도 함께 디스폰된다. |
예시
minecraft:interact
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_interact.md)
엔티티와의 상호작용을 정의한다.
Defines interactions with this entity.
[!Note] In 1.26.0, the
swingfield on each interaction entry defaults totrue(it previously defaulted tofalse). Set it explicitly tofalseto opt out of the player's swing animation.
Entity Interact Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| cooldown | 0 | Decimal number | 엔티티와 다시 상호작용할 수 있기까지의 시간(초). |
| cooldown_after_being_attacked | 0 | Decimal number | 공격받은 뒤 엔티티와 상호작용할 수 있기까지의 시간(초). |
| drop_item_slot | not set | String | 상호작용에 성공했을 때 아이템을 빼서 떨어뜨릴 엔티티의 슬롯(있다면). |
| drop_item_y_offset | 0 | Decimal number | 아이템이 떨어지는 위치를 y 방향으로 이만큼 옮긴다. "drop_item_slot"을 지정해야 한다. |
| equip_item_slot | not set | String | 상호작용에 성공했을 때 아이템을 장착할 엔티티의 슬롯(있다면). |
| health_amount | 0 | Integer number | 이 아이템으로 상호작용할 때 엔티티가 회복하거나 잃는 체력. 음수이면 엔티티가 해를 입는다. |
| hurt_item | 0 | Integer number | 이 아이템으로 엔티티와 상호작용할 때 아이템이 입는 피해. 0이면 내구도가 줄지 않는다. |
| interact_text | not set | String | 터치스크린 조작 시 플레이어가 이 방식으로 엔티티와 상호작용할 수 있을 때 보여 줄 텍스트. |
| interactions (Entity InteractionData) | [] | Array of Interactions items | 이 엔티티의 상호작용 목록. |
| interactions (as Object) | not set | Object |
drop_item_slot
The entity's slot to remove and drop the item from, if any, upon successful interaction. Inventory slots are denoted by positive numbers. Equipment slots are denoted by 'slot.weapon.mainhand', 'slot.weapon.offhand', 'slot.armor.head', 'slot.armor.chest', 'slot.armor.legs', 'slot.armor.feet' and 'slot.armor.body'.
equip_item_slot
The entity's slot to equip the item to, if any, upon successful interaction. Inventory slots are denoted by positive numbers. Equipment slots are denoted by 'slot.weapon.mainhand', 'slot.weapon.offhand', 'slot.armor.head', 'slot.armor.chest', 'slot.armor.legs', 'slot.armor.feet' and 'slot.armor.body'.
Entity InteractionData
Entity InteractionData Properties
JSON path: interactions
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| add_items | {"table":""} | Add Items item | 상호작용에 성공했을 때 플레이어 인벤토리에 추가할 아이템이 담긴 루트 테이블. |
| admire | false | Boolean true/false | true이면 상호작용을 받은 몹이 그 뒤에 감상 동작을 시도한다. 성공하려면 몹에 Admire 컴포넌트와 Admire 목표가 있어야 한다. |
| barter | false | Boolean true/false | true이면 상호작용을 받은 몹이 그 뒤에 물물교환 동작을 시도한다. 성공하려면 몹에 Barter 컴포넌트와 Barter 목표가 있어야 한다. |
| cooldown | 0 | Decimal number | 엔티티와 다시 상호작용할 수 있기까지의 시간(초). |
| cooldown_after_being_attacked | 0 | Decimal number | 공격받은 뒤 엔티티와 상호작용할 수 있기까지의 시간(초). |
| drop_item_slot | not set | String | 상호작용에 성공했을 때 아이템을 빼서 떨어뜨릴 엔티티의 슬롯(있다면). |
| drop_item_y_offset | 0 | Decimal number | 아이템이 떨어지는 위치를 y 방향으로 이만큼 옮긴다. "drop_item_slot"을 지정해야 한다. |
| equip_item_slot | not set | String | 상호작용에 성공했을 때 아이템을 장착할 엔티티의 슬롯(있다면). |
| give_item | false | Boolean true/false | true이면 상호작용을 받은 몹이 그 뒤에 현재 주로 쓰는 손의 아이템을 상호작용 아이템으로 바꾸려 한다. |
| health_amount | 0 | Integer number | 이 아이템으로 상호작용할 때 엔티티가 회복하거나 잃는 체력. 음수이면 엔티티가 해를 입는다. |
| hurt_item | 0 | Integer number | 이 아이템으로 엔티티와 상호작용할 때 아이템이 입는 피해. 0이면 내구도가 줄지 않는다. |
| interact_text | String | 터치스크린 조작 시 플레이어가 이 방식으로 엔티티와 상호작용할 수 있을 때 보여 줄 텍스트. | |
| on_interact | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Interact item | 상호작용이 일어날 때 발생시킬 이벤트. |
| particle_on_start | {"copper_event":"none","particle_offset_towards_interactor":false,"particle_type":"none","particle_y_offset":0} | Particle On Start item | 상호작용이 시작될 때 일으킬 파티클 효과. |
| play_sounds | [] | Array of strings | 상호작용이 일어날 때 재생할 소리 목록. |
| repair_entity_item | {"amount":1,"slot":null} | Repair Entity Item item | 엔티티의 아이템 하나를 수리할 수 있게 한다. |
| spawn_entities | [] | Array of strings | 상호작용이 일어날 때 스폰할 엔티티 목록. |
| spawn_items | {"table":"","y_offset":1} | Spawn Items item | 상호작용에 성공했을 때 바닥에 떨어뜨릴 아이템이 담긴 루트 테이블. |
| swing | true | Boolean true/false | true이면 플레이어가 이 엔티티와 상호작용할 때 '휘두르기' 애니메이션을 한다. |
| take_item | false | Boolean true/false | true이면 상호작용을 받은 몹이 주 손의 아이템을 빈 아이템으로 바꾸려 하고, 그 아이템은 플레이어의 선택된 빈 슬롯으로 들어간다. |
| transform_to_item | String | 사용한 아이템이 상호작용에 성공하면 이 아이템으로 바뀐다. 형식: itemName:auxValue | |
| use_item | false | Boolean true/false | true이면 상호작용에 아이템을 사용한다. |
| vibration | entity_interact | Vibration choices | 상호작용이 일어날 때 내보낼 진동. |
drop_item_slot
The entity's slot to remove and drop the item from, if any, upon successful interaction. Inventory slots are denoted by positive numbers. Equipment slots are denoted by 'slot.weapon.mainhand', 'slot.weapon.offhand', 'slot.armor.head', 'slot.armor.chest', 'slot.armor.legs', 'slot.armor.feet' and 'slot.armor.body'.
equip_item_slot
The entity's slot to equip the item to, if any, upon successful interaction. Inventory slots are denoted by positive numbers. Equipment slots are denoted by 'slot.weapon.mainhand', 'slot.weapon.offhand', 'slot.armor.head', 'slot.armor.chest', 'slot.armor.legs', 'slot.armor.feet' and 'slot.armor.body'.
Entity AddItemsData
Entity AddItemsData Properties
JSON path: interactions > add_items
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| table | not set | String | 비헤이비어 팩 경로 기준의 루트 테이블 파일 경로. |
Entity ActorDefinitionTrigger
Triggers an entity event when specified conditions are met. Events activate component groups that change entity behavior—transforming villagers into zombie villagers, switching mobs to aggressive mode, or triggering growth stages. Combine with filters to create conditional state machines that respond to gameplay.
Entity ActorDefinitionTrigger Properties
JSON path: interactions > on_interact
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| event | String | ||
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | 필터는 데이터 객체가 사용 조건이 되는 테스트 기준을 지정할 수 있게 한다. |
| filters (Alternate 1) | not set | Object | |
| target | self | Target choices |
filters
Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.
Filters
Filters Properties
JSON path: interactions > on_interact > filters
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| domain | not set | Object | 테스트를 수행할 도메인. |
| operator | not set | Object | 'value'와 함께 적용할 비교 방식. |
| subject | not set | Object | 이 필터 테스트의 대상(subject). |
| test | not set | String | 적용할 테스트의 이름. |
| value | not set | Object | 테스트에서 비교할 값. |
Target choices
| 값 | 제목 | 설명 |
|---|---|---|
| baby | Baby | |
| block | Block | |
| damager | Damager | |
| holder | Holder | |
| item | Item | |
| other | Other | |
| parent | Parent | |
| player | Player | |
| self | Self | |
| target | Target |
Entity InteractParticleData
Entity InteractParticleData Properties
JSON path: interactions > particle_on_start
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| copper_event | none | Copper Event choices | |
| particle_offset_towards_interactor | false | Boolean true/false | 파티클이 상호작용을 한 쪽에 더 가깝게 나타나는지 여부. |
| particle_type | none | Particle Type choices | 생성할 파티클의 종류. |
| particle_y_offset | 0 | Decimal number | 파티클을 y 방향으로 이만큼 옮긴다. |
Copper Event choices
| 값 | 제목 | 설명 |
|---|---|---|
| none | None | |
| scrape | Scrape | |
| wax_off | Wax off | |
| wax_on | Wax on |
Particle Type choices
| 값 | 제목 | 설명 |
|---|---|---|
| balloongas | Balloongas | |
| bleach | Bleach | |
| blockforcefield | Blockforcefield | |
| blueflame | Blueflame | |
| breezewindexplosion | Breezewindexplosion | |
| bubble | Bubble | |
| bubblecolumndown | Bubblecolumndown | |
| bubblecolumnup | Bubblecolumnup | |
| bubblemanual | Bubblemanual | |
| campfiresmoke | Campfiresmoke | |
| campfiresmoketall | Campfiresmoketall | |
| candleflame | Candleflame | |
| carrotboost | Carrotboost | |
| coloredflame | Coloredflame | |
| conduit | Conduit | |
| creakingcrumble | Creakingcrumble | |
| crit | Crit | |
| dragonbreath | Dragonbreath | |
| dragonbreathfire | Dragonbreathfire | |
| dragonbreathtrail | Dragonbreathtrail | |
| dragondestroyblock | Dragondestroyblock | |
| driphoney | Driphoney | |
| driplava | Driplava | |
| dripwater | Dripwater | |
| dustplume | Dustplume | |
| electricspark | Electricspark | |
| enchantingtable | Enchantingtable | |
| endrod | Endrod | |
| evaporation | Evaporation | |
| explode | Explode | |
| eyeblossomclose | Eyeblossomclose | |
| eyeblossomopen | Eyeblossomopen | |
| fallingborderdust | Fallingborderdust | |
| fallingdust | Fallingdust | |
| fireworks | Fireworks | |
| fireworksoverlay | Fireworksoverlay | |
| fireworksstarter | Fireworksstarter | |
| flame | Flame | |
| food | Food | |
| greenflame | Greenflame | |
| heart | Heart | |
| hugeexplosion | Hugeexplosion | |
| iceballbreak | Iceballbreak | |
| iconcrack | Iconcrack | |
| ink | Ink | |
| largeexplode | Largeexplode | |
| largesmoke | Largesmoke | |
| lava | Lava | |
| mobappearance | Mobappearance | |
| mobflame | Mobflame | |
| mobspell | Mobspell | |
| mobspellambient | Mobspellambient | |
| mobspellinstantaneous | Mobspellinstantaneous | |
| myceliumdust | Myceliumdust | |
| none | None | |
| note | Note | |
| obsidiantear | Obsidiantear | |
| orangepoplarleaves | Orangepoplarleaves | |
| paleoakleaves | Paleoakleaves | |
| pausemobgrowth | Pausemobgrowth | |
| portal | Portal | |
| portalreverse | Portalreverse | |
| rainsplash | Rainsplash | |
| reddust | Reddust | |
| redpoplarleaves | Redpoplarleaves | |
| resetmobgrowth | Resetmobgrowth | |
| risingborderdust | Risingborderdust | |
| sculksoul | Sculksoul | |
| shriek | Shriek | |
| shulkerbullet | Shulkerbullet | |
| slime | Slime | |
| smoke | Smoke | |
| sneeze | Sneeze | |
| snowballpoof | Snowballpoof | |
| snowflake | Snowflake | |
| sonicexplosion | Sonicexplosion | |
| soul | Soul | |
| sparkler | Sparkler | |
| spit | Spit | |
| stalactitedriplava | Stalactitedriplava | |
| stalactitedripwater | Stalactitedripwater | |
| sulfurcube | Sulfurcube | |
| terrain | Terrain | |
| totem | Totem | |
| townaura | Townaura | |
| trackingemitter | Trackingemitter | |
| vaultconnection | Vaultconnection | |
| villagerangry | Villagerangry | |
| villagerhappy | Villagerhappy | |
| watersplash | Watersplash | |
| watersplashmanual | Watersplashmanual | |
| waterwake | Waterwake | |
| wax | Wax | |
| whitesmoke | Whitesmoke | |
| windexplosion | Windexplosion | |
| witchspell | Witchspell | |
| wolfarmorcrack | Wolfarmorcrack | |
| yellowpoplarleaves | Yellowpoplarleaves |
Entity RepairEntityItemData
Entity RepairEntityItemData Properties
JSON path: interactions > repair_entity_item
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| amount | 1 | Integer number | 상호작용 시 복원할 아이템 내구도의 양. 값은 0보다 커야 한다. |
| slot | not set | String | 수리할 아이템이 들어 있는 엔티티의 슬롯. |
slot
The entity's slot containing the item to be repaired. Inventory slots are denoted by positive numbers. Equipment slots are denoted by 'slot.weapon.mainhand', 'slot.weapon.offhand', 'slot.armor.head', 'slot.armor.chest', 'slot.armor.legs', 'slot.armor.feet' and 'slot.armor.body'.
Entity SpawnItemsData
Entity SpawnItemsData Properties
JSON path: interactions > spawn_items
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| table | String | 비헤이비어 팩 경로 기준의 루트 테이블 파일 경로. | |
| y_offset | 1 | Decimal number | 아이템이 생성되는 위치를 y 방향으로 이만큼 옮긴다. |
Vibration choices
| 값 | 제목 | 설명 |
|---|---|---|
| entity_act | Entity act | |
| entity_die | Entity die | |
| entity_interact | Entity interact | |
| none | None | |
| shear | Shear |
예시
minecraft:inventory
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_inventory.md)
엔티티의 인벤토리 속성을 정의한다.
Defines this entity's inventory properties.
Entity Inventory Properties
| 이름 | 기본값 | 유형 | 설명 |
|---|---|---|---|
| additional_slots_per_strength | 0 | Integer number | 추가 힘 1당 엔티티가 얻는 슬롯 수. |
| can_be_siphoned_from | false | Boolean true/false | true이면 이 인벤토리의 내용물을 호퍼가 꺼낼 수 있다. |
| container_type | none | String | 엔티티가 가진 컨테이너 종류. horse, minecart_chest, chest_boat, minecart_hopper, inventory, container, hopper 중 하나다. |
| inventory_size | 5 | Integer number | 컨테이너의 슬롯 수. |
| private | false | Boolean true/false | true이면 엔티티가 죽을 때 인벤토리를 떨어뜨리지 않는다. |
| restrict_to_owner | false | Boolean true/false | true이면 엔티티의 인벤토리는 주인이나 엔티티 자신만 열 수 있다. |
예시
minecraft:is_baby
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_baby.md)
엔티티를 새끼로 표시한다. Molang과 필터의 is_baby 값에 쓰인다.
Sets that this entity is a baby. This is used to set the is_baby value for use in query functions like Molang and Filters.
예시
Chicken
"minecraft:is_baby": {}
minecraft:is_charged
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_charged.md)
엔티티를 충전 상태로 표시한다. Molang과 필터의 is_charged 값에 쓰인다.
Sets that this entity is charged. This is used to set the is_charged value for use in query functions like Molang and Filters.
예시
minecraft:is_chested
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_chested.md)
엔티티가 상자를 싣고 있다고 표시한다.
Sets that this entity is currently carrying a chest.
예시
Llama
"minecraft:is_chested": {}
minecraft:is_collidable
(출처: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_collidable.md)
다른 몹이 이 몹과 수직·수평으로 충돌할 수 있게 한다. 양쪽 모두 collision_box가 필요하다.
Allows other mobs to have vertical and horizontal collisions with this mob. For a collision to occur, both mobs must have a "minecraft:collision_box" component. This component can only be used on mobs and enables collisions exclusively between mobs. Please note that this type of collision is unreliable for moving collidable mobs. It is recommended to use this component only in scenarios where the collidable mob remains stationary. Collidable behavior is closely related to stackable behavior. While the "minecraft:is_collidable" component governs how other mobs interact with the component's owner, the "minecraft:is_stackable" component describes how an entity interacts with others of its own kind.
예시
Boat
"minecraft:is_collidable": {}
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |