Revoke Advancement (Entity Action Type)
Revokes an advancement from the player, or only some of its criteria.
Type ID: apoli:revoke_advancement
Fields
| Field | Type | Default | Description |
|---|---|---|---|
advancement | Identifier | optional | The ID of the advancement to revoke. The action does nothing without one. |
criteria | Array of String | optional | The criteria of the advancement to revoke. |
criterion | String | optional | A single criterion of the advancement to revoke. |
selection | String | "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.