Minecraft:Commands/achievement: Difference between revisions
From SAS Gaming Wiki
More actions
imported>BigEarsQuake 2 It was correct. Undo revision 3156821 by 193.150.26.147 (talk) |
Remove broken links to missing pages |
||
| Line 1: | Line 1: | ||
{{Outdated feature|This command was superseded by the '''[[Minecraft:Commands/advancement|/advancement]]''' command in | {{Outdated feature|This command was superseded by the '''[[Minecraft:Commands/advancement|/advancement]]''' command in Java Edition 1.12.}} | ||
{{exclusive|java}} | {{exclusive|java}} | ||
{{Infobox command | {{Infobox command | ||
| Line 9: | Line 9: | ||
}} | }} | ||
Gives or takes an | Gives or takes an achievement from a player. | ||
== Syntax == | == Syntax == | ||
| Line 20: | Line 20: | ||
::* <code>*</code> represents ''all'' achievements. | ::* <code>*</code> represents ''all'' achievements. | ||
: ''player'' (optional) | : ''player'' (optional) | ||
:: Must be a player name or a target selector. If not specified, defaults to the command's executor. Not optional in | :: Must be a player name or a target selector. If not specified, defaults to the command's executor. Not optional in command blocks. | ||
== Result == | == Result == | ||
| Line 119: | Line 119: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/achievement | |||
es:Comandos/achievement | |||
ja:コマンド/achievement | |||
pt:Comandos/achievement | |||
ru:Команды консоли/achievement | |||
zh:命令/achievement | |||
Revision as of 15:43, 9 April 2026
Template:Outdated feature Template:Exclusive Template:Infobox command
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 Minecraft:achievement identifier.*represents all achievements.
- Specifies which achievement to modify. Must be one of the following:
- 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: Template:Cmd
- To grant the "Taking Inventory" achievement to Steve: Template:Cmd
- To remove all achievements from all players: Template:Cmd
History
See also
de:Befehl/achievement es:Comandos/achievement ja:コマンド/achievement pt:Comandos/achievement ru:Команды консоли/achievement zh:命令/achievement