Revoke Advancement (Entity Action Type)

Revokes an advancement from the player.

Revokes an advancement from the player.

Type ID: apoli:revoke_advancement

Fields

FieldTypeDefaultDescription
advancementIdentifieroptionalThe namespace and ID of the advancement to be revoked from the player.
criteriaArray of StringsoptionalIf specified, determines the criteria to revoke from the specified advancement.
criterionStringoptionalIf specified, determines the criterion to revoke from the specified advancement.
selectionStringoptionalDetermines 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.