.json file placed inside the customadvancements/ folder in your Minecraft game directory. The mod reads all .json files it finds, validates them, and injects them into every world that loads — no per-world datapack setup required.
Folder Layout
Advancement files must be placed inside a subfolder whose name exactly matches a loaded mod ID. The resource location of the advancement is derived from the file path: a file atcustomadvancements/<modid>/<path>.json becomes the advancement <modid>:<path>.
The mod’s own ID customadvancements is always loaded, making it the safest default namespace for new content. You can also use any other mod ID that is present in the current mod list.
Any subfolder whose name does not match a loaded mod ID is silently skipped with a warning in the log. Always verify that the namespace you choose corresponds to a mod that is actually installed.
customadvancements/customadvancements/story/mine_stone.json becomes customadvancements:story/mine_stone.
Top-Level JSON Fields
object
Controls how the advancement appears in the advancements screen: icon, title, description, frame style, toast, and chat notification. Required for root advancements; technically optional for children, though omitting it hides the advancement from the GUI entirely. See Display for the full list of sub-fields.
string
Resource location of the parent advancement, e.g.
customadvancements:root. Omit this field (or do not include it) to make the advancement a root — it will appear as its own tab in the advancements screen. Every non-root advancement must reference a parent that exists in the loaded advancement set.object
required
A map of criterion names to trigger definitions. Each key is an arbitrary string identifier for the criterion, and the value defines which game event fires it and any conditions that must be met. See Criteria for details and examples.
array of arrays
A two-dimensional array that expresses logical AND/OR combinations of criteria. The outer array is AND; each inner array is OR. If this field is omitted, all criteria must be satisfied.The example above means:
(criterion_a OR criterion_b) AND criterion_c.object
Optional rewards granted when the advancement is completed. Supported sub-fields:
"experience"— integer amount of XP points"loot_tables"— array of loot table resource locations"recipes"— array of recipe resource locations to unlock"function"— resource location of a function to run
Minimal Root Advancement
A root advancement requires noparent field and must include a display block with a background field so the game can render the tab. The minecraft:tick trigger fires every game tick and is the conventional way to make a root advancement complete immediately.
root.json
Minimal Child Advancement
A child advancement links to its parent via theparent field. The resource location must match the namespace and path of the parent file exactly (without the .json extension).
my_advancement.json
display sub-field, see Display. For criteria and trigger definitions, see Criteria.