Minecraft:Commands/achievement: Difference between revisions
From SAS Gaming Wiki
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| 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 Java Edition 1.12.}} | ||
{{ | {{MC/Exclusive|java}} | ||
{{Infobox command | {{Infobox command | ||
| oplevel = 2 | | oplevel = 2 | ||
| addedVersion = {{Verlink|13w36a}} | | addedVersion = {{MC/Verlink|13w36a}} | ||
| addedDate = September 5, 2013 | | addedDate = September 5, 2013 | ||
| removedVersion = {{Verlink|17w13a}} | | removedVersion = {{MC/Verlink|17w13a}} | ||
| removedDate = March 30, 2017 | | removedDate = March 30, 2017 | ||
}} | }} | ||
| Line 101: | Line 101: | ||
== Examples == | == Examples == | ||
*To grant the "Overkill" achievement to oneself: {{ | *To grant the "Overkill" achievement to oneself: {{MC/Cmd|achievement give achievement.overkill|link=none}} | ||
*To grant the "Taking Inventory" achievement to Steve: {{ | *To grant the "Taking Inventory" achievement to Steve: {{MC/Cmd|achievement give achievement.openInventory Steve|link=none}} | ||
*To remove all achievements from all players: {{ | *To remove all achievements from all players: {{MC/Cmd|achievement take * @a|link=none}} | ||
== History == | == History == | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.7.2|dev=13w36a|Added {{ | |{{HistoryLine||1.7.2|dev=13w36a|Added {{MC/Cmd|achievement|link=none}}.}} | ||
|{{HistoryLine||1.9|dev=16w03a|{{ | |{{HistoryLine||1.9|dev=16w03a|{{MC/Cmd|achievement|link=none}} no longer affects statistics.}} | ||
|{{HistoryLine||1.12|dev=17w13a|Removed {{ | |{{HistoryLine||1.12|dev=17w13a|Removed {{MC/Cmd|achievement|link=none}}.}} | ||
}} | }} | ||
== See also == | == See also == | ||
*{{ | *{{MC/Cmd|advancement}} | ||
== Navigation == | == Navigation == | ||
{{Navbox commands}} | {{MC/Navbox commands}} | ||
de:Befehl/achievement | de:Befehl/achievement | ||
Latest revision as of 20:07, 9 April 2026
Template:Outdated feature Script error: No such module "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:
- REDIRECT Template:Command
- To grant the "Taking Inventory" achievement to Steve:
- REDIRECT Template:Command
- To remove all achievements from all players:
- REDIRECT Template:Command
History
See also
- REDIRECT Template:Command
de:Befehl/achievement es:Comandos/achievement ja:コマンド/achievement pt:Comandos/achievement ru:Команды консоли/achievement zh:命令/achievement