How to Use the Achievement Command in Minecraft

文章推薦指數: 80 %
投票人數:10人

In Minecraft Java Edition (PC/Mac), there are different syntaxes depending on what you would like to do. Achievements. To give all achievements to a player: / ... Advertisements DigMinecraft HowtoUsetheAchievementCommandinMinecraft ThisMinecrafttutorialexplainshowtousethe/achievementcommandwithscreenshotsandstep-by-stepinstructions. Youcanusethe/achievementcommandtochangeaplayer'sachievementsorstatisticsinthecurrentMinecraftworld. TIP:StartinginMinecraftJavaEdition(PC/Mac)1.12,the/achievementcommandwasreplacedbythe/advancementcommand. Let'sexplorehowtousethischeat(gamecommand). SupportedPlatforms The/achievementcommandisavailableinthefollowingversionsofMinecraft: PlatformSupported(Version*)  JavaEdition(PC/Mac)Yes(1.7.2),butremovedin(1.12)  PocketEdition(PE)No  Xbox360No  XboxOneNo  PS3No  PS4No  WiiUNo  NintendoSwitchNo  Windows10EditionNo  EducationEditionNo *Theversionthatitwasaddedorremoved,ifapplicable. NOTE:PocketEdition(PE),XboxOne,PS4,NintendoSwitch,andWindows10EditionarenowcalledBedrockEdition.Wewillcontinuetoshowthemindividuallyforversionhistory. Requirements TorungamecommandsinMinecraft,youhavetoturncheatsoninyourworld. AchievementCommand Java AchievementCommandinMinecraftJavaEdition(PC/Mac) InMinecraftJavaEdition(PC/Mac),therearedifferentsyntaxesdependingonwhatyouwouldliketodo. Achievements Togiveallachievementstoaplayer: /achievementgive*[player] Togiveaspecificachievementtoaplayer: /achievementgive[player] Toremoveallachievementsfromaplayer: /achievementtake*[player] Toremoveaspecificachievementfromaplayer: /achievementtake[player] Statistics Toincreaseastatisticby1foraplayer: /achievementgive[player] Toresetastatisticto0foraplayer: /achievementtake[player] Definitions playerisoptional.Itisthenameofaplayer(oratargetselector).Ifnoplayerisprovided,thentheachievementwillbeappliedtotheplayerrunningthecommand. AchievementIDistheMinecraftIDforanachievement. StatisticIDistheMinecraftIDforastatistic. Examples Java ExampleinJavaEdition(PC/Mac)1.11 ToigiveallachievementstotheplayernamedDigMinecraft: /achievementgive*DigMinecraft Toremovetheachievementcalled"AdventuringTime"fromallplayers: /achievementtakeachievement.exploreAllBiomes@a Toincreasethestatisticcalled"PlayerKills"forthenearestplayer: /achievementgivestat.playerKills@p HowtoEntertheCommand 1.OpentheChatWindow TheeasiestwaytorunacommandinMinecraftiswithinthechatwindow.ThegamecontroltoopenthechatwindowdependsontheversionofMinecraft: ForJavaEdition(PC/Mac),presstheTkeytoopenthechatwindow. 2.TypetheCommand Wewillcoverexamplesofhowtousethe/achievementcommandtogiveallachievementstoaplayer,takeanachievementawayfromallplayers,andincrementastatisticforthenearestplayer. GiveallAchievementstoaPlayer YoucangiveallachievementstoaplayerinMinecraft.ForexampletogiveallachievementstotheplayercalledDigMinecraftwiththefollowingcommand(seelistofachievementIDs): /achievementgive*DigMinecraft Typethecommandinthechatwindow.Asyouaretyping,youwillseethecommandappearinthelowerleftcornerofthegamewindow.PresstheEnterkeytorunthecommand. Oncethecheathasbeenentered,theachievementswillbegiventotheplayer. Youwillseethemessage"SuccessfullygivenachievementstoDigMinecraft"appearinthelowerleftcornerofthegamewindowtoindicatethattheachievementhasbeensuccessfullygiven. TakeanAchievementawayfromallPlayers Youcanalsotakeawayachievementsfromaplayer.Forexampletoremovetheachievementcalled"AdventuringTime"fromallplayerswiththefollowingcommand(seelistofachievementIDs): /achievementtakeachievement.exploreAllBiomes@a Typethecommandinthechatwindow.PresstheEnterkeytorunthecommand. Oncethecheathasbeenentered,theachievementwillberemovedfromtheplayer. Youwillseethemessage"DigMinecrafthaslosttheachievement[AdventuringTime]"appearinthelowerleftcornerofthegamewindowtoindicatethattheachievementhasbeensuccessfullyremoved. IncreaseaStatisticfortheNearestPlayer The/achievementcommandhasalsomodifystatisticsinMinecraft.Youcanuseittoadd1tostatisticorresetastatisticto0.Forexampletoincreasethestatisticcalled"PlayerKills"forthenearestplayerwiththefollowingcommand(seelistofstatisticIDs): /achievementgivestat.playerKills@p Typethecommandinthechatwindow.PresstheEnterkeytorunthecommand. Oncethecheathasbeenentered,theplayer'sstatisticwillbeincreasedby1. Youwillseethemessage"SuccessfullygivenDigMinecraftthestat[PlayerKills]"appearinthelowerleftcornerofthegamewindowtoindicatethatthestatistichasbeensuccessfullyincreasedby1. Congratulations,youjustlearnedhowtousethe/achievementcommandinMinecraft! OtherGameCommands YoucanuseothercommandsandcheatsinMinecraftsuchas: HowtoUsetheAbilityCommand HowtoUsetheAdvancementCommand HowtoUsetheAlwaysDayCommand HowtoUsetheAttributeCommand HowtoUsetheBlockDataCommand HowtoUsetheBossbarCommand HowtoUsetheCameraShakeCommand HowtoUsetheClassroomModeCommand HowtoUsetheClearCommand HowtoUsetheClearSpawnpointCommand HowtoUsetheCloneCommand HowtoUsetheCodeCommand HowtoUsetheConnectCommand HowtoUsetheDataCommand HowtoUsetheDataPackCommand HowtoUsetheDayLockCommand HowtoUsetheDebugCommand HowtoUsetheDefaultGameModeCommand HowtoUsetheDifficultyCommand HowtoUsetheEffectCommand HowtoUsetheEnchantCommand HowtoUsetheEntityDataCommand HowtoUsetheEventCommand HowtoUsetheExecuteCommand HowtoUsetheExperienceCommand HowtoUsetheFillCommand HowtoUsetheFogCommand HowtoUsetheForceloadCommand HowtoUsetheFunctionCommand HowtoUsetheGameModeCommand HowtoUsetheGameruleCommand HowtoUsetheGiveCommand HowtoUsetheHelpCommand HowtoUsetheImmutableWorldCommand HowtoUsetheItemCommand HowtoUsetheJFRCommand HowtoUsetheKickCommand HowtoUsetheKillCommand HowtoUsetheLocateCommand HowtoUsetheLocateBiomeCommand HowtoUsetheMeCommand HowtoUsetheMobEventCommand HowtoUsetheMsgCommand HowtoUsetheParticleCommand HowtoUsethePlaceFeatureCommand HowtoUsethePlaySoundCommand HowtoUsethePublishCommand HowtoUsetheRecipeCommand HowtoUsetheReloadCommand HowtoUsetheReplaceItemCommand HowtoUsetheSayCommand HowtoUsetheScoreboardCommand HowtoUsetheSeedCommand HowtoUsetheSetBlockCommand HowtoUsetheSetMaxPlayersCommand HowtoUsetheSetWorldSpawnCommand HowtoUsetheSpawnpointCommand HowtoUsetheSpreadPlayersCommand HowtoUsetheStatsCommand HowtoUsetheStopSoundCommand HowtoUsetheSummonCommand HowtoUsetheTagCommand HowtoUsetheTakePictureCommand HowtoUsetheTeamCommand HowtoUsetheTeammsgCommand HowtoUsetheTeleportCommand HowtoUsetheTellCommand HowtoUsetheTellRawCommand HowtoUsetheTestForCommand HowtoUsetheTestForBlockCommand HowtoUsetheTestForBlocksCommand HowtoUsetheTickingAreaCommand HowtoUsetheTimeCommand HowtoUsetheTitleCommand HowtoUsetheTitleRawCommand HowtoUsetheTmCommand HowtoUsetheToggleDownfallCommand HowtoUsetheTpCommand HowtoUsetheTriggerCommand HowtoUsetheWCommand HowtoUsetheWbCommand HowtoUsetheWeatherCommand HowtoUsetheWorldBorderCommand HowtoUsetheWorldBuilderCommand HowtoUsetheWSServerCommand HowtoUsetheXpCommand HowtoFindyourXYZCoordinates HowtoKeepInventorywhenyouDie HowtoLimitCraftingtoUnlockedRecipes Shareon: Advertisements Home|AboutUs|ContactUs|Donate Whileusingthissite,youagreetohavereadandacceptedourTermsofServiceandPrivacyPolicy. DigMinecraft.comisnotaffiliatedwithMojang. Copyright©2014-2022DigMinecraft.com.Allrightsreserved.



請為這篇文章評分?