Table of Contents

minecraft:damageable

The minecraft:damageable item component allows this item to be damaged. Its durability may be overridden for a specific item stack by using the minecraft:max_damage item stack component. This item component is usually combined with minecraft:tool, minecraft:weapon and minecraft:armor. Note that using this item component requires you to set the minecraft:max_stack_size item component to 1.

Fields

Name Description Type Default Value
durability How many hits this item can take before breaking. A positive integer
break_sound The sound event to play when the item breaks. If not present, it uses minecraft:entity.item.break instead. An optional sound event
preserve_item Whether to preserve the item at 1 durability. An optional boolean false

Example

{
  "durability": 250
}