DummyTracker

constructor(@NotNull location: @NotNull PlatformLocation, @NotNull pipeline: @NotNull RenderPipeline, @NotNull modifier: @NotNull TrackerModifier, @NotNull preUpdateConsumer: @NotNull Consumer<DummyTracker>)

Creates a new dummy tracker with its own Molang runtime context.


var tracker = new DummyTracker(location, pipeline, modifier,
    dummy -> dummy.keyframeContext().set("custom_weight", 0.5F));

Since

1.15.2

Parameters

location

the initial location

pipeline

the render pipeline

modifier

the tracker modifier

preUpdateConsumer

a consumer to run before the first update

Throws

if the BetterModel platform has not been initialized