Package kr.toxicity.model.api.animation
Interface AnimationPredicate
- All Superinterfaces:
Predicate<RenderedBone>
Animation predicate
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull AnimationPredicatechildren()Creates children predicatebooleanChecks current bone is children bonestatic @NotNull AnimationPredicateof(boolean children, @NotNull Predicate<RenderedBone> bonePredicate) Creates predicatestatic @NotNull AnimationPredicateof(@NotNull Predicate<RenderedBone> bonePredicate) Creates predicate
-
Method Details
-
isChildren
@Internal boolean isChildren()Checks current bone is children bone- Returns:
- is children
-
of
@NotNull static @NotNull AnimationPredicate of(@NotNull @NotNull Predicate<RenderedBone> bonePredicate) Creates predicate- Parameters:
bonePredicate- predicate- Returns:
- animation predicate
-
of
@NotNull static @NotNull AnimationPredicate of(boolean children, @NotNull @NotNull Predicate<RenderedBone> bonePredicate) Creates predicate- Parameters:
children- childrenbonePredicate- predicate- Returns:
- animation predicate
-
children
Creates children predicate- Returns:
- children predicate
-