replace

open fun replace(@NotNull target: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean

Replaces some animation by loop

Return

success

Parameters

target

old animation's name

animation

new animation's name

modifier

modifier


open fun replace(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull target: @NotNull String, @NotNull animation: @NotNull String, @NotNull modifier: @NotNull AnimationModifier): Boolean

Replaces some animation by loop

Return

success

Parameters

filter

bone predicate

target

old animation's name

animation

new animation's name

modifier

modifier