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