Grant Advancement (Entity Action Type)
Grants an advancement to the player, or only some of its criteria.
Type ID: apoli:grant_advancement
Fields
| Field | Type | Default | Description |
|---|---|---|---|
advancement | Identifier | optional | The ID of the advancement to grant. The action does nothing without one. |
criteria | Array of String | optional | The criteria of the advancement to grant. |
criterion | String | optional | A single criterion of the advancement to grant. |
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:grant_advancement",
"advancement": "minecraft:adventure/arbalistic"
}This grants the player the Arbalistic advancement.