test

abstract fun test(@NotNull bone: @NotNull RenderedBone, @NotNull predicate: @NotNull BonePredicate): Boolean

Applies the action to a bone if it matches the predicate.

Return

true if the bone was updated

Since

1.15.2

Parameters

bone

the target bone

predicate

the predicate to check against