Started by
Jacko22
on
Topic category: Help with Minecraft modding (Java Edition)
Just wondering how, if possible, to make more pages of the advancement menu. I want to have my advancements separate from the vanilla ones.
Topic category: Help with Minecraft modding (Java Edition)
Just wondering how, if possible, to make more pages of the advancement menu. I want to have my advancements separate from the vanilla ones.
Yes you can, you can do it by going into the "Resources/Data/{mod name}/advancement" and adding a new json file of a advancement that has no any parent attached to it.
you can use this website to make it easier to make new advancement without going through json creation.
https://misode.github.io/advancement/
also you'll need to have the criteria to be able to get it, without it the player wont be able to unlock the menu for example.
if you want the player to gain it if they place a block, use a "any block use" trigger or if you want the player to have it on the get go then use "tick"
if you want to make advancement that is attached to the menu, just make the id parent to "{mod id}:{the file name of the advancement that you want to connect}"
(do note if you're doing this i think MCreator will not show it as a option for procedures but you can learn how datapacks work)
Thanks!
Wait, a parentless advancement defaults to a new page? I tried that and it just wouldn't show up.
{
"display": {
"icon": {
"id": "chaos__calamity:c_and_c_display"
},
"title": {
"translate": "advancements.bring_the_chaos.title"
},
"description": {
"translate": "advancements.bring_the_chaos.descr"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"bring_the_chaos_0": {
"trigger": "minecraft:impossible"
}
},
"parent": "minecraft:story/root"
}
would I leave the "parent" blank, or remove it entirely?
Can't you just set the advancement's root to "no parent/root" in the element editor? No json editing needed?
yeah i totally forgot there was "no parent/root" in the element editor, i usually mod without mcreator, sorry for the inconvenience.
oh and also usually you would need a background for the advancement page but it looks like MCreator defaults it to "stone"
Is there a place to specify the background?
oh nvm I looked like 2 inches below it.
actually, another question, does anyone know the size of the advancement background? Is it a 16x16 tiled or is it a larger picture?
its tiled
cool