declare namespace org { namespace spongepowered { namespace api { namespace advancement { // @ts-ignore interface Advancement extends org.spongepowered.api.CatalogType, org.spongepowered.api.text.TextRepresentable { /** * Creates a new {@link Builder} to create {@link Advancement}s. */ // @ts-ignore builder(): org.spongepowered.api.advancement.Advancement.Builder; /** * Gets the {@link AdvancementTree} this advancement is located in, * will only be present if the root advancement was used to create * a {@link AdvancementTree}. */ // @ts-ignore getTree(): any; /** * Gets all the children {@link Advancement}s. */ // @ts-ignore getChildren(): any[] /*java.util.Collection*/; /** * Gets all the {@link AdvancementCriterion} that should be achieved * before this advancement is unlocked. {@link AdvancementCriterion#EMPTY} * will be returned if no criterion was assigned. *

This {@link AdvancementCriterion} can be a AND or OR operation that * contains multiple possible {@link AdvancementCriterion}s.

*/ // @ts-ignore getCriterion(): org.spongepowered.api.advancement.criteria.AdvancementCriterion; /** * Gets the parent {@link Advancement}, if present. */ // @ts-ignore getParent(): any; /** * Gets the {@link DisplayInfo} of this advancement, if present. */ // @ts-ignore getDisplayInfo(): any; /** * Gets the {@link Text} lines that would be used to * display a toast notification. */ // @ts-ignore toToastText(): any[] /*java.util.List*/; } } } } }