Beta
Protected
constructorBeta
Beta
damageReturns the current damage level of this particular item.
Readonly
Beta
maxRepresents the amount of damage that this item can take before breaking.
Static
Readonly
Beta
componentIdentifier of this component. Should always be 'minecraft:durability'.
Beta
Optional
unbreaking: numberUnbreaking factor to consider in factoring the damage chance. Incoming unbreaking parameter must be greater than 0.
Beta
When present on an item, this item can take damage in the process of being used. Note that this component only applies to data-driven items.