setCooldown

abstract fun setCooldown(item: ItemType, ticks: Int)

Sets the cooldown for the given item to the given amount of ticks.

Parameters

item

the item

ticks

the amount of ticks the cooldown will last for