Commands/advancement

Gives or takes an advancement from one or more players.

Syntax

 * Adds or removes all loaded advancements.
 * Adds or removes a single advancement or criterion.
 * Adds or removes an advancement and all its children advancements.
 * 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.
 * Specifies an advancement, and adds or removes all its parent advancements, and all its children advancements.
 * 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:
 * Adds or removes 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:.
 * The exact order the operation is as if the command were executed with "until" specified, then with "from" specified:
 * Adds or removes 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:.
 * The exact order the operation is carried out in is:.

Arguments
lit. 'grant' or 'revoke'
 * Specifies whether to add or remove the to-be-specified advancement(s).


 * Specifies one player or more.
 * Specifies one player or more.


 * Specifies a valid namespaced id of the advancement to target.
 * Specifies a valid namespaced id of the advancement to target.


 * Specifies a valid criterion of the advancement to manipulate.
 * The command defaults to the entire advancement.
 * If specified, the command refers to merely the criterion and not the entire advancement.
 * If specified, the command refers to merely the criterion and not the entire advancement.

Examples

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