tick
Advances playback by one 50 ms Minecraft tick.
boolean shifted = state.tick();
Content copied to clipboard
Return
whether the active keyframe changed
Advances playback by one 50 ms Minecraft tick. Checks for a keyframe change when the active keyframe ends or an update is requested.
boolean shifted = state.tick(onEmpty);
Content copied to clipboard
Return
whether the active keyframe changed
Parameters
ifEmpty
the callback to run when no animators are registered
Throws
if the callback is null and no animators are registered