View at: Template:Commands/content [edit]
Commands/achievement - minecraft.fandom.com
Treść tej podstrony pochodzi z artykułu „Commands/achievement” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
This page describes content that exists only in outdated versions of Minecraft.
This command was superseded by the /advancement command in Java Edition 1.12.
This feature is exclusive to Java Edition.
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.
- 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:
/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[]
| Java Edition | |||||
|---|---|---|---|---|---|
| 1.7.2 | 13w36a | Added /achievement. | |||
| 1.9 | 16w03a | /achievement no longer affects statistics. | |||
| 1.12 | 17w13a | Removed /achievement. | |||