Item Documentation - minecraft:cooldown
minecraft:cooldown
sets an items "Cool down" time. After using an item, it becomes unusable for the duration specified by the 'duration' setting of this component.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
category | not set | JSON Object | The type of cool down for this item. |
duration | not set | Float | The duration of time (in seconds) items with a matching category will spend cooling down before becoming usable again. |
Example
"minecraft:cooldown":{
"category" : "attack",
"duration" : 0.2
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for