public interface AdvancementEvent extends TargetPlayerEvent
Advancement
related events.Modifier and Type | Interface and Description |
---|---|
static interface |
AdvancementEvent.Grant
Is called when a
Advancement is granted/unlocked. |
static interface |
AdvancementEvent.Revoke
Is called when a
AdvancementCriterion is revoked. |
Modifier and Type | Method and Description |
---|---|
Advancement |
getAdvancement()
Gets the
Advancement that is being targeted. |
getTargetEntity
getCause, getContext, getSource
Advancement getAdvancement()
Advancement
that is being targeted.