Interface AfterHandle
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Action done after player handle in
Advancement.handlePlayer(TeamProgression, Player, int, int, boolean, AfterHandle)
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final AfterHandle
The defaultAfterHandle
used inAdvancement.handlePlayer(TeamProgression, Player, int, int, boolean, AfterHandle)
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(@NotNull TeamProgression progression, @Nullable Player player, @NotNull Advancement advancement) The action to do after player handling.
-
Field Details
-
UPDATE_ADVANCEMENTS_TO_TEAM
The defaultAfterHandle
used inAdvancement.handlePlayer(TeamProgression, Player, int, int, boolean, AfterHandle)
.
-
-
Method Details
-
apply
void apply(@NotNull @NotNull TeamProgression progression, @Nullable @Nullable Player player, @NotNull @NotNull Advancement advancement) The action to do after player handling.- Parameters:
progression
- The player team'sTeamProgression
.player
- The player.advancement
- The advancement which called this method.- See Also:
-