1
Install the mod
Follow the Installation guide to add Custom Advancements and its dependencies to your Fabric or NeoForge instance for Minecraft 1.21.1.
2
Launch the game once
Start Minecraft at least once with the mod installed. Custom Advancements automatically creates the
customadvancements/ folder inside your game directory on the first run. You can close the game again after reaching the main menu.3
Create the advancement namespace folder
Inside the
customadvancements/ folder that was just created, make a subfolder named customadvancements:The name of this subfolder must exactly match a loaded mod ID. The mod validates every subfolder name against the list of loaded mods and skips any folder whose name does not correspond to a known mod. Using
customadvancements (the mod’s own ID) is always safe and is the recommended namespace when you are creating original advancements rather than overriding another mod’s trees.4
Create the root advancement
A root advancement defines a new tab in the advancements screen. Create the file Key fields to note:
root.json inside the customadvancements/customadvancements/ folder with the following content:root.json
display.icon— the item shown on the tab header. Any valid item ID works.display.title/display.description— usetranslatekeys that you can define in a lang file, or replace them with{"text": "Your Title"}for a hardcoded string.display.background— sets a custom background image for this tab. Remove this field entirely to use the default stone texture, or see Background Types for all options.criteria— root advancements are granted automatically via theminecraft:ticktrigger; the player earns it on the first game tick.
5
Create a child advancement
Child advancements appear as nodes branching off the root inside its tab. Create the file Key fields to note:
example.json in the same folder:example.json
parent— the resource location of the advancement this node connects to. Herecustomadvancements:rootrefers to theroot.jsonfile you created in the previous step. The format is<namespace>:<path>where the path mirrors the file path relative to the namespace folder, without the.jsonextension.frame— controls the border shape of the advancement icon in the screen. Valid values aretask,goal, andchallenge.criteria— this advancement is granted when the player picks up dirt. Replace the trigger and conditions to match whatever goal you have in mind.
6
Load the game and open advancements
Launch Minecraft (or, if the game is already running on a server, run the vanilla
/reload command to pick up changes to the customadvancements/ folder without restarting). Once in a world, press L to open the advancements screen. A new tab labelled with your root advancement’s title should appear alongside the vanilla tabs.If the tab does not appear, check the game log for lines beginning with [Custom Advancements] — the most common causes are a misspelled folder name (not matching a loaded mod ID) or malformed JSON syntax in one of your files. See Common Issues for more.[INSERT IMAGE: The new root advancement tab visible in the advancements screen, next to the vanilla tabs]