아이템 컴포넌트 레퍼런스 (11/11)
MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 레퍼런스를 발췌한 쪽이다. 원문의 상대 링크는 제거했다.
(출처: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_use_duration.md)
Items Documentation - minecraft:use_duration
[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.
This component determines how long the item takes to use when used in combination with components like "shooter", "throwable", or "food".
Alternate Simple Representations
This item can also be represented as a Decimal number.
Use Duration Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| value | not set | Decimal number | How long the item takes to use in seconds. |
Samples
AppleEnchanted
"minecraft:use_duration": 32
Camera
"minecraft:use_duration": 100000
Dried Kelp
"minecraft:use_duration": 16
Honey Bottle
"minecraft:use_duration": 40
(출처: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_use_modifiers.md)
Items Documentation - minecraft:use_modifiers
Determines how long an item takes to use in combination with components such as Shooter, Throwable, or Food.
[!Note] Renamed from
chargeablein 1.20.50 and available without an experimental toggle.
[!Note] This item requires a format version of at least 1.20.50.
Item Use Modifiers Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| emit_vibrations | true | Boolean true/false | Whether vibrations are emitted when the item starts or stops being used. | |
| movement_modifier | not set | Decimal number | Multiplier applied to the player's movement speed while the item is in use. Value must be <= 1. | Apple: 0.35 |
| start_sound | not set | String | Sound played when the item starts being used. Accepts the name of any sound event defined in sound_definitions.json, including the built-in vanilla sound events. | |
| start_using | always | Start Using choices | When the player begins using the item. | Apple: "always" |
| use_duration | 0 | Decimal number | Time, in seconds, that the item takes to use. | Apple: 1.6 |
start_using
When the player begins using the item. Use always to start as soon as the use action is triggered (default), or on_attack to start using only when an attack input is received while the item is selected. This item requires a format version of at least 1.26.30.
Start Using choices
| Value | Title | Description |
|---|---|---|
| always | Always | |
| if_first | If first |
Samples
Apple
"minecraft:use_modifiers": {
"start_using": "always",
"use_duration": 1.6,
"movement_modifier": 0.35
}
(출처: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_weapon.md)
Items Documentation - minecraft:weapon
[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.
Deprecated weapon item component. This component is automatically added to vanilla weapon items like swords, axes, and bows.
[!Note] This component is deprecated. For custom weapons, use minecraft:damage to set attack damage, minecraft:cooldown for attack speed, and minecraft:durability for durability.
Weapon Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| on_hit_block | not set | Object | An event trigger that fires when this item is used to strike a block. |
| on_hurt_entity | not set | Object | An event trigger that fires when this item successfully damages another entity. |
| on_not_hurt_entity | not set | Object | An event trigger that fires when this item hits an entity but deals no damage (e.g., due to invincibility frames or immunity). |
(출처: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_wearable.md)
Items Documentation - minecraft:wearable
Sets the wearable item component, which allows an item to be worn by a player in a specified equipment slot.
[!Note] Valid equipment slots are: slot.armor.head, slot.armor.chest, slot.armor.legs, slot.armor.feet, slot.armor.body, and slot.weapon.offhand. When a non-hand armor slot is used, the max stack size is automatically set to 1.
[!Note] Fixed in format version 1.26.30: when a non-hand slot is selected,
minecraft:wearableno longer silently overrides an explicitminecraft:max_stack_sizeof 1. Custom items can again declare their own stack size alongside an armor slot without producing inconsistent behavior.
[!Note] This item requires a format version of at least 1.20.30.
Item Wearable Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| hides_player_location | false | Boolean true/false | Determines whether the Player's location is hidden on Locator Maps and the Locator Bar when the wearable item is worn. Default is false. |
| protection | 0 | Integer number | How much protection the wearable item provides. Default is set to 0. |
| slot | not set | Slot choices | Specifies where the item can be worn. If any non-hand slot is chosen, the max stack size is set to 1. |
| dispensable | not set | Boolean true/false |
Slot choices
| Value | Title | Description |
|---|---|---|
| slot.armor.body | Slot.armor.body | |
| slot.armor.chest | Slot.armor.chest | |
| slot.armor.feet | Slot.armor.feet | |
| slot.armor.head | Slot.armor.head | |
| slot.armor.legs | Slot.armor.legs | |
| slot.weapon.mainhand | Slot.weapon.mainhand | |
| slot.weapon.offhand | Slot.weapon.offhand |
Samples
| id | 출처 | 라이선스 | 커밋 | 접근일 |
|---|---|---|---|---|
ms-learn | Minecraft Creator 문서 (Microsoft Learn) | CC BY 4.0 (문서), MIT (코드) | a9fd1c0 | 2026-11-13 |