Commands/achievement

Gives or takes an achievement from a player.
==Syntax==
: achievement (give|take) (<achievement>|*) [<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.
::* * 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==
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).
== List ==
Achievement 	ID
Taking Inventory 	openInventory
Getting Wood 	mineWood
Benchmarking 	buildWorkBench
Time to Mine! 	buildPickaxe
Hot Topic 	buildFurnace
Acquire Hardware 	acquireIron
Time to Farm! 	buildHoe
Bake Bread 	makeBread
The Lie 	bakeCake
Getting An Upgrade 	buildBetterPickaxe
Delicious Fish 	cookFish
On A Rail 	onARail
Time to Strike! 	buildSword
Monster Hunter 	killEnemy
Cow Tipper 	killCow
When Pigs Fly 	flyPig
Sniper Duel 	snipeSkeleton
DIAMONDS! 	diamonds
We Need To Go Deeper	portal
Return To Sender 	ghast
Into Fire 	blazeRod
Local Brewery 	potion
The End? 	theEnd
The End. 	theEnd2
Enchanter 	enchantments
Overkill 	overkill
Librarian 	bookcase
Adventuring Time 	exploreAllBiomes
The Beginning? 	spawnWither
The Beginning. 	killWither
Beaconator 	fullBeacon
Repopulation 	breedCow
Diamonds to you! 	diamondsToYou
Overpowered 	overpowered
==Examples==
*To grant the "Overkill" achievement to oneself: 
*To grant the "Taking Inventory" achievement to Steve: 
*To remove all achievements from all players: 
== History ==
== See also ==
*
de:Befehl/achievement
es:Comandos/achievement
pt:Comandos/achievement
zh:命令/achievement