Interface BonePredicate

All Superinterfaces:
Predicate<RenderedBone>

public interface BonePredicate extends Predicate<RenderedBone>
Bone predicate
  • Field Details

  • Method Details

    • applyAtChildren

      @NotNull @NotNull BonePredicate.State applyAtChildren()
      Should apply at children bone too
      Returns:
      apply at children
    • from

      @NotNull static @NotNull BonePredicate from(@NotNull @NotNull Predicate<RenderedBone> predicate)
      Gets bone predicate
      Parameters:
      predicate - predicate
      Returns:
      bone predicate
    • of

      @NotNull static @NotNull BonePredicate of(@NotNull @NotNull BonePredicate.State applyAtChildren, @NotNull @NotNull Predicate<RenderedBone> predicate)
      Gets bone predicate
      Parameters:
      applyAtChildren - apply at children
      predicate - predicate
      Returns:
      bone predicate
    • children

      @Internal @NotNull default @NotNull BonePredicate children(boolean parentSuccess)
      Gets children predicate
      Parameters:
      parentSuccess - result at parent bone
      Returns:
      bone predicate