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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceIs called when the score of aScoreAdvancementCriterionchanges.static interfaceIs called when the score of aScoreAdvancementCriterionchanges and results into granting the criterion.static interfaceIs called when the score of aScoreAdvancementCriterionchanges 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, player
-
Method Details
-
criterion
ScoreAdvancementCriterion criterion()Description copied from interface:CriterionEventGets theAdvancementCriterionthat was met.- Specified by:
criterionin interfaceCriterionEvent- Returns:
- The criterion
-