Gives or takes an advancement from one or more players. advancement (grant|revoke) everything Adds or removes all loaded advancements. advancement ...
MinecraftWiki
Explore
MainPage
AllPages
InteractiveMaps
MinecraftWiki
Mainpage
Communityportal
Projects
Wikirules
Styleguide
Recentchanges
Randompage
Sandbox
Adminnoticeboard
Directorspage
WikiDiscord
Games
Minecraft
MinecraftEarth
MinecraftDungeons
Usefulpages
Trading
Brewing
Enchanting
Mobs
Blocks
Items
Crafting
Smelting
Tutorials
Resourcepacks
Redstonecircuits
Minecraftlinks
Website
MinecraftDiscord
Support
Bugtracker
Feedback
Twitter
Facebook
YouTube
MinecraftTwitch
Gamepedia
Gamepediasupport
Reportabadad
HelpWiki
Contactus
FANDOM
Games
Anime
Movies
TV
Video
Wikis
ExploreWikis
CommunityCentral
StartaWiki
Register
Don'thaveanaccount?
SignIn
Advertisement
in:
JavaEdition,Commands
English
Deutsch
日本語
Português
Русский
Türkçe
Українська
中文
Commands/advancement
everything
Addsorremovesallloadedadvancements.
advancement(grant|revoke)only[]
Addsorremovesasingleadvancementorcriterion.
advancement(grant|revoke)from
Addsorremovesanadvancementandallitschildrenadvancements.
Thinkofspecifyingeverythingfromthatadvancementtotheend.
Theexactordertheoperationiscarriedoutinisspecifiedadvancement>child>child'schild>...Whenitoperatesonachildthatbranches,ititeratesthroughallitschildrenbeforecontinuing.
advancement(grant|revoke)through
Specifiesanadvancement,andaddsorremovesallitsparentadvancements,andallitschildrenadvancements.
Thinkofspecifyingeverythingthroughthespecifiedadvancement,goingbothbackwardsandforwards.
Theexactordertheoperationisasifthecommandwereexecutedwith"until"specified,thenwith"from"specified:parent>parent'sparent>...>root>specifiedadvancement>child>child'schild>...
advancement(grant|revoke)until
Addsorremovesanadvancementandallitsparentadvancementsuntiltherootforaddition/removal.
Thinkofspecifyingeverythingfromthestartuntilthatadvancement.
Theexactordertheoperationiscarriedoutinis:parent>parent'sparent>...>root>specifiedadvancement.
Arguments[]
grant|revoke
Specifieswhethertoaddorremovetheto-be-specifiedadvancement(s).
:entity
Specifiesoneplayerormore.
Mustbeaplayername,atargetselectororaUUID.Andthetargetselectormustbeofplayertype.
:resource_location
Specifiesavalidnamespacedidoftheadvancementtotarget.
Mustbearesourcelocation.
:string
Specifiesavalidcriterionoftheadvancementtomanipulate.
Thecommanddefaultstotheentireadvancement.
Ifspecified,thecommandreferstomerelythecriterionandnottheentireadvancement.
Mustbeastring.Anditisagreedyphrase(takingtherestofthecommandasthestringargument).
Result[]
CommandTriggerJavaEdition
anytheargumentsarenotspecifiedcorrectlyUnparseableiffailstoresolvetooneormoreonlineplayersFailedthere'snoadvancement/criterionaddedto/removefromanyplayerError...onlytheisinvalidfortheanyOnsuccessgrantsorremovesthespecifiedadvancement(s)orcriterion(s)totheplayer(s).
Output[]
CommandEditionSituationSuccessCount/executestoresuccess.../executestoreresult...
anyJavaEditionOnerror0unchangedunchangedOnfail000Onsuccess11thetotalnumberofadvancements/criterionsaddedto/removedfromeachplayer.
Examples[]
Tograntthe"CoverMeWithDiamonds"advancementtoyourplayer,executethecommand/advancementgrant@sonlyminecraft:story/shiny_gear.
Tograntalladvancementstoeveryplayer,execute/advancementgrant@aeverything.
History[]
JavaEdition
1.1217w13aAddedadvancement.
1.1317w45aRemovedadvancementtestinfavorofadvancementtargetselectors.
Seealso[]
/gameruleannounceAdvancements
CommandsViewat:Template:Commands/content[edit]
Categories
JavaEdition
Commands
Addcategory
Cancel
Save
Deutsch
日本語
Português
Русский
Türkçe
Українська
中文
CommunitycontentisavailableunderCCBY-NC-SA3.0unlessotherwisenoted.
Advertisement
FanFeed
1
Trading
2
Brewing
3
JavaEdition1.19
UniversalConquestWiki
Let'sGoLuna!Wiki
Club57Wiki
FollowonIG
TikTok
JoinFanLab