Item Cooldown Effect - TheComputerGeek2/MagicSpells GitHub Wiki
effect: itemcooldownDisplays the vanilla item cooldown (like the Ender Pearl cooldown).
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default |
|---|---|---|---|
duration |
In server ticks. | Integer | 20 |
key |
Namespaced key referring to all items with the cooldown group of the same key. This option takes precedence over item. |
Namespaced Key | |
item |
For items, the effect uses the item's "cooldown group" key under its use_cooldown item component. If the cooldown group is unspecified, the item cooldown applies to all items of the same material. |
Before 4.0 Beta 19: Material type Since 4.0 Beta 19: Magic Item String |
"stone" |