forEach

open fun forEach(@NotNull action: @NotNull Consumer<in RenderedBone>)

Performs the given action for each rendered bone in this pipeline.


pipeline.forEach(bone -> {
    // process rendered bone
});

Since

1.15.2

Parameters

action

the action to perform on each rendered bone

Throws