Interface VanillaVisibility
- All Superinterfaces:
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 TypeMethodDescriptiondefault boolean
isVisible
(@NotNull Advancement advancement, @NotNull TeamProgression progression) 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 interfaceIVisibility
- Parameters:
advancement
- The advancement.progression
- The teamTeamProgression
.- Returns:
- Whether either any parent or any grandparent of the provided advancement is granted for the specified team.
-