Skip to main content

Revoke Advancement (Entity Action Type)

Revokes an advancement from the player, or only some of its criteria.

Type ID: apoli:revoke_advancement

Fields

FieldTypeDefaultDescription
advancementIdentifieroptionalThe ID of the advancement to revoke. The action does nothing without one.
criteriaArray of StringoptionalThe criteria of the advancement to revoke.
criterionStringoptionalA single criterion of the advancement to revoke.
selectionString"only"Which related advancements are included, the same as the /advancement command: "only", "through", "from", "until" or "everything".

Examples

"entity_action": {
    "type": "apoli:revoke_advancement",
    "advancement": "minecraft:adventure/arbalistic"
}

This revokes the Arbalistic advancement from the player, if they have it.