floorTick

open fun floorTick(time: Float): Float

Rounds a time down to a 50 ms Minecraft tick.


float time = InterpolationUtil.floorTick(0.08F); // 0.05 seconds

Return

the rounded-down time in seconds

Since

3.7.2

Parameters

time

the time in seconds