The item type of the component.
Optionaloptions: Partial<ItemTypeCooldownComponentOptions>The options for the component.
Protected ReadonlycollectionThe component collection of the item type.
ReadonlyidentifierThe component identifier of the item type.
Protected ReadonlytypeThe item type of the component.
Static ReadonlyidentifierThe component identifier of the item type.
ProtectedcomponentThe component value of the item type.
Get the category of the cooldown component.
The category of the cooldown component.
Get the duration of the cooldown component in seconds.
Whether to return the duration in ticks; default is false.
The duration of the cooldown component in seconds or ticks.
Set the category of the cooldown component.
The category of the cooldown component.
Set the duration of the cooldown component in seconds.
The duration of the cooldown component in seconds or ticks.
Whether the value is in ticks; default is false.
Staticfrom
Create a new item type cooldown component.