Interface ScoreAdvancementCriterion.Builder
- All Superinterfaces:
AbstractBuilder<ScoreAdvancementCriterion>
,AdvancementCriterion.BaseBuilder<ScoreAdvancementCriterion,
,ScoreAdvancementCriterion.Builder> 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 create
ScoreAdvancementCriterion
s.-
Method Summary
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 Details
-
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
-