Private
constructorReadonly
cooldownRepresents the cooldown category that this item is associated with.
This property can throw when used.
Readonly
cooldownAmount of time, in ticks, it will take this item to cooldown.
This property can throw when used.
Readonly
typeIdentifier of the component.
Static
Readonly
componentThis function can't be called in read-only mode.
This function can throw errors.
The cooldown category that might be associated with this item.
True if the item is the given cooldown category.
Will return true if the item is the cooldown category passed in and false otherwise.
This function can't be called in read-only mode.
This function can throw errors.
Starts a new cooldown period for this item.
This function can't be called in read-only mode.
This function can throw errors.
When present on an item, this item has a cooldown effect when used by entities.