public interface ScoreAdvancementCriterion extends AdvancementCriterion
AdvancementCriterion
that requires a
specific score (getGoal()
) to be achieved.Modifier and Type | Interface and Description |
---|---|
static interface |
ScoreAdvancementCriterion.Builder
A builder to create
ScoreAdvancementCriterion s. |
AdvancementCriterion.BaseBuilder<T extends AdvancementCriterion,B extends AdvancementCriterion.BaseBuilder<T,B>>
DUMMY, EMPTY
Modifier and Type | Method and Description |
---|---|
static ScoreAdvancementCriterion.Builder |
builder()
Creates a new
ScoreAdvancementCriterion.Builder which can be used to create
a ScoreAdvancementCriterion . |
int |
getGoal()
Gets the goal value.
|
and, and, getName, getTrigger, or, or
static ScoreAdvancementCriterion.Builder builder()
ScoreAdvancementCriterion.Builder
which can be used to create
a ScoreAdvancementCriterion
.builder
in interface AdvancementCriterion
int getGoal()