Package org.bukkit.event.player
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.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerAdvancementDoneEvent(Player who, Advancement advancement)
-
Method Summary
Modifier and Type Method Description Advancement
getAdvancement()
Get the advancement which has been completed.static HandlerList
getHandlerList()
HandlerList
getHandlers()
-
Constructor Details
-
Method Details
-
getAdvancement
Get the advancement which has been completed.- Returns:
- completed advancement
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-