matchAnimation

open fun matchAnimation(@NotNull mapper: @NotNull BiPredicate<RenderedBone, AnimationOverrideState>): Boolean

Applies an animation override evaluation to all bone hierarchies.


boolean matched = pipeline.matchAnimation((bone, state) -> {
    return true;
});

Return

true if any bone matched the animation predicate, false otherwise

Since

1.15.2

Parameters

mapper

the evaluation function applied to bones and override states

Throws