Beta
Beta
damageReturns the current damage level of this particular item.
This property can't be edited in read-only mode.
Readonly
Beta
maxReadonly
Beta
typeStatic
Readonly
Beta
componentBeta
Optional
unbreakingEnchantmentLevel: numberReturns the maximum chance that this item would be damaged using the damageRange property, given an unbreaking level.
This function can't be called in read-only mode.
Beta
Returns the min and max variables used by the damage chance formula: chance = (min + ((max - min) / (unbreaking + 1)))
This function can't be called in read-only mode.
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.