tickTime

open fun tickTime(): Float

Returns the animation length rounded to the nearest 50 ms Minecraft tick.


float playbackLength = animation.tickTime();

Return

the rounded length in seconds

Since

3.7.2