Buy Me a Coffee at ko-fi.com

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: ItemStack, delta: Number): Number
typings.-148280555typings.-1950496919typings.-1950496919
Method PropertyFluent DescriptionRepresentation
stack accepts
delta accepts
Return Value