Interface VanillaVisibility

All Superinterfaces:
IVisibility

public interface VanillaVisibility extends IVisibility
If an advancement implements this visibility, it will be visible only if either every one of its parent or its grandparent are granted.

This class is part of the Advancement Visibility System. See IVisibility for more information.

  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Whether either any parent or any grandparent of the provided advancement is granted for the specified team.
  • Method Details

    • isVisible

      default boolean isVisible(@NotNull @NotNull Advancement advancement, @NotNull @NotNull TeamProgression progression)
      Whether either any parent or any grandparent of the provided advancement is granted for the specified team.
      Specified by:
      isVisible in interface IVisibility
      Parameters:
      advancement - The advancement.
      progression - The team TeamProgression.
      Returns:
      Whether either any parent or any grandparent of the provided advancement is granted for the specified team.