Interface CriterionEvent.Score
-
- All Superinterfaces:
AdvancementEvent,CriterionEvent,Event
- All Known Subinterfaces:
CriterionEvent.Score.Change,CriterionEvent.Score.Grant,CriterionEvent.Score.Revoke
- Enclosing interface:
- CriterionEvent
public static interface CriterionEvent.Score extends CriterionEvent
A base event forScoreAdvancementCriterionrelated events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCriterionEvent.Score.ChangeIs called when the score of aScoreAdvancementCriterionchanges.static interfaceCriterionEvent.Score.GrantIs called when the score of aScoreAdvancementCriterionchanges and results into granting the criterion.static interfaceCriterionEvent.Score.RevokeIs 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScoreAdvancementCriterioncriterion()Gets theAdvancementCriterionthat was met.-
Methods inherited from interface org.spongepowered.api.event.advancement.AdvancementEvent
advancement, player
-
-
-
-
Method Detail
-
criterion
ScoreAdvancementCriterion criterion()
Description copied from interface:CriterionEventGets theAdvancementCriterionthat was met.- Specified by:
criterionin interfaceCriterionEvent- Returns:
- The criterion
-
-