Interface HiddenVisibility
- All Superinterfaces:
IVisibility
If an advancement implements this visibility, it will be visible only if the progression is greater than zero.
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 the specified team has a progression grater than zero for the provided advancement.
-
Method Details
-
isVisible
default boolean isVisible(@NotNull @NotNull Advancement advancement, @NotNull @NotNull TeamProgression progression) Whether the specified team has a progression grater than zero for the provided advancement.- Specified by:
isVisible
in interfaceIVisibility
- Parameters:
advancement
- The advancement.progression
- The teamTeamProgression
.- Returns:
- Whether the specified team has a progression grater than zero for the provided advancement.
-