Tracker

constructor(@NotNull pipeline: @NotNull RenderPipeline, @NotNull modifier: @NotNull TrackerModifier, @NotNull keyframeContext: @NotNull KeyframeRuntimeContext)

Creates a new tracker with the context used for runtime animation evaluation. The tracker retains the supplied context.


// Inside an entity tracker constructor
super(pipeline, modifier, registry.keyframeContext);

Since

3.7.0

Parameters

pipeline

the render pipeline

modifier

the tracker modifier

keyframeContext

the runtime context for this tracker's Molang queries