getCooldown

abstract fun getCooldown(item: ItemType): Int

Gets the current cooldown for the given item, or returns -1 if there is no cooldown for the given item.

Return

the current cooldown for the item, or -1 if not present

Parameters

item

the item