Beta
Private
constructorBeta
Beta
damageReadonly
Beta
isReadonly
Beta
maxReadonly
Beta
typeStatic
Readonly
Beta
componentBeta
Optional
unbreakingEnchantmentLevel: numberUnbreaking factor to consider in factoring the damage chance. Incoming unbreaking parameter must be within the range [0, 3].
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.
Example: giveHurtDiamondSword.ts