customadvancements/data/textures/ folder and automatically sync them to connecting clients. This means you can use any image on your server as an advancement background without requiring players to install resource packs or additional files — the mod handles the transfer for you.
Folder Location
Place your image files inside thecustomadvancements/ folder in your game directory, under data/textures/:
Supported File Types
The following file extensions are recognized by the texture loader. Files with any other extension are skipped with a warning in the server log.Referencing a Texture in an Advancement
Textures placed in thedata/textures/ folder are registered under the resource location namespace customadvancements, using the format:
my_background.png is accessible as customadvancements:textures/my_background.png.
To use it as an advancement background, set the background field in your advancement JSON with a type of IMAGE or TEXTURE and supply the resource location in the location field:
customadvancements/data/advancements/example_root.json
"type": "IMAGE" for a single scaled image (supports object_fit options such as COVER and CONTAIN), or "type": "TEXTURE" to tile the image at 16×16 pixel intervals — the same behavior as vanilla advancement backgrounds.
See the Background Types reference for the complete list of types, fields, and options available for the background object.