customadvancements/data/textures/ folder and registers them with Minecraft’s resource manager under its own namespace. This means you can use any image as an advancement tab background without building a resource pack — the mod makes the file available as a texture for you.
Folder Location
Place your image files inside thecustomadvancements/ folder in your game directory, under data/textures/:
screenshot.png and logo.png) that the bundled example advancements reference.
Supported File Formats
The following extensions are recognized by the texture loader. Files with any other extension are skipped with a warning in the log.
For the best compatibility and proper transparency support, use
.png.
Referencing a Texture in an Advancement
Textures placed in thedata/textures/ folder are registered under the customadvancements namespace using this format:
my_background.png is therefore referenced as customadvancements:textures/my_background.png.
To use it as an advancement tab background, set the background field in your root advancement’s display object:
customadvancements/customadvancements/root.json
largeBackground, shouldBgClip, and bgRatio — control whether the image is tiled or drawn once, and how it is fitted to the panel. See Backgrounds for what each of them does.
Using Textures from Other Namespaces
You are not limited to files in the Custom Advancements textures folder. Any texture already registered by vanilla Minecraft, a resource pack, or another mod can be used by its own resource location:The mod only warns about a missing texture when the namespace is
customadvancements and no matching file was found in the textures folder. Resource locations in other namespaces are handed straight to Minecraft’s resource manager, so a typo there fails silently as a missing-texture placeholder rather than a log warning.