Minecraft:Commands/achievement: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Sync: updated from Minecraft |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Outdated feature|This command was superseded by the '''[[Minecraft:Commands/advancement|/advancement]]''' command in Java Edition 1.12.}} | {{Outdated feature|This command was superseded by the '''[[Minecraft:Commands/advancement|/advancement]]''' command in [[Minecraft:Java Edition 1.12]].}} | ||
{{exclusive|java}} | {{exclusive|java}} | ||
{{Infobox command | {{Infobox command | ||
| Line 9: | Line 9: | ||
}} | }} | ||
Gives or takes an achievement from a player. | Gives or takes an [[Minecraft:Achievement/Java Edition|achievement]] from a player. | ||
== Syntax == | == Syntax == | ||
: <code>achievement (give|take) (<''achievement''>|*) [<''player''>]</code> | : <code>achievement (give|take) (<''achievement''>|*) [<''player''>]</code> | ||
== Arguments == | == Arguments == | ||
| 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 command | :: Must be a player name or a target selector. If not specified, defaults to the command's executor. Not optional in [[Minecraft:command block]]s. | ||
== Result == | == Result == | ||
| Line 119: | Line 119: | ||
{{Navbox commands}} | {{Navbox commands}} | ||
de:Befehl/achievement | [[Minecraft:de:Befehl/achievement]] | ||
es:Comandos/achievement | [[Minecraft:es:Comandos/achievement]] | ||
ja:コマンド/achievement | [[Minecraft:ja:コマンド/achievement]] | ||
pt:Comandos/achievement | [[Minecraft:pt:Comandos/achievement]] | ||
ru:Команды консоли/achievement | [[Minecraft:ru:Команды консоли/achievement]] | ||
zh:命令/achievement | [[Minecraft:zh:命令/achievement]] | ||
Latest revision as of 11:04, 29 May 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 Minecraft: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
Minecraft:de:Befehl/achievement Minecraft:es:Comandos/achievement Minecraft:ja:コマンド/achievement Minecraft:pt:Comandos/achievement Minecraft:ru:Команды консоли/achievement Minecraft:zh:命令/achievement