Interface CriterionEvent.Score
- All Superinterfaces:
AdvancementEvent
,CriterionEvent
,Event
- All Known Subinterfaces:
CriterionEvent.Score.Change
,CriterionEvent.Score.Grant
,CriterionEvent.Score.Revoke
- Enclosing interface:
CriterionEvent
A base event for
ScoreAdvancementCriterion
related events.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Is called when the score of aScoreAdvancementCriterion
changes.static interface
Is called when the score of aScoreAdvancementCriterion
changes and results into granting the criterion.static interface
Is called when the score of aScoreAdvancementCriterion
changes and results into revoking the criterion.Nested classes/interfaces inherited from interface org.spongepowered.api.event.advancement.CriterionEvent
CriterionEvent.Score, CriterionEvent.Trigger<C extends FilteredTriggerConfiguration>
-
Method Summary
Methods inherited from interface org.spongepowered.api.event.advancement.AdvancementEvent
advancement, advancementKey, player
-
Method Details
-
criterion
ScoreAdvancementCriterion criterion()Description copied from interface:CriterionEvent
Gets theAdvancementCriterion
that was met.- Specified by:
criterion
in interfaceCriterionEvent
- Returns:
- The criterion
-