tick
open fun tick(@NotNull context: @NotNull KeyframeRuntimeContext, @NotNull uuid: @NotNull UUID, @NotNull bundler: @NotNull AnimationBundler): Boolean
Ticks the model for a specific player, updating per-player animations, solving IK, and bundling transformations.
AnimationBundler bundler = pipeline.createAnimationBundler();
if (pipeline.tick(playerUuid, bundler)) {
PlayerChannelHandler handler = pipeline.channel(playerUuid);
if (handler != null) bundler.send(handler);
}
Content copied to clipboard
Return
true if any bone or animation updates occurred for the player, false otherwise
Since
1.15.2
Parameters
uuid
the UUID of the player
bundler
the animation packet bundler to use
Throws
if uuid or bundler is null