Interface ScoreAdvancementCriterion.Builder
-
- All Superinterfaces:
AdvancementCriterion.BaseBuilder<ScoreAdvancementCriterion,ScoreAdvancementCriterion.Builder>
,Buildable.Builder<ScoreAdvancementCriterion>
,Builder<ScoreAdvancementCriterion,ScoreAdvancementCriterion.Builder>
,CopyableBuilder<ScoreAdvancementCriterion,ScoreAdvancementCriterion.Builder>
,ResettableBuilder<ScoreAdvancementCriterion,ScoreAdvancementCriterion.Builder>
- Enclosing interface:
- ScoreAdvancementCriterion
public static interface ScoreAdvancementCriterion.Builder extends AdvancementCriterion.BaseBuilder<ScoreAdvancementCriterion,ScoreAdvancementCriterion.Builder>
A builder to createScoreAdvancementCriterion
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScoreAdvancementCriterion.Builder
goal(int goal)
Sets the goal value.-
Methods inherited from interface org.spongepowered.api.advancement.criteria.AdvancementCriterion.BaseBuilder
build, name, trigger
-
Methods inherited from interface org.spongepowered.api.util.CopyableBuilder
from
-
-
-
-
Method Detail
-
goal
ScoreAdvancementCriterion.Builder goal(int goal)
Sets the goal value. This value must be greater then zero.Defaults to
1
.- Parameters:
goal
- The goal value- Returns:
- This builder, for chaining
-
-