public interface CriterionEvent extends AdvancementEvent
AdvancementCriterion
related events.Modifier and Type | Interface and Description |
---|---|
static interface |
CriterionEvent.Grant
Is called when a
AdvancementCriterion is granted/unlocked. |
static interface |
CriterionEvent.Revoke
Is called when a
AdvancementCriterion is revoked. |
static interface |
CriterionEvent.Score
A base event for
ScoreAdvancementCriterion related events. |
static interface |
CriterionEvent.Trigger<C extends FilteredTriggerConfiguration>
Is called when a
FilteredTrigger is
being processed for a specific Criterion . |
Modifier and Type | Method and Description |
---|---|
AdvancementCriterion |
getCriterion()
Gets the
AdvancementCriterion that was met. |
getAdvancement
getTargetEntity
getCause, getContext, getSource
AdvancementCriterion getCriterion()
AdvancementCriterion
that was met.