Commands/achievement

From Minecraft Wiki
Jump to: navigation, search
Grass Block Revision 2.png
This page describes content that is no longer in the game.
This command was superseded by the advancement command in Java Edition 1.12
achievement
Restrictions

Operator

First introduced

Java Edition 1.7.2 (Java Edition 13w36a)

Removed

Java Edition 17w13a

Gives or takes an achievement from a player.

Syntax
achievement <give|take> <name|*> [player]
Arguments
name
Specifies which achievement to modify. Must be one of the following:
  • achievement.achievement_name, where achievement_name is a valid achievement identifier
  • * to represent all achievements
player (optional)
Must be a player name or a target selector. If not specified, defaults to the command's executor. Not optional in command blocks.
Result
Fails if the arguments aren't specified correctly, or if player fails to resolve to one or more online players.
On success, grants or removes the specified achievement(s) (and all prerequisite achievements) to the player(s).
Examples
To grant the "Overkill" achievement to yourself: achievement give achievement.overkill
To grant the "Taking Inventory" achievement to Alice: achievement give achievement.openInventory Alice
To remove all achievements from all players: achievement take * @a

History[edit]

Java Edition
1.7.213w36aAdded /achievement.
1.916w03a/achievement no longer affects statistics.
1.1217w13aRemoved /achievement.

See also[edit]

/advancement