interpolateRotation
Inserts shared keyframes where display interpolation would lose the sampled rotation path. Samples intervening Minecraft ticks only for unsafe endpoint rotations or complete local Euler turns. Prefers splits that preserve the path and uses fewer frames when split costs are equal.
generator.interpolateRotation(frameTimes);
Content copied to clipboard
Since
1.15.2
Parameters
floats
the set of keyframe times to update