Interface ScoreAdvancementCriterion
- All Superinterfaces:
AdvancementCriterion
,Nameable
Represents a
AdvancementCriterion
that requires a
specific score (goal()
) to be achieved.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
A builder to createScoreAdvancementCriterion
s.Nested classes/interfaces inherited from interface org.spongepowered.api.advancement.criteria.AdvancementCriterion
AdvancementCriterion.BaseBuilder<T extends AdvancementCriterion,
B extends AdvancementCriterion.BaseBuilder<T, B>>, AdvancementCriterion.Factory -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a newScoreAdvancementCriterion.Builder
which can be used to create aScoreAdvancementCriterion
.int
goal()
Gets the goal value.
-
Method Details
-
builder
Creates a newScoreAdvancementCriterion.Builder
which can be used to create aScoreAdvancementCriterion
.- Returns:
- The new builder
-
goal
int goal()Gets the goal value.- Returns:
- The goal value
-