PlayersJava

/advancement

Grants or revokes advancements (and their individual criteria) for players. The everything/only/from/through/until selectors control whether you affect a single advancement, just one criterion, or a whole branch of the advancement tree.

What is /advancement used for?

What /advancement is for

Grants or revokes advancements — and their individual criteria — for players, across one advancement or a whole branch of the tree.

When to use /advancement

Unlock everything for a creative/testing world, reset progress for a fresh playthrough, or hand out custom datapack advancements as rewards.

Tips for /advancement

/advancement grant @s everything unlocks the lot; the from/through/until modes let you target a branch relative to one advancement instead of just a single node.

Syntax

Parameters

action
literal
grant or revoke.
targets
entity selector
Players to affect.
mode
literal
everything, only, from, through, or until.

Command builder

Fill in the options below to generate a ready-to-paste /advancement command.

grant or revoke.

Players to affect.

everything, only, from, through, or until.

Examples

  • Unlock every advancement for yourself.

  • Take away the 'Diamonds!' advancement from everyone.

Permission level

/advancement requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.