public static interface CriterionEvent.Score extends CriterionEvent
ScoreAdvancementCriterion related events.| Modifier and Type | Interface and Description |
|---|---|
static interface |
CriterionEvent.Score.Change
Is called when the score of a
ScoreAdvancementCriterion
changes. |
static interface |
CriterionEvent.Score.Grant
Is called when the score of a
ScoreAdvancementCriterion
changes and results into granting the criterion. |
static interface |
CriterionEvent.Score.Revoke
Is called when the score of a
ScoreAdvancementCriterion
changes and results into revoking the criterion. |
CriterionEvent.Score, CriterionEvent.Trigger<C extends FilteredTriggerConfiguration>| Modifier and Type | Method and Description |
|---|---|
ScoreAdvancementCriterion |
getCriterion()
Gets the
AdvancementCriterion that was met. |
getAdvancementgetTargetEntitygetCause, getContext, getSourceScoreAdvancementCriterion getCriterion()
CriterionEventAdvancementCriterion that was met.getCriterion in interface CriterionEvent