PlayerAPI.getCooldownPercent

Returns the whether a given ItemStack has an active cool down as a percent from 0.0 to 1.0
If it has none,
it returns 0.0
Takes two parameters stack, and delta,
delta offsets the cooldown's tick count by it, used for smoother animation.
overload 1:
player:getCooldownPercent(stack, delta)
Method Property Fluent Description Representation
stack accepts an ItemStack
delta accepts a Number
Return Value a Number
a a