You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java/advancements.md
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Starting in 1.12, achievements, now referred to as "advancements", have become d
65
65
66
66
Advancements have a multitude of options, ranging from triggers based on the player's inventory to what biome they're in. Rewards can optionally be given, such as unlocking a recipe, providing an item, or providing experience. A new command, `/advancement`, has been introduced to supplement the files.
67
67
68
-
Advancements use the [JSON format](http://json.org) to store the advancement information in external files.
68
+
Advancements use the [JSON format](https://json.org) to store the advancement information in external files.
If you no longer have the Game Output window open, you can check the output log. You can quickly access the Minecraft program files in the launcher by navigating to **Launch Options -> + Add New**, and clicking the "Go to folder" button:
From there, navigate to the `/logs/latest.log` file, which will contain the stacktrace. In this case, the error is stating that the advancement has a display, but is missing a description:
Advancements are saved as a datapack in the world folder to be distributed with the world itself, inside the `/datapacks/` folder. Here is an example structure within the world folder, where "New World" is the name of the world folder:
For more information on setting up a data pack (including the creation of the required `pack.meta` file), see [here](https://minecraft.gamepedia.com/Data_pack).
108
108
@@ -183,7 +183,7 @@ Windows Notepad is capable of saving as UTF-8, though will default to ANSI. Inst
Or you can specify formatting for the text using the text component (note that many text component features are unavailable, such as selectors, scores, and event listeners):
591
591
@@ -609,7 +609,7 @@ Or you can specify formatting for the text using the text component (note that m
Or you can specify formatting for the text using the text component (note that many text component features are unavailable, such as selectors, scores, and event listeners):
651
651
@@ -677,7 +677,7 @@ Or you can specify formatting for the text using the text component (note that m
@@ -946,11 +946,11 @@ All rewards can be used at the same time.
946
946
947
947
When an advancement has a [display](#display), it will be shown in the "Advancements" menu under a relevant tab. [Root](#tree-root) advancements will be the "owner" of a tab, with new tabs appearing for each unique root:
Since you can have multiple branches per parent, complex trees can be created. The following image is a segment from the default "story" tab for vanilla Minecraft, showing complex connections between branches:
0 commit comments