Interface CriterionEvent
- All Superinterfaces:
AdvancementEvent
,Event
- All Known Subinterfaces:
CriterionEvent.Grant
,CriterionEvent.Revoke
,CriterionEvent.Score
,CriterionEvent.Score.Change
,CriterionEvent.Score.Grant
,CriterionEvent.Score.Revoke
,CriterionEvent.Trigger<C>
A base event for
AdvancementCriterion
related events.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Is called when aAdvancementCriterion
is granted/unlocked.static interface
Is called when aAdvancementCriterion
is revoked.static interface
A base event forScoreAdvancementCriterion
related events.static interface
Is called when aFilteredTrigger
is being processed for a specificCriterion
. -
Method Summary
Methods inherited from interface org.spongepowered.api.event.advancement.AdvancementEvent
advancement, advancementKey, player
-
Method Details
-
criterion
AdvancementCriterion criterion()Gets theAdvancementCriterion
that was met.- Returns:
- The criterion
-