Started by
Block_BoyZ
on
Topic category: Help with Minecraft modding (Java Edition)
I want to create an advancement that has a progress number, such as 5/10. Advancements like Hot Tourist Destination. after a little finiking, I was able to do this, kind of. I went into the code editor and just added more criteria, and this worked; however, it did not show any numbers on the advancement in the advancements screen. Is this possible? I've seen big mods do it, like biomes o' plenty.
Thanks!
{
"display": {
"icon": {
"item": "minecraft:deepslate_bricks"
},
"title": {
"translate": "advancements.test.title"
},
"description": {
"translate": "advancements.test.descr"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"test": {
"trigger": "minecraft:consume_item",
"conditions": {
"item": {
"items": [
"minecraft:apple"
]
}
}
}
},
"criteria": {
"test": {
"trigger": "minecraft:consume_item",
"conditions": {
"item": {
"items": [
"minecraft:golden_apple"
]
}
}
}
},
"parent": "randomadditions:random_additions"
}
So actually I lied and it did not work at all, and only took the first item. Does anyone have any idea on how this is done?