stopAnimation
Stops an animation by name.
Return
true if the animation was stopped
Since
1.15.2
Parameters
animation
the animation name
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull String): Boolean
Stops an animation on filtered bones.
Return
true if the animation was stopped
Since
1.15.2
Parameters
filter
the bone filter
animation
the animation name
open fun stopAnimation(@NotNull filter: @NotNull Predicate<RenderedBone>, @NotNull animation: @NotNull String, @Nullable player: @Nullable PlatformPlayer): Boolean
Stops an animation on filtered bones for a specific player (optional).
Return
true if the animation was stopped
Since
1.15.2
Parameters
filter
the bone filter
animation
the animation name
player
the player (can be null)