EntityTracker
@ApiStatus.Internal
Creates a new entity tracker using the registry's shared Molang runtime context.
var tracker = new EntityTracker(registry, pipeline, modifier,
entityTracker -> entityTracker.keyframeContext().set("custom_weight", 0.5F));
Content copied to clipboard
Since
1.15.2
Parameters
registry
the entity tracker registry that supplies the shared context
pipeline
the render pipeline
modifier
the tracker modifier
preUpdateConsumer
a consumer to run before the first update