tryUpdate

open fun tryUpdate(@NotNull action: @NotNull BiPredicate<RenderedBone, BonePredicate>, @NotNull predicate: @NotNull BonePredicate): Boolean

Tries to apply an update action to bones matching a predicate.

Return

true if any bones were updated

Since

1.15.2

Parameters

action

the update action

predicate

the bone predicate