Class PlayerAdvancementDoneEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerAdvancementDoneEvent

public class PlayerAdvancementDoneEvent extends PlayerEvent
Called when a player has completed all criteria in an advancement.
  • Constructor Details

    • PlayerAdvancementDoneEvent

      public PlayerAdvancementDoneEvent(@NotNull Player who, @NotNull Advancement advancement)
  • Method Details

    • getAdvancement

      @NotNull public Advancement getAdvancement()
      Get the advancement which has been completed.
      Returns:
      completed advancement
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()