Item component reference (2/11)
This page excerpts the reference from MS Learn (MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0). Relative links in the original are removed.
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_chargeable.md)
Items Documentation - minecraft:chargeable
[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.
Event trigger for when the item has completed its use duration.
[!Note] Released without an experimental toggle in 1.20.30; renamed to
minecraft:use_modifiersin 1.20.50.
[!Note] This item no longer works after format versions of at least 1.20.50.
This item requires a format version of at least 1.20.30.
Chargeable Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| movement_modifier | not set | Decimal number | Modifier value to scale the players movement speed when item is in use. |
| on_complete | not set | Object | Event trigger for when the item has completed its use duration. |
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_compostable.md)
Items Documentation - minecraft:compostable
Specifies that an item is compostable and provides the chance of creating a composting layer in the composter.
[!Note] This item requires a format version of at least 1.21.60.
Item Compostable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| composting_chance | not set | Integer number | The chance of this item to create a layer upon composting with the composter. Valid value range is 1 - 100 inclusive Value must be >= 1. Value must be <= 100. | Red Shrub: 30, Shelf Mushroom: 65 |
Samples
Red Shrub
"minecraft:compostable": {
"composting_chance": 30
}
Shelf Mushroom
"minecraft:compostable": {
"composting_chance": 65
}
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_cooldown.md)
Items Documentation - minecraft:cooldown
Adds a cooldown to an item, preventing it from being used again for a specified duration. Items sharing the same category will enter cooldown together when any one of them is used.
[!Note] This item requires a format version of at least 1.20.10.
Item Cooldown Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| category | not set | String | A string identifier that groups items together. When an item with a cooldown is used, all items sharing the same category also enter cooldown. |
| duration | not set | Decimal number | The duration of time in seconds that items with the matching category will spend cooling down before becoming usable again. |
| type | use | Type choices | The type of action that triggers the cooldown. Use 'use' for items consumed on use, or 'attack' for weapons. Default is 'use'. This item requires a format version of at least 1.21.130. |
Type choices
| Value | Title | Description |
|---|---|---|
| attack | Attack | |
| use | Use |
Samples
"minecraft:cooldown": {
"category": "attack",
"duration": 0.2
}
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_custom_components.md)
Items Documentation - minecraft:custom_components
[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.
Specifies an array of custom components defined in a script that should be added to this item.
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_damage.md)
Items Documentation - minecraft:damage
The damage component determines how much extra damage the item does on attack.
[!Note] From 1.26.0 onward,
valuesupports the full int16 range of 0 to 32767.
[!Note] This item requires a format version of at least 1.20.30.
Alternate Simple Representations
This item can also be represented as a Integer number.
Damage Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| value | not set | Integer number | The amount of extra damage this item deals when attacking. This value is added to the base attack damage. Must be a positive integer. |
Samples
"minecraft:damage": {
"minecraft:damage": 2
}
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_damage_absorption.md)
Items Documentation - minecraft:damage_absorption
It allows an item to absorb damage that would otherwise be dealt to its wearer. For this to happen, the item needs to be equipped in an armor slot. The absorbed damage reduces the item's durability, with any excess damage being ignored. Because of this, the item also needs a minecraft:durability component.
[!Note] This item requires a format version of at least 1.21.20.
Item Damage Absorption Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| absorbable_causes | not set | Array of strings | List of damage causes that can be absorbed by the item. By default, no damage cause is absorbed. Value must have at least 1 items. |
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_digger.md)
Items Documentation - minecraft:digger
Configures an item as a digging tool, allowing it to break specific blocks faster than normal. Define which blocks are affected and the speed multiplier for each.
[!Note] This item requires a format version of at least 1.20.30.
Item Digger Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| destroy_speeds | [] | Array of Destroy Speeds items | An array of objects that define which blocks this item can dig and at what speed. Each entry specifies a block (by ID or tag query) and a speed multiplier. |
| use_efficiency | false | Boolean true/false | When true, the Efficiency enchantment will increase the dig speed of this item. Default is false. |
Item BlockInfo
Associates a block type with a custom digging speed multiplier for the minecraft:digger component. Map blocks to speed values so pickaxes mine stone quickly, axes chop wood faster, and custom tools excel at specific materials. Enables tool specialization matching vanilla Minecraft conventions.
Item BlockInfo Properties
JSON path: destroy_speeds
| Name | Default Value | Type | Description |
|---|---|---|---|
| block (Block) | not set | Block item | Block to be dug. |
| block (as String) | not set | String | |
| block (Alternate 2) | not set | Object | |
| speed | not set | Integer number | Digging speed for the correlating block(s). |
Block
Block Properties
JSON path: destroy_speeds > block
| Name | Default Value | Type | Description |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
Samples
"minecraft:digger": {
"minecraft:digger": {
"use_efficiency": true,
"destroy_speeds": [
{
"speed": 6,
"block": {
"tags": "query.any_tag( 'wood' )"
}
},
{
"block": "minecraft:coal_ore",
"speed": 2
}
]
}
}
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_display_name.md)
Items Documentation - minecraft:display_name
Sets the item display name within Minecraft: Bedrock Edition. This component may also be used to pull from the localization file by referencing a key from it.
[!Note] This item requires a format version of at least 1.20.0.
Item Display Name Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| value | String | Name shown for an item. | Apple: "item.apple.name", Breeze Rod: "item.breeze_rod.name", Ice Ball: "item.ice_ball.name" |
Samples
At sample:
"minecraft:display_name": {
"value": "secret_weapon"
}
At sample with localication key:
"minecraft:display_name": {
"value": "item.snowball.name"
}
Apple
"minecraft:display_name": {
"value": "item.apple.name"
}
Breeze Rod
"minecraft:display_name": {
"value": "item.breeze_rod.name"
}
Ice Ball
"minecraft:display_name": {
"value": "item.ice_ball.name"
}
Ice Crystal
"minecraft:display_name": {
"value": "tile.ice_crystal.name"
}
Icicle
"minecraft:display_name": {
"value": "tile.icicle.name"
}
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_durability.md)
Items Documentation - minecraft:durability
Sets how much damage the item can take before breaking, and allows the item to be combined at an anvil, grindstone, or crafting table.
[!Note] This item requires a format version of at least 1.20.0.
Item Durability Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| damage_chance | {"max":100,"min":100} | Damage Chance item | Specifies the percentage chance of this item losing durability. |
| max_durability | not set | Integer number | Max durability is the amount of damage that this item can take before breaking. This is a required parameter and has a minimum of 0. |
damage_chance
Specifies the percentage chance of this item losing durability. Default is set to 100. Defined as an int range with min and max value. Check that the limits imposed on the range (minimum, maximum and maximum distance between values) are respected.
Block IntRange
Block IntRange Properties
JSON path: damage_chance
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Integer number | |
| min | 0 | Integer number |
Samples
"minecraft:durability": {
"damage_chance": {
"min": 10,
"max": 50
},
"max_durability": 36
}
(Source: ms-learn, creator/Reference/Content/ItemReference/Examples/ItemComponents/minecraft_durability_sensor.md)
Items Documentation - minecraft:durability_sensor
Enables an item to emit effects when it receives damage. Because of this, the item also needs a minecraft:durability component.
[!Note] This item requires a format version of at least 1.21.20.
Item Durability Sensor Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| durability_thresholds | not set | Array of Durability Thresholds items | The list of both durability thresholds and effects emitted when each threshold is met. |
| sound_event | not set | String | Sound effect to emit when the threshold is met. |
durability_thresholds
The list of both durability thresholds and effects emitted when each threshold is met. When multiple thresholds are met, only the threshold with the lowest durability after applying the damage is considered. Value must have at least 1 items.
Item Durability Sensor Durability Threshold
Defines both the durability threshold, and the effects emitted when that threshold is met.
Item Durability Sensor Durability Threshold Properties
JSON path: durability_thresholds
| Name | Default Value | Type | Description |
|---|---|---|---|
| durability | 0 | Integer number | The effects are emitted when the item durability value is less than or equal to this value. |
| particle_type | none | Particle Type choices | Particle effect to emit when the threshold is met. |
| sound_event | String | Sound effect to emit when the threshold is met. |
Particle Type choices
| Value | Title | Description |
|---|---|---|
| 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 |
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |