ViewerAPI.getCoolDownPercent

Inherited from PlayerAPI

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:
ViewerAPI:getCoolDownPercent(stack, delta)
typings.324412607
Method Property Fluent Description Representation
stack accepts
delta accepts a Number
Return Value a Number
a a