Replace Achievements with Advancements

- Advancements are now in JSON files, converted by the included migration script.
- WizardryAdvancementTrigger is a generic achievement trigger that can be reused throughout the code to trigger custom advancements not covered by the JSON conditions.
- Plus some other small and obvious fixes.
This commit is contained in:
Philipp Rustemeier
2018-03-14 19:12:13 +01:00
parent 62c2a9e9b8
commit 612bbdb64d
48 changed files with 706 additions and 723 deletions
@@ -1,21 +1,19 @@
{
"display": {
"icon": {
"item": "minecraft:emerald"
},
"title": {
"translate": "achievement.wizard_trade"
},
"description": {
"translate": "achievement.wizard_trade.desc"
},
"frame": "task",
"announce_to_chat": false
},
"parent": "wizardry:arcane_initiate",
"criteria": {
"coded_trigger": {
"trigger": "minecraft:impossible"
}
}
}
"display": {
"title": {
"translate": "achievement.wizard_trade"
},
"description": {
"translate": "achievement.wizard_trade.desc"
},
"icon": {
"item": "minecraft:emerald"
}
},
"parent": "ebwizardry:arcane_initiate",
"criteria": {
"criteria_0": {
"trigger": "ebwizardry:trigger_wizard_trade"
}
}
}