background field on a root advancement decides what is drawn behind the advancement tree in that tab. In this version of Custom Advancements the field is a plain resource location string — exactly the same format vanilla Minecraft uses — and the game renders it with vanilla’s own tiling logic. There are no background types, gradients, or scaling modes to configure here; you point the field at a texture and Minecraft repeats it across the panel.
Using a Vanilla Texture
Reference any texture that ships with Minecraft by its full resource location. The five backgrounds used by the vanilla advancement tabs are the most convenient starting points:
Any texture registered in the game works, including textures added by other mods and by resource packs — the string is passed straight to Minecraft’s texture manager.
Using a Custom Texture
To use your own artwork, place the.png file in customadvancements/data/textures/ and reference it under the customadvancements namespace with a textures/ prefix and the full file name, extension included:
<game directory>/customadvancements/data/textures/logo.png. The mod registers every .png in that folder with the client’s resource manager on startup and on every reload, so no resource pack is needed. logo.png ships with the mod, so the example above works out of the box.
Only
.png files are loaded. Any other file in data/textures/ is skipped with is not a '.png' file, ignoring it! in the log. See Textures for file placement, reload behavior, and multiplayer notes.How the Texture Is Rendered
Minecraft draws advancement backgrounds by tiling the texture in 16×16 pixel blocks across the whole tab panel, repeating it in both directions until the area is filled. It is never stretched or scaled to fit. This has two practical consequences:- Design for tiling. A seamless, repeating texture looks best. Vanilla’s own backgrounds are small tileable images of stone, netherrack, end stone, and so on.
- A large photo will not fill the tab. Only the top-left 16×16 region of any image is used as the tile, so a full screenshot is drawn as a grid of its own top-left corner rather than as one big picture.
[INSERT IMAGE: A root advancement tab showing a custom texture tiled across the panel behind the advancement tree]
Complete Root Advancement
root.json
display object, see Display.