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 ScoreAdvancementCriterions.
  • 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