Uses of Interface
org.bukkit.advancement.Advancement
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relevant to advancements.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of Advancement in com.destroystokyo.paper.event.player
Modifier and TypeMethodDescriptionPlayerAdvancementCriterionGrantEvent.getAdvancement()
Get the advancement which has been affected.ModifierConstructorDescriptionPlayerAdvancementCriterionGrantEvent
(@NotNull Player who, @NotNull Advancement advancement, @NotNull String criterion) -
Uses of Advancement in org.bukkit
Modifier and TypeFieldDescriptionstatic final Registry<Advancement>
Registry.ADVANCEMENT
Server advancements.Modifier and TypeMethodDescriptionstatic @Nullable Advancement
Bukkit.getAdvancement
(@NotNull NamespacedKey key) Get the advancement specified by this key.Server.getAdvancement
(@NotNull NamespacedKey key) Get the advancement specified by this key.UnsafeValues.loadAdvancement
(NamespacedKey key, String advancement) Deprecated.Load an advancement represented by the specified string into the server.Modifier and TypeMethodDescriptionstatic @NotNull Iterator<Advancement>
Bukkit.advancementIterator()
Get an iterator through all advancements.Server.advancementIterator()
Get an iterator through all advancements. -
Uses of Advancement in org.bukkit.advancement
Modifier and TypeMethodDescriptionAdvancementProgress.getAdvancement()
The advancement this progress is concerning.Advancement.getParent()
Gets the parent advancement, if any.Advancement.getRoot()
Gets the root advancement of the tree this is located in.Modifier and TypeMethodDescriptionAdvancement.getChildren()
Gets all the direct children advancements. -
Uses of Advancement in org.bukkit.entity
Modifier and TypeMethodDescriptionPlayer.getAdvancementProgress
(@NotNull Advancement advancement) Return the player's progression on the specified advancement. -
Uses of Advancement in org.bukkit.event.player
Modifier and TypeMethodDescriptionPlayerAdvancementDoneEvent.getAdvancement()
Get the advancement which has been completed.ModifierConstructorDescriptionPlayerAdvancementDoneEvent
(@NotNull Player who, @NotNull Advancement advancement) PlayerAdvancementDoneEvent
(@NotNull Player who, @NotNull Advancement advancement, @Nullable Component message)