Revoke Advancement (Entity Action Type)
Revokes an advancement from the player.
Revokes an advancement from the player.
Type ID: apoli:revoke_advancement
Fields
| Field | Type | Default | Description |
|---|---|---|---|
advancement | Identifier | optional | The namespace and ID of the advancement to be revoked from the player. |
criteria | Array of Strings | optional | If specified, determines the criteria to revoke from the specified advancement. |
criterion | String | optional | If specified, determines the criterion to revoke from the specified advancement. |
selection | String | optional | Determines how to select the parent advancement(s) or child(ren) advancement(s) of the specified advancement. Can be one of: "only", "through", "from", "until", "everything" |
Examples
"entity_action": {
"type": "apoli:revoke_advancement",
"advancement": "minecraft:adventure/arbalistic"
} This example will revoke the Arbalistic advancement from the player, if they have it.