User Tools

Site Tools


items:item_components:damageable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
items:item_components:damageable [2024/04/19 13:27] – ↷ Links adapted because of a move operation errorcraftitems:item_components:damageable [2024/04/23 21:24] (current) – add break_sound field errorcraft
Line 9: Line 9:
 ^  Name  ^  Description  ^  Type  ^  Default Value  ^ ^  Name  ^  Description  ^  Type  ^  Default Value  ^
 | ''durability'' | How many hits this item can take before breaking. | A positive integer | | | ''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 [[mc>Sounds.json#Sound_events|sound event]] | |
 | ''preserve_item'' | Whether to preserve the item at 1 durability. | An optional boolean | ''false'' | | ''preserve_item'' | Whether to preserve the item at 1 durability. | An optional boolean | ''false'' |
  
items/item_components/damageable.1713533226.txt.gz · Last modified: 2024/04/19 13:27 by errorcraft