Commands/advancement

Gives or takes an advancement from one or more players.

Arguments

 * Specify whether to add or remove the to-be-specified advancement(s).


 * Specify one player or more. Must be a player name, a target selector or a UUID.
 * Entities other than players are not allowed.


 * Specify all loaded advancements for addition/removal.


 * Specify an advancement and all its children advancements for addition/removal.
 * Think of specifying everything from that advancement to the end.
 * The exact order the operation is carried out in is  When it operates on a child that branches, it iterates through all its children before continuing.


 * Specifying a single advancement for addition/removal.


 * Specify an advancement, all its parent advancements, and all its children advancements for addition/removal.
 * Think of specifying everything through the specified advancement, going both backwards and forwards.
 * The exact order the operation is as if the command were executed with "until" specified, then with "from" specified:


 * Specify an advancement and all its parent advancements until the root for addition/removal.
 * Think of specifying everything from the start until that advancement.
 * The exact order the operation is carried out in is:.


 * A valid advancement identifier; specifies which advancement to target.


 * A valid advancement criterion identifier; specifies which criterion of the advancement to manipulate.
 * This defaults to the entire advancement.
 * If specified, the command refers to merely the criterion and not the entire advancement.

Result
On success, grants or removes the specified advancement(s) to the player(s).

Fails if the arguments are invalid or if fails to resolve to one or more online players.

Examples

 * To grant the "Cover Me With Diamonds!" advancement to player Steve, execute.
 * To grant the all advancements to every player, execute.