类 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.
  • 构造器详细资料

    • PlayerAdvancementDoneEvent

      public PlayerAdvancementDoneEvent(Player who, Advancement advancement)
  • 方法详细资料

    • getAdvancement

      public Advancement getAdvancement()
      Get the advancement which has been completed.
      返回:
      completed advancement
    • getHandlers

      public HandlerList getHandlers()
      指定者:
      getHandlers 在类中 Event
    • getHandlerList

      public static HandlerList getHandlerList()