Commands/achievement

From Minecraft Wiki
Jump to: navigation, search
Rose (2D).png
This page describes content that only exists in outdated versions of Minecraft.
This command was superseded by the /advancement command in Java Edition 1.12.
Information icon.svg
This feature is exclusive to Java Edition.
achievement
Restrictions

Operator

First introduced

Java Edition 1.7.2 (13w36a)

Removed

Java Edition 17w13a

Gives or takes an achievement from a player.

Syntax[edit]

achievement (give|take) (<achievement>|*) [<player>]

Arguments[edit]

name
Specifies which achievement to modify. Must be one of the following:
  • achievement.achievement_name, where achievement_name is a valid achievement identifier.
  • * represents 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[edit]

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[edit]

  • To grant the "Overkill" achievement to oneself: /achievement give achievement.overkill
  • To grant the "Taking Inventory" achievement to Steve: /achievement give achievement.openInventory Steve
  • 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]