Package org.bukkit.advancement
Interface Advancement
- All Superinterfaces:
Keyed
Represents an advancement that may be awarded to a player. This class is not
reference safe as the underlying advancement may be reloaded.
-
Method Summary
Modifier and TypeMethodDescriptionGet all the criteria present in this advancement.Returns the display information for this advancement.Returns the requirements for this advancement.
-
Method Details
-
getCriteria
Get all the criteria present in this advancement.- Returns:
- a unmodifiable copy of all criteria
-
getRequirements
Returns the requirements for this advancement.- Returns:
- an AdvancementRequirements object.
-
getDisplay
Returns the display information for this advancement. This includes it's name, description and other visible tags.- Returns:
- a AdvancementDisplay object, or null if not set.
-