Interface ParentGrantedVisibility
- All Superinterfaces:
IVisibility
If an advancement implements this visibility, it will be visible only if every one of its parents 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 any parent 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 any parent of the provided advancement is granted for the specified team.- Specified by:
isVisible
in interfaceIVisibility
- Parameters:
advancement
- The advancement.progression
- The teamTeamProgression
.- Returns:
- Whether every parent of the provided advancement is granted for the specified team.
-