The item type of the component.
Optional
options: Partial<ItemTypeCooldownComponentOptions>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 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.
Create a new item type cooldown component.