The item type of the component.
Optional
options: Partial<ItemTypeDurabilityComponentOptions>The options for the component.
Protected
Readonly
collectionThe component collection of the item type.
Readonly
identifierThe component identifier of the item type.
Protected
Readonly
typeThe item type of the component.
Static
Readonly
identifierThe component identifier of the item type.
Protected
componentThe component value of the item type.
Get the damage chance of the durability component.
The damage chance of the durability component.
Get the maximum durability of the item type.
The maximum durability of the item type.
Set the damage chance of the durability component.
The damage chance of the durability component.
Set the maximum durability of the item type.
The maximum durability of the item type.
Static
from
Create a new item type durability component.